public interface CrossValidatorParams extends ValidatorParams
CrossValidator
and CrossValidatorModel
.Modifier and Type | Method and Description |
---|---|
Param<String> |
foldCol()
Param for the column name of user specified fold number.
|
String |
getFoldCol() |
int |
getNumFolds() |
IntParam |
numFolds()
Param for number of folds for cross validation.
|
estimator, estimatorParamMaps, evaluator, getEstimator, getEstimatorParamMaps, getEvaluator, logTuningParams, transformSchemaImpl
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
toString, uid
Param<String> foldCol()
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.String getFoldCol()
int getNumFolds()
IntParam numFolds()