Skip to content
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

Proper UID for Raw Feature Filter #276

Merged
merged 1 commit into from
Apr 10, 2019
Merged

Proper UID for Raw Feature Filter #276

merged 1 commit into from
Apr 10, 2019

Conversation

tovbinm
Copy link
Collaborator

@tovbinm tovbinm commented Apr 10, 2019

Related issues
RFF has an invalid UID

Describe the proposed solution
Proper UID for Raw Feature Filter

@clin-projects
Copy link
Contributor

LGTM!

Copy link
Contributor

@clin-projects clin-projects left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@tovbinm tovbinm merged commit 0bab1d4 into master Apr 10, 2019
@tovbinm tovbinm deleted the mt/rff-uid branch April 10, 2019 21:25
@codecov
Copy link

codecov bot commented Apr 10, 2019

Codecov Report

Merging #276 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff            @@
##           master     #276    +/-   ##
========================================
  Coverage   86.39%   86.39%            
========================================
  Files         319      319            
  Lines       10440    10440            
  Branches      349      544   +195     
========================================
  Hits         9020     9020            
  Misses       1420     1420
Impacted Files Coverage Δ
...a/com/salesforce/op/filters/RawFeatureFilter.scala 92.85% <100%> (+0.07%) ⬆️
...alesforce/op/filters/RawFeatureFilterResults.scala 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7d6ec61...35a2658. Read the comment docs.

@@ -592,6 +592,9 @@ object RawFeatureFilter {
// scoring sets since they will not be reliable. Currently, this is set to the same as the minimum training size.
val minScoringRowsDefault = 500

val stageName = classOf[RawFeatureFilter[_]].getSimpleName

val uid = s"${stageName}_100000000000"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not use the UID method?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess it's better to have it be the same (!?) not important really, since there is only one.

@tovbinm tovbinm mentioned this pull request Apr 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants