Package org.apache.spark.ml.param.shared
Interface HasFitIntercept
- All Superinterfaces:
Identifiable
,Params
,Serializable
- All Known Subinterfaces:
AFTSurvivalRegressionParams
,FactorizationMachines
,FactorizationMachinesParams
,FMClassifierParams
,FMRegressorParams
,GeneralizedLinearRegressionBase
,LinearRegressionParams
,LinearSVCParams
,LogisticRegressionParams
- All Known Implementing Classes:
AFTSurvivalRegression
,AFTSurvivalRegressionModel
,FMClassificationModel
,FMClassifier
,FMRegressionModel
,FMRegressor
,GeneralizedLinearRegression
,GeneralizedLinearRegressionModel
,LinearRegression
,LinearRegressionModel
,LinearSVC
,LinearSVCModel
,LogisticRegression
,LogisticRegressionModel
Trait for shared param fitIntercept (default: true). This trait may be changed or
removed between minor versions.
-
Method Summary
Modifier and TypeMethodDescriptionParam for whether to fit an intercept term.boolean
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
-
fitIntercept
BooleanParam fitIntercept()Param for whether to fit an intercept term.- Returns:
- (undocumented)
-
getFitIntercept
boolean getFitIntercept()
-