-
Notifications
You must be signed in to change notification settings - Fork 681
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
[spark] Add more text predictors #2443
Conversation
/** @inheritdoc */ | ||
override def transform(dataset: Dataset[_]): DataFrame = { | ||
model = new ModelLoader[A, B]($(engine), $(modelUrl), $(inputClass), $(outputClass)) | ||
model = new ModelLoader[A, B]($(engine), $(modelUrl), $(inputClass), $(outputClass), $(translator), $(translatorFactory), $(tokenizer)) |
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.
- I think Tokenizer should be a member of transaltorFactory.
- Let's only expose translatorFactory for now, it's a bit confusing have both translator and translatorFactory
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.
Changed.
Codecov ReportPatch coverage:
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more Additional details and impacted files@@ Coverage Diff @@
## master #2443 +/- ##
============================================
+ Coverage 72.08% 74.01% +1.92%
- Complexity 5126 6802 +1676
============================================
Files 473 672 +199
Lines 21970 29679 +7709
Branches 2351 3062 +711
============================================
+ Hits 15838 21967 +6129
- Misses 4925 6225 +1300
- Partials 1207 1487 +280
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
@@ -0,0 +1,49 @@ | |||
///* |
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.
why we leave a file with full comments?
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.
Checked in by mistake. Removed
d3ee098
to
4fe0ddf
Compare
Description
Brief description of what this PR is about
Add more text predictors