Package org.apache.spark.ml.param.shared
Interface HasWeightCol
- All Superinterfaces:
Identifiable
,Params
,Serializable
,scala.Serializable
- All Known Subinterfaces:
BisectingKMeansParams
,DecisionTreeClassifierParams
,DecisionTreeParams
,DecisionTreeRegressorParams
,FactorizationMachines
,FactorizationMachinesParams
,FMClassifierParams
,FMRegressorParams
,GaussianMixtureParams
,GBTClassifierParams
,GBTParams
,GBTRegressorParams
,GeneralizedLinearRegressionBase
,IsotonicRegressionBase
,KMeansParams
,LinearRegressionParams
,LinearSVCParams
,LogisticRegressionParams
,NaiveBayesParams
,OneVsRestParams
,PowerIterationClusteringParams
,RandomForestClassifierParams
,RandomForestParams
,RandomForestRegressorParams
,TreeEnsembleClassifierParams
,TreeEnsembleParams
,TreeEnsembleRegressorParams
- All Known Implementing Classes:
BinaryClassificationEvaluator
,BisectingKMeans
,BisectingKMeansModel
,ClusteringEvaluator
,DecisionTreeClassificationModel
,DecisionTreeClassifier
,DecisionTreeRegressionModel
,DecisionTreeRegressor
,FMClassificationModel
,FMClassifier
,FMRegressionModel
,FMRegressor
,GaussianMixture
,GaussianMixtureModel
,GBTClassificationModel
,GBTClassifier
,GBTRegressionModel
,GBTRegressor
,GeneralizedLinearRegression
,GeneralizedLinearRegressionModel
,IsotonicRegression
,IsotonicRegressionModel
,KMeans
,KMeansModel
,LinearRegression
,LinearRegressionModel
,LinearSVC
,LinearSVCModel
,LogisticRegression
,LogisticRegressionModel
,MulticlassClassificationEvaluator
,NaiveBayes
,NaiveBayesModel
,OneVsRest
,OneVsRestModel
,PowerIterationClustering
,RandomForestClassificationModel
,RandomForestClassifier
,RandomForestRegressionModel
,RandomForestRegressor
,RegressionEvaluator
Trait for shared param weightCol. This trait may be changed or
removed between minor versions.
-
Method Summary
Modifier and TypeMethodDescriptionParam for weight column name.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
-
getWeightCol
String getWeightCol() -
weightCol
Param for weight column name. If this is not set or empty, we treat all instance weights as 1.0.- Returns:
- (undocumented)
-