Package org.apache.spark.ml.regression
Class RegressionModel<FeaturesType,M extends RegressionModel<FeaturesType,M>>
Object
org.apache.spark.ml.PipelineStage
org.apache.spark.ml.Transformer
org.apache.spark.ml.Model<M>
org.apache.spark.ml.PredictionModel<FeaturesType,M>
org.apache.spark.ml.regression.RegressionModel<FeaturesType,M>
- Type Parameters:
FeaturesType
- Type of input features. E.g.,Vector
M
- Concrete Model type.
- All Implemented Interfaces:
Serializable
,org.apache.spark.internal.Logging
,Params
,HasFeaturesCol
,HasLabelCol
,HasPredictionCol
,PredictorParams
,Identifiable
- Direct Known Subclasses:
AFTSurvivalRegressionModel
,DecisionTreeRegressionModel
,FMRegressionModel
,GBTRegressionModel
,GeneralizedLinearRegressionModel
,LinearRegressionModel
,RandomForestRegressionModel
public abstract class RegressionModel<FeaturesType,M extends RegressionModel<FeaturesType,M>>
extends PredictionModel<FeaturesType,M>
implements PredictorParams
Model produced by a
Regressor
.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.spark.internal.Logging
org.apache.spark.internal.Logging.LogStringContext, org.apache.spark.internal.Logging.SparkShellLoggingFilter
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.spark.ml.PredictionModel
featuresCol, labelCol, numFeatures, predict, predictionCol, setFeaturesCol, setPredictionCol, transform, transformSchema
Methods inherited from class org.apache.spark.ml.Transformer
transform, transform, transform
Methods inherited from class org.apache.spark.ml.PipelineStage
params
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.spark.ml.param.shared.HasFeaturesCol
featuresCol, getFeaturesCol
Methods inherited from interface org.apache.spark.ml.param.shared.HasLabelCol
getLabelCol, labelCol
Methods inherited from interface org.apache.spark.ml.param.shared.HasPredictionCol
getPredictionCol, predictionCol
Methods inherited from interface org.apache.spark.ml.util.Identifiable
toString, uid
Methods inherited from interface org.apache.spark.internal.Logging
initializeForcefully, initializeLogIfNecessary, initializeLogIfNecessary, initializeLogIfNecessary$default$2, isTraceEnabled, log, logDebug, logDebug, logDebug, logDebug, logError, logError, logError, logError, logInfo, logInfo, logInfo, logInfo, logName, LogStringContext, logTrace, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, logWarning, org$apache$spark$internal$Logging$$log_, org$apache$spark$internal$Logging$$log__$eq, withLogContext
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
Methods inherited from interface org.apache.spark.ml.PredictorParams
validateAndTransformSchema
-
Constructor Details
-
RegressionModel
public RegressionModel()
-