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

public interface HasWeightCol extends Params
Trait for shared param weightCol. This trait may be changed or removed between minor versions.
  • Method Details

    • getWeightCol

      String getWeightCol()
    • weightCol

      Param<String> weightCol()
      Param for weight column name. If this is not set or empty, we treat all instance weights as 1.0.
      Returns:
      (undocumented)