LightGBMRegressionModel implements LightGBMRegressionModel
More...
◆ LightGBMRegressionModel() [1/2]
Synapse.ML.Lightgbm.LightGBMRegressionModel.LightGBMRegressionModel |
( |
| ) |
|
|
inline |
◆ LightGBMRegressionModel() [2/2]
Synapse.ML.Lightgbm.LightGBMRegressionModel.LightGBMRegressionModel |
( |
string |
uid | ) |
|
|
inline |
◆ GetFeaturesCol()
string Synapse.ML.Lightgbm.LightGBMRegressionModel.GetFeaturesCol |
( |
| ) |
|
Gets featuresCol value
- Returns
- featuresCol: features column name
◆ GetFeaturesShapCol()
string Synapse.ML.Lightgbm.LightGBMRegressionModel.GetFeaturesShapCol |
( |
| ) |
|
Gets featuresShapCol value
- Returns
- featuresShapCol: Output SHAP vector column name after prediction containing the feature contribution values
◆ GetLabelCol()
string Synapse.ML.Lightgbm.LightGBMRegressionModel.GetLabelCol |
( |
| ) |
|
Gets labelCol value
- Returns
- labelCol: label column name
◆ GetLeafPredictionCol()
string Synapse.ML.Lightgbm.LightGBMRegressionModel.GetLeafPredictionCol |
( |
| ) |
|
Gets leafPredictionCol value
- Returns
- leafPredictionCol: Predicted leaf indices's column name
◆ GetLightGBMBooster()
LightGBMBooster Synapse.ML.Lightgbm.LightGBMRegressionModel.GetLightGBMBooster |
( |
| ) |
|
Gets lightGBMBooster value
- Returns
- lightGBMBooster: The trained LightGBM booster
◆ GetNumIterations()
int Synapse.ML.Lightgbm.LightGBMRegressionModel.GetNumIterations |
( |
| ) |
|
Gets numIterations value
- Returns
- numIterations: Sets the total number of iterations used in the prediction.If <= 0, all iterations from
start_iteration
are used (no limits).
◆ GetPredictDisableShapeCheck()
bool Synapse.ML.Lightgbm.LightGBMRegressionModel.GetPredictDisableShapeCheck |
( |
| ) |
|
Gets predictDisableShapeCheck value
- Returns
- predictDisableShapeCheck: 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
◆ GetPredictionCol()
string Synapse.ML.Lightgbm.LightGBMRegressionModel.GetPredictionCol |
( |
| ) |
|
Gets predictionCol value
- Returns
- predictionCol: prediction column name
◆ GetStartIteration()
int Synapse.ML.Lightgbm.LightGBMRegressionModel.GetStartIteration |
( |
| ) |
|
Gets startIteration value
- Returns
- startIteration: Sets the start index of the iteration to predict. If <= 0, starts from the first iteration.
◆ Load()
◆ Read()
Get the corresponding JavaMLReader instance.
- Returns
- an JavaMLReader<LightGBMRegressionModel> instance for this ML instance.
◆ Save()
void Synapse.ML.Lightgbm.LightGBMRegressionModel.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.
- Parameters
-
path | The path to save the object to |
◆ SetFeaturesCol()
◆ SetFeaturesShapCol()
Sets value for featuresShapCol
- Parameters
-
value | Output SHAP vector column name after prediction containing the feature contribution values |
- Returns
- New LightGBMRegressionModel object
◆ SetLabelCol()
◆ SetLeafPredictionCol()
Sets value for leafPredictionCol
- Parameters
-
value | Predicted leaf indices's column name |
- Returns
- New LightGBMRegressionModel object
◆ SetLightGBMBooster()
Sets value for lightGBMBooster
- Parameters
-
value | The trained LightGBM booster |
- Returns
- New LightGBMRegressionModel object
◆ SetNumIterations()
Sets value for numIterations
- Parameters
-
value | Sets the total number of iterations used in the prediction.If <= 0, all iterations from start_iteration are used (no limits). |
- Returns
- New LightGBMRegressionModel object
◆ SetPredictDisableShapeCheck()
Sets value for predictDisableShapeCheck
- Parameters
-
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 |
- Returns
- New LightGBMRegressionModel object
◆ SetPredictionCol()
◆ SetStartIteration()
Sets value for startIteration
- Parameters
-
value | Sets the start index of the iteration to predict. If <= 0, starts from the first iteration. |
- Returns
- New LightGBMRegressionModel object
The documentation for this class was generated from the following file:
- synapse/ml/lightgbm/LightGBMRegressionModel.cs