-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Added tests for text featurizer options (Part1). #3006
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3006 +/- ##
==========================================
+ Coverage 72.39% 72.45% +0.06%
==========================================
Files 803 803
Lines 143590 143837 +247
Branches 16164 16173 +9
==========================================
+ Hits 103946 104222 +276
+ Misses 35225 35199 -26
+ Partials 4419 4416 -3
|
new TestClass() { A = "No stop words", OutputText=null } }; | ||
var dataView = ML.Data.LoadFromEnumerable(data); | ||
|
||
var options = new TextFeaturizingEstimator.Options() { StopWordsRemoverOptions = new StopWordsRemovingEstimator.Options(), OutputTokens = true }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OutputTokens [](start = 135, length = 12)
You need to merge master in your code. #Resolved
private class TestClass | ||
{ | ||
public string A; | ||
[ColumnName("OutputText_TransformedText")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OutputText_TransformedText [](start = 25, length = 26)
You can give it name without _
after merge with master. #Resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR partially address #2967. See the following list. Further tests will be added in the next PR.
Test created for following parameters in options class