|
Synapseml
0.10.0
|
LightGBMClassificationModel implements LightGBMClassificationModel More...


Public Member Functions | |
| LightGBMClassificationModel () | |
| Creates a LightGBMClassificationModel without any parameters. More... | |
| LightGBMClassificationModel (string uid) | |
| Creates a LightGBMClassificationModel with a UID that is used to give the LightGBMClassificationModel a unique ID. More... | |
| LightGBMClassificationModel | SetActualNumClasses (int value) |
| Sets value for actualNumClasses More... | |
| LightGBMClassificationModel | SetFeaturesCol (string value) |
| Sets value for featuresCol More... | |
| LightGBMClassificationModel | SetFeaturesShapCol (string value) |
| Sets value for featuresShapCol More... | |
| LightGBMClassificationModel | SetLabelCol (string value) |
| Sets value for labelCol More... | |
| LightGBMClassificationModel | SetLeafPredictionCol (string value) |
| Sets value for leafPredictionCol More... | |
| LightGBMClassificationModel | SetLightGBMBooster (LightGBMBooster value) |
| Sets value for lightGBMBooster More... | |
| LightGBMClassificationModel | SetNumIterations (int value) |
| Sets value for numIterations More... | |
| LightGBMClassificationModel | SetPredictDisableShapeCheck (bool value) |
| Sets value for predictDisableShapeCheck More... | |
| LightGBMClassificationModel | SetPredictionCol (string value) |
| Sets value for predictionCol More... | |
| LightGBMClassificationModel | SetProbabilityCol (string value) |
| Sets value for probabilityCol More... | |
| LightGBMClassificationModel | SetRawPredictionCol (string value) |
| Sets value for rawPredictionCol More... | |
| LightGBMClassificationModel | SetStartIteration (int value) |
| Sets value for startIteration More... | |
| LightGBMClassificationModel | SetThresholds (double[] value) |
| Sets value for thresholds More... | |
| int | GetActualNumClasses () |
| Gets actualNumClasses value More... | |
| string | GetFeaturesCol () |
| Gets featuresCol value More... | |
| string | GetFeaturesShapCol () |
| Gets featuresShapCol value More... | |
| string | GetLabelCol () |
| Gets labelCol value More... | |
| string | GetLeafPredictionCol () |
| Gets leafPredictionCol value More... | |
| LightGBMBooster | GetLightGBMBooster () |
| Gets lightGBMBooster value More... | |
| int | GetNumIterations () |
| Gets numIterations value More... | |
| bool | GetPredictDisableShapeCheck () |
| Gets predictDisableShapeCheck value More... | |
| string | GetPredictionCol () |
| Gets predictionCol value More... | |
| string | GetProbabilityCol () |
| Gets probabilityCol value More... | |
| string | GetRawPredictionCol () |
| Gets rawPredictionCol value More... | |
| int | GetStartIteration () |
| Gets startIteration value More... | |
| double [] | GetThresholds () |
| Gets thresholds value More... | |
| void | Save (string path) |
| Saves the object so that it can be loaded later using Load. Note that these objects can be shared with Scala by Loading or Saving in Scala. More... | |
| JavaMLWriter | Write () |
| |
| JavaMLReader< LightGBMClassificationModel > | Read () |
| Get the corresponding JavaMLReader instance. More... | |
Static Public Member Functions | |
| static LightGBMClassificationModel | Load (string path) |
| Loads the LightGBMClassificationModel that was previously saved using Save(string). More... | |
|
inline |
Creates a LightGBMClassificationModel without any parameters.
|
inline |
Creates a LightGBMClassificationModel with a UID that is used to give the LightGBMClassificationModel a unique ID.
| uid | An immutable unique ID for the object and its derivatives. |
| int Synapse.ML.Lightgbm.LightGBMClassificationModel.GetActualNumClasses | ( | ) |
Gets actualNumClasses value
| string Synapse.ML.Lightgbm.LightGBMClassificationModel.GetFeaturesCol | ( | ) |
Gets featuresCol value
| string Synapse.ML.Lightgbm.LightGBMClassificationModel.GetFeaturesShapCol | ( | ) |
Gets featuresShapCol value
| string Synapse.ML.Lightgbm.LightGBMClassificationModel.GetLabelCol | ( | ) |
Gets labelCol value
| string Synapse.ML.Lightgbm.LightGBMClassificationModel.GetLeafPredictionCol | ( | ) |
Gets leafPredictionCol value
| LightGBMBooster Synapse.ML.Lightgbm.LightGBMClassificationModel.GetLightGBMBooster | ( | ) |
Gets lightGBMBooster value
| int Synapse.ML.Lightgbm.LightGBMClassificationModel.GetNumIterations | ( | ) |
Gets numIterations value
start_iteration are used (no limits). | bool Synapse.ML.Lightgbm.LightGBMClassificationModel.GetPredictDisableShapeCheck | ( | ) |
Gets predictDisableShapeCheck value
| string Synapse.ML.Lightgbm.LightGBMClassificationModel.GetPredictionCol | ( | ) |
Gets predictionCol value
| string Synapse.ML.Lightgbm.LightGBMClassificationModel.GetProbabilityCol | ( | ) |
Gets probabilityCol value
| string Synapse.ML.Lightgbm.LightGBMClassificationModel.GetRawPredictionCol | ( | ) |
Gets rawPredictionCol value
| int Synapse.ML.Lightgbm.LightGBMClassificationModel.GetStartIteration | ( | ) |
Gets startIteration value
| double [] Synapse.ML.Lightgbm.LightGBMClassificationModel.GetThresholds | ( | ) |
Gets thresholds value
|
static |
Loads the LightGBMClassificationModel that was previously saved using Save(string).
| path | The path the previous LightGBMClassificationModel was saved to |
| JavaMLReader<LightGBMClassificationModel> Synapse.ML.Lightgbm.LightGBMClassificationModel.Read | ( | ) |
Get the corresponding JavaMLReader instance.
| void Synapse.ML.Lightgbm.LightGBMClassificationModel.Save | ( | string | path | ) |
Saves the object so that it can be loaded later using Load. Note that these objects can be shared with Scala by Loading or Saving in Scala.
| path | The path to save the object to |
| LightGBMClassificationModel Synapse.ML.Lightgbm.LightGBMClassificationModel.SetActualNumClasses | ( | int | value | ) |
Sets value for actualNumClasses
| value | Inferred number of classes based on dataset metadata or, if there is no metadata, unique count |
| LightGBMClassificationModel Synapse.ML.Lightgbm.LightGBMClassificationModel.SetFeaturesCol | ( | string | value | ) |
Sets value for featuresCol
| value | features column name |
| LightGBMClassificationModel Synapse.ML.Lightgbm.LightGBMClassificationModel.SetFeaturesShapCol | ( | string | value | ) |
Sets value for featuresShapCol
| value | Output SHAP vector column name after prediction containing the feature contribution values |
| LightGBMClassificationModel Synapse.ML.Lightgbm.LightGBMClassificationModel.SetLabelCol | ( | string | value | ) |
Sets value for labelCol
| value | label column name |
| LightGBMClassificationModel Synapse.ML.Lightgbm.LightGBMClassificationModel.SetLeafPredictionCol | ( | string | value | ) |
Sets value for leafPredictionCol
| value | Predicted leaf indices's column name |
| LightGBMClassificationModel Synapse.ML.Lightgbm.LightGBMClassificationModel.SetLightGBMBooster | ( | LightGBMBooster | value | ) |
Sets value for lightGBMBooster
| value | The trained LightGBM booster |
| LightGBMClassificationModel Synapse.ML.Lightgbm.LightGBMClassificationModel.SetNumIterations | ( | int | value | ) |
Sets value for numIterations
| value | Sets the total number of iterations used in the prediction.If <= 0, all iterations from start_iteration are used (no limits). |
| LightGBMClassificationModel Synapse.ML.Lightgbm.LightGBMClassificationModel.SetPredictDisableShapeCheck | ( | bool | value | ) |
Sets value for predictDisableShapeCheck
| value | control whether or not LightGBM raises an error when you try to predict on data with a different number of features than the training data |
| LightGBMClassificationModel Synapse.ML.Lightgbm.LightGBMClassificationModel.SetPredictionCol | ( | string | value | ) |
Sets value for predictionCol
| value | prediction column name |
| LightGBMClassificationModel Synapse.ML.Lightgbm.LightGBMClassificationModel.SetProbabilityCol | ( | string | value | ) |
Sets value for probabilityCol
| value | Column name for predicted class conditional probabilities. Note: Not all models output well-calibrated probability estimates! These probabilities should be treated as confidences, not precise probabilities |
| LightGBMClassificationModel Synapse.ML.Lightgbm.LightGBMClassificationModel.SetRawPredictionCol | ( | string | value | ) |
Sets value for rawPredictionCol
| value | raw prediction (a.k.a. confidence) column name |
| LightGBMClassificationModel Synapse.ML.Lightgbm.LightGBMClassificationModel.SetStartIteration | ( | int | value | ) |
Sets value for startIteration
| value | Sets the start index of the iteration to predict. If <= 0, starts from the first iteration. |
| LightGBMClassificationModel Synapse.ML.Lightgbm.LightGBMClassificationModel.SetThresholds | ( | double [] | value | ) |
Sets value for thresholds
| value | Thresholds in multi-class classification to adjust the probability of predicting each class. Array must have length equal to the number of classes, with values > 0 excepting that at most one value may be 0. The class with largest value p/t is predicted, where p is the original probability of that class and t is the class's threshold |
1.8.13