You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What did you do?
I want to convert a text classification sample from ML 0.4 to ML 0.11
What happened?
I cannot find equivalent parameters for TextFeaturizer, there are no CharFeatureExtractor and WordFeatureExtractor NgramExtractors in 0.11 Transforms.Text.FeaturizeText arguments
I see that CharFeatureExtractor and WordFeatureExtractor parameters are gone, and instead two we have boolean properties, UseWordExtractor and UseCharExtractor.
The models trained using the above code and the same train data perform differently, namly the 0.4 version has a better classsification performace.
How do I configure a pipeline to achieve the same results as in 0.4 version?
Thank you!
The text was updated successfully, but these errors were encountered:
You are correct -- there is no way to do this in 0.11. We have since filed a bug #2802, along with a fix that was merged a few days ago (#2911). This will be available in our next release and should provide the same functionality that you are looking for.
System information
Issue
What did you do?
I want to convert a text classification sample from ML 0.4 to ML 0.11
What happened?
I cannot find equivalent parameters for TextFeaturizer, there are no CharFeatureExtractor and WordFeatureExtractor NgramExtractors in 0.11 Transforms.Text.FeaturizeText arguments
What did you expect?
Source code / logs
0.4 version
0.11 version
I see that CharFeatureExtractor and WordFeatureExtractor parameters are gone, and instead two we have boolean properties, UseWordExtractor and UseCharExtractor.
The models trained using the above code and the same train data perform differently, namly the 0.4 version has a better classsification performace.
How do I configure a pipeline to achieve the same results as in 0.4 version?
Thank you!
The text was updated successfully, but these errors were encountered: