You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Param for Thresholds in multi-class classification to adjust the probability of predicting each class. Array must have length equal to the number of classes, with values >= 0. The class with largest value p/t is predicted, where p is the original probability of that class and t is the class' threshold..
179
+
* Param for Thresholds in multi-class classification to adjust the probability of predicting each class. Array must have length equal to the number of classes, with values >= 0. The class with largest value p/t is predicted, where p is the original probability of that class and t is the class' threshold.
180
180
* @group param
181
181
*/
182
-
finalvalthresholds:DoubleArrayParam=newDoubleArrayParam(this, "thresholds", "Thresholds in multi-class classification to adjust the probability of predicting each class. Array must have length equal to the number of classes, with values >= 0. The class with largest value p/t is predicted, where p is the original probability of that class and t is the class' threshold.", (t: Array[Double]) => t.forall(_ >=0))
182
+
finalvalthresholds:DoubleArrayParam=newDoubleArrayParam(this, "thresholds", "Thresholds in multi-class classification to adjust the probability of predicting each class. Array must have length equal to the number of classes, with values >= 0. The class with largest value p/t is predicted, where p is the original probability of that class and t is the class' threshold", (t: Array[Double]) => t.forall(_ >=0))
* Param for how to handle invalid entries. Options are skip (which will filter out rows with bad values), or error (which will throw an errror). More options may be added later..
273
+
* Param for how to handle invalid entries. Options are skip (which will filter out rows with bad values), or error (which will throw an errror). More options may be added later.
274
274
* @group param
275
275
*/
276
-
finalvalhandleInvalid:Param[String] =newParam[String](this, "handleInvalid", "how to handle invalid entries. Options are skip (which will filter out rows with bad values), or error (which will throw an errror). More options may be added later.", ParamValidators.inArray(Array("skip", "error")))
276
+
finalvalhandleInvalid:Param[String] =newParam[String](this, "handleInvalid", "how to handle invalid entries. Options are skip (which will filter out rows with bad values), or error (which will throw an errror). More options may be added later", ParamValidators.inArray(Array("skip", "error")))
* Param for weight column name. If this is not set or empty, we treat all instance weights as 1.0..
367
+
* Param for weight column name. If this is not set or empty, we treat all instance weights as 1.0.
368
368
* @group param
369
369
*/
370
-
finalvalweightCol:Param[String] =newParam[String](this, "weightCol", "weight column name. If this is not set or empty, we treat all instance weights as 1.0.")
370
+
finalvalweightCol:Param[String] =newParam[String](this, "weightCol", "weight column name. If this is not set or empty, we treat all instance weights as 1.0")
* Param for the solver algorithm for optimization. If this is not set or empty, default value is 'auto'..
382
+
* Param for the solver algorithm for optimization. If this is not set or empty, default value is 'auto'.
383
383
* @group param
384
384
*/
385
-
finalvalsolver:Param[String] =newParam[String](this, "solver", "the solver algorithm for optimization. If this is not set or empty, default value is 'auto'.")
385
+
finalvalsolver:Param[String] =newParam[String](this, "solver", "the solver algorithm for optimization. If this is not set or empty, default value is 'auto'")
0 commit comments