-
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
Improved OpScalarStandardScalerTest #317
Conversation
Codecov Report
@@ Coverage Diff @@
## master #317 +/- ##
========================================
Coverage 86.51% 86.51%
========================================
Files 325 325
Lines 10581 10581
Branches 349 565 +216
========================================
Hits 9154 9154
Misses 1427 1427 Continue to review full report at Codecov.
|
|
||
// create the feature to which the normalizer transformer will be applied | ||
val someNumericFeature = FeatureBuilder.RealNN[StdScTestData].extract(_.someNumericFeature.toRealNN).asPredictor | ||
|
||
lazy val testData: Dataset[StdScTestData] = DataStdScTest.input.toDS() | ||
|
||
Spec[OpScalarStandardScaler] should |
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.
use it
instead of Spec[OpScalarStandardScaler]
|
||
// create the feature to which the normalizer transformer will be applied | ||
val someNumericFeature = FeatureBuilder.RealNN[StdScTestData].extract(_.someNumericFeature.toRealNN).asPredictor | ||
|
||
lazy val testData: Dataset[StdScTestData] = DataStdScTest.input.toDS() |
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.
so why not replace with TestFeatureBuilder
?
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, some minor comments
….com:salesforce/TransmogrifAI into ks/improved-tests-OpScalarStandardScalerTest
Improved OpScalarStandardScalerTest by extending OpEstimatorSpec