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 SummaryModifier and TypeMethodDescriptiondoubleParam for ratio between train and validation data.Methods inherited from interface org.apache.spark.ml.util.IdentifiabletoString, uidMethods inherited from interface org.apache.spark.ml.param.Paramsclear, copy, copyValues, defaultCopy, defaultParamMap, estimateMatadataSize, explainParam, explainParams, extractParamMap, extractParamMap, get, getDefault, getOrDefault, getParam, hasDefault, hasParam, isDefined, isSet, onParamChange, paramMap, params, set, set, set, setDefault, setDefault, shouldOwnMethods inherited from interface org.apache.spark.ml.tuning.ValidatorParamsestimator, estimatorParamMaps, evaluator, getEstimator, getEstimatorParamMaps, getEvaluator, logTuningParams, transformSchemaImpl
- 
Method Details- 
getTrainRatiodouble getTrainRatio()
- 
trainRatioDoubleParam trainRatio()Param for ratio between train and validation data. Must be between 0 and 1. Default: 0.75- Returns:
- (undocumented)
 
 
-