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 Summary
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
-
foldCol
Param for the column name of user specified fold number. Once this is specified,CrossValidator
won'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)
-
getFoldCol
String getFoldCol() -
getNumFolds
int getNumFolds() -
numFolds
IntParam numFolds()Param for number of folds for cross validation. Must be >= 2. Default: 3- Returns:
- (undocumented)
-