public abstract class Estimator<M extends Model<M>> extends PipelineStage implements Params
Constructor and Description |
---|
Estimator() |
Modifier and Type | Method and Description |
---|---|
M |
fit(JavaSchemaRDD dataset,
ParamMap paramMap)
Fits a single model to the input data with provided parameter map.
|
java.util.List<M> |
fit(JavaSchemaRDD dataset,
ParamMap[] paramMaps)
Fits multiple models to the input data with multiple sets of parameters.
|
M |
fit(JavaSchemaRDD dataset,
ParamPair<?>... paramPairs)
Fits a single model to the input data with optional parameters.
|
M |
fit(JavaSchemaRDD dataset,
scala.collection.Seq<ParamPair<?>> paramPairs)
Fits a single model to the input data with optional parameters.
|
abstract M |
fit(SchemaRDD dataset,
ParamMap paramMap)
Fits a single model to the input data with provided parameter map.
|
scala.collection.Seq<M> |
fit(SchemaRDD dataset,
ParamMap[] paramMaps)
Fits multiple models to the input data with multiple sets of parameters.
|
M |
fit(SchemaRDD dataset,
ParamPair<?>... paramPairs)
Fits a single model to the input data with optional parameters.
|
M |
fit(SchemaRDD dataset,
scala.collection.Seq<ParamPair<?>> paramPairs)
Fits a single model to the input data with optional parameters.
|
transformSchema
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
explainParams, get, getParam, isSet, paramMap, params, set, validate, validate
uid
initializeIfNecessary, initializeLogging, isTraceEnabled, log_, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning
public M fit(SchemaRDD dataset, ParamPair<?>... paramPairs)
dataset
- input datasetparamPairs
- optional list of param pairs (overwrite embedded params)public M fit(JavaSchemaRDD dataset, ParamPair<?>... paramPairs)
dataset
- input datasetparamPairs
- optional list of param pairs (overwrite embedded params)public M fit(SchemaRDD dataset, scala.collection.Seq<ParamPair<?>> paramPairs)
dataset
- input datasetparamPairs
- optional list of param pairs (overwrite embedded params)public abstract M fit(SchemaRDD dataset, ParamMap paramMap)
dataset
- input datasetparamMap
- parameter mappublic scala.collection.Seq<M> fit(SchemaRDD dataset, ParamMap[] paramMaps)
dataset
- input datasetparamMaps
- an array of parameter mapspublic M fit(JavaSchemaRDD dataset, scala.collection.Seq<ParamPair<?>> paramPairs)
dataset
- input datasetparamPairs
- optional list of param pairs (overwrite embedded params)public M fit(JavaSchemaRDD dataset, ParamMap paramMap)
dataset
- input datasetparamMap
- parameter mappublic java.util.List<M> fit(JavaSchemaRDD dataset, ParamMap[] paramMaps)
dataset
- input datasetparamMaps
- an array of parameter maps