public abstract class Estimator<M extends Model<M>> extends PipelineStage
| Constructor and Description | 
|---|
| Estimator() | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract Estimator<M> | copy(ParamMap extra)Creates a copy of this instance with the same UID and some extra params. | 
| abstract M | fit(Dataset<?> dataset)Fits a model to the input data. | 
| M | fit(Dataset<?> dataset,
   ParamMap paramMap)Fits a single model to the input data with provided parameter map. | 
| M | fit(Dataset<?> dataset,
   ParamPair<?> firstParamPair,
   ParamPair<?>... otherParamPairs)Fits a single model to the input data with optional parameters. | 
| M | fit(Dataset<?> dataset,
   ParamPair<?> firstParamPair,
   scala.collection.Seq<ParamPair<?>> otherParamPairs)Fits a single model to the input data with optional parameters. | 
| scala.collection.Seq<M> | fit(Dataset<?> dataset,
   scala.collection.Seq<ParamMap> paramMaps)Fits multiple models to the input data with multiple sets of parameters. | 
params, transformSchemaequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclear, copyValues, defaultCopy, explainParam, explainParams, extractParamMap, extractParamMap, get, getDefault, getOrDefault, getParam, hasDefault, hasParam, isDefined, isSet, onParamChange, set, set, set, setDefault, setDefault, shouldOwntoString, uid$init$, initializeForcefully, initializeLogIfNecessary, initializeLogIfNecessary, initializeLogIfNecessary$default$2, initLock, isTraceEnabled, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning, org$apache$spark$internal$Logging$$log__$eq, org$apache$spark$internal$Logging$$log_, uninitializepublic abstract Estimator<M> copy(ParamMap extra)
ParamsdefaultCopy().copy in interface Paramscopy in class PipelineStageextra - (undocumented)public M fit(Dataset<?> dataset, ParamPair<?> firstParamPair, ParamPair<?>... otherParamPairs)
dataset - input datasetfirstParamPair - the first param pair, overrides embedded paramsotherParamPairs - other param pairs.  These values override any specified in this
                        Estimator's embedded ParamMap.public M fit(Dataset<?> dataset, ParamPair<?> firstParamPair, scala.collection.Seq<ParamPair<?>> otherParamPairs)
dataset - input datasetfirstParamPair - the first param pair, overrides embedded paramsotherParamPairs - other param pairs.  These values override any specified in this
                        Estimator's embedded ParamMap.public M fit(Dataset<?> dataset, ParamMap paramMap)
dataset - input datasetparamMap - Parameter map.
                 These values override any specified in this Estimator's embedded ParamMap.public abstract M fit(Dataset<?> dataset)
dataset - (undocumented)public scala.collection.Seq<M> fit(Dataset<?> dataset, scala.collection.Seq<ParamMap> paramMaps)
dataset - input datasetparamMaps - An array of parameter maps.
                  These values override any specified in this Estimator's embedded ParamMap.