public class PipelineModel extends Model<PipelineModel> implements Logging
| Constructor and Description |
|---|
PipelineModel(Pipeline parent,
ParamMap fittingParamMap,
Transformer[] stages) |
| Modifier and Type | Method and Description |
|---|---|
ParamMap |
fittingParamMap()
Fitting parameters, such that parent.fit(..., fittingParamMap) could reproduce the model.
|
<M extends Model<M>> |
getModel(Estimator<M> stage)
Gets the model produced by the input estimator.
|
Pipeline |
parent()
The parent estimator that produced this model.
|
Transformer[] |
stages() |
DataFrame |
transform(DataFrame dataset,
ParamMap paramMap)
Transforms the dataset with provided parameter map as additional parameters.
|
StructType |
transformSchema(StructType schema,
ParamMap paramMap)
:: DeveloperApi ::
|
transform, transformequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitializeIfNecessary, initializeLogging, isTraceEnabled, log_, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarningaddOutputColumn, checkInputColumn, explainParams, get, getParam, isSet, paramMap, params, set, set, validate, validateuidpublic PipelineModel(Pipeline parent, ParamMap fittingParamMap, Transformer[] stages)
public Pipeline parent()
Modelparent in class Model<PipelineModel>public ParamMap fittingParamMap()
ModelfittingParamMap in class Model<PipelineModel>public Transformer[] stages()
public <M extends Model<M>> M getModel(Estimator<M> stage)
public DataFrame transform(DataFrame dataset, ParamMap paramMap)
Transformertransform in class Transformerdataset - input datasetparamMap - additional parameters, overwrite embedded paramspublic StructType transformSchema(StructType schema, ParamMap paramMap)
PipelineStageDerives the output schema from the input schema and parameters. The schema describes the columns and types of the data.
transformSchema in class PipelineStageschema - Input schema to this stageparamMap - Parameters passed to this stage