Package org.apache.spark.ml.tuning
Interface ValidatorParams
- All Superinterfaces:
HasSeed
,Identifiable
,Params
,Serializable
,scala.Serializable
- All Known Subinterfaces:
CrossValidatorParams
,TrainValidationSplitParams
- All Known Implementing Classes:
CrossValidator
,CrossValidatorModel
,TrainValidationSplit
,TrainValidationSplitModel
Common params for
TrainValidationSplitParams
and CrossValidatorParams
.-
Method Summary
Modifier and TypeMethodDescriptionparam for the estimator to be validatedparam for estimator param mapsparam for the evaluator used to select hyper-parameters that maximize the validated metricEstimator<?>
ParamMap[]
void
logTuningParams
(org.apache.spark.ml.util.Instrumentation instrumentation) Instrumentation logging for tuning params including the inner estimator and evaluator info.transformSchemaImpl
(StructType schema) 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
-
Method Details
-
estimator
param for the estimator to be validated- Returns:
- (undocumented)
-
getEstimator
Estimator<?> getEstimator() -
estimatorParamMaps
param for estimator param maps- Returns:
- (undocumented)
-
getEstimatorParamMaps
ParamMap[] getEstimatorParamMaps() -
evaluator
param for the evaluator used to select hyper-parameters that maximize the validated metric- Returns:
- (undocumented)
-
getEvaluator
Evaluator getEvaluator() -
transformSchemaImpl
-
logTuningParams
void logTuningParams(org.apache.spark.ml.util.Instrumentation instrumentation) Instrumentation logging for tuning params including the inner estimator and evaluator info.- Parameters:
instrumentation
- (undocumented)
-