Package org.apache.spark.ml.tuning
Interface TrainValidationSplitParams
- All Superinterfaces:
HasSeed
,Identifiable
,Params
,Serializable
,ValidatorParams
- All Known Implementing Classes:
TrainValidationSplit
,TrainValidationSplitModel
Params for
TrainValidationSplit
and TrainValidationSplitModel
.-
Method Summary
Modifier and TypeMethodDescriptiondouble
Param for ratio between train and validation data.Methods inherited from interface org.apache.spark.ml.util.Identifiable
toString, uid
Methods inherited from interface org.apache.spark.ml.param.Params
clear, copy, copyValues, defaultCopy, defaultParamMap, explainParam, explainParams, extractParamMap, extractParamMap, get, getDefault, getOrDefault, getParam, hasDefault, hasParam, isDefined, isSet, onParamChange, paramMap, params, set, set, set, setDefault, setDefault, shouldOwn
Methods inherited from interface org.apache.spark.ml.tuning.ValidatorParams
estimator, estimatorParamMaps, evaluator, getEstimator, getEstimatorParamMaps, getEvaluator, logTuningParams, transformSchemaImpl
-
Method Details
-
getTrainRatio
double getTrainRatio() -
trainRatio
DoubleParam trainRatio()Param for ratio between train and validation data. Must be between 0 and 1. Default: 0.75- Returns:
- (undocumented)
-