-
Notifications
You must be signed in to change notification settings - Fork 393
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
allow result features to be removed by raw feature filter #458
Conversation
Codecov Report
@@ Coverage Diff @@
## master #458 +/- ##
=========================================
Coverage ? 86.95%
=========================================
Files ? 340
Lines ? 11428
Branches ? 363
=========================================
Hits ? 9937
Misses ? 1491
Partials ? 0
Continue to review full report at Codecov.
|
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.
Lgtm
@@ -534,8 +549,10 @@ class OpWorkflow(val uid: String = UID[OpWorkflow]) extends OpWorkflowCore { | |||
protectedJSFeatures: Array[OPFeature] = Array.empty, | |||
textBinsFormula: (Summary, Int) => Int = RawFeatureFilter.textBinsFormula, | |||
timePeriod: Option[TimePeriod] = None, | |||
minScoringRows: Int = RawFeatureFilter.minScoringRowsDefault | |||
minScoringRows: Int = RawFeatureFilter.minScoringRowsDefault, | |||
finalFeatureRetentionPolicy: ResultFeatureRetention = ResultFeatureRetention.Strict |
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.
Rename finalFeatureRetentionPolicy to resultFeatureRetentionPolicy
Related issues
Result features removed by raw feature filter throw an error, but sometimes we wish to allow them to be removed.
Describe the proposed solution
Created a flag that allows removal of result features by raw feature filter
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context about the changes here.