add image featurizer to AutoFeaturizer - #6261
Merged
michaelgsharp merged 3 commits intoAug 2, 2022
Merged
Conversation
28 tasks
Codecov Report
@@ Coverage Diff @@
## main #6261 +/- ##
==========================================
- Coverage 68.39% 68.38% -0.02%
==========================================
Files 1141 1144 +3
Lines 244820 244885 +65
Branches 25405 25405
==========================================
+ Hits 167444 167460 +16
- Misses 70722 70772 +50
+ Partials 6654 6653 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
|
| return new SweepableEstimator[] { SweepableEstimatorFactory.CreateOneHotEncoding(option), SweepableEstimatorFactory.CreateOneHotHashEncoding(option) }; | ||
| } | ||
|
|
||
| internal MultiModelPipeline ImagePathFeaturizer(string outputColumnName, string inputColumnName) |
Contributor
There was a problem hiding this comment.
Are you planning on adding support for having a folder and not just an image column?
Member
Author
There was a problem hiding this comment.
Not for now, this only support full image path
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We are excited to review your PR.
So we can do the best job, please check:
Fixes #nnnnin your description to cause GitHub to automatically close the issue(s) when your PR is merged.This PR adds featurizer for image path. When there's a column, or multiple columns that are referred as image path, a set of estimators with search space will be added for those columns which featurizes image using one of DNN featurizers (ResNet18, ResNet50, AlexNet...)
The initial idea comes from @justinormont, which is a great cross-platform solution to leverage automl in image classification, and can be a more efficient way compared with deep learning, especially on small datasets.
The estimators that use to featurize images are
which transfers an image into a numeric feature array for classifiers to learn and transform.
And while training, the search space from those estimators will be added to the global search space and will be optimized by the selected tuner