Package org.apache.spark.ml.tuning
Interface CrossValidatorParams
- All Superinterfaces:
- HasSeed,- Identifiable,- Params,- Serializable,- ValidatorParams
- All Known Implementing Classes:
- CrossValidator,- CrossValidatorModel
Params for 
CrossValidator and CrossValidatorModel.- 
Method SummaryMethods 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- 
foldColParam for the column name of user specified fold number. Once this is specified,CrossValidatorwon't do random k-fold split. Note that this column should be integer type with range [0, numFolds) and Spark will throw exception on out-of-range fold numbers.- Returns:
- (undocumented)
 
- 
getFoldColString getFoldCol()
- 
getNumFoldsint getNumFolds()
- 
numFoldsIntParam numFolds()Param for number of folds for cross validation. Must be >= 2. Default: 3- Returns:
- (undocumented)
 
 
-