-
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
Add default param grid for xgboost #175
Conversation
@kinfaikan please add xgboost to model selector enums and tests |
… into kk/xgbParamGrid
@@ -101,13 +101,15 @@ class BinaryClassificationModelSelectorTest extends FlatSpec with TestSparkConte | |||
|
|||
Spec(BinaryClassificationModelSelector.getClass) should "properly select models to try" in { | |||
val modelSelector = BinaryClassificationModelSelector | |||
.withCrossValidation(modelTypesToUse = Seq(BMT.OpLogisticRegression, BMT.OpRandomForestClassifier)) | |||
.setInput(label.asInstanceOf[Feature[RealNN]], features) | |||
.withCrossValidation( |
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.
@kinfaikan please mixin OpXGBoostQuietLogging
trait into tests to avoid unnecessary logging.
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
Codecov Report
@@ Coverage Diff @@
## master #175 +/- ##
===========================================
+ Coverage 68.93% 86.28% +17.35%
===========================================
Files 305 305
Lines 9967 9977 +10
Branches 336 548 +212
===========================================
+ Hits 6871 8609 +1738
+ Misses 3096 1368 -1728
Continue to review full report at Codecov.
|
Related issues
XGBoost does not have default param grid.
Describe the proposed solution
XGBoost has quite many hyperparameters. Consider only
numRound
,eta
,maxDepth
, andminChildWeight
in default param grid.Describe alternatives you've considered
NA
Additional context
NA