LightGBMRankerModel implements LightGBMRankerModel
More...
◆ LightGBMRankerModel() [1/2]
Synapse.ML.Lightgbm.LightGBMRankerModel.LightGBMRankerModel |
( |
| ) |
|
|
inline |
◆ LightGBMRankerModel() [2/2]
Synapse.ML.Lightgbm.LightGBMRankerModel.LightGBMRankerModel |
( |
string |
uid | ) |
|
|
inline |
◆ GetFeaturesCol()
string Synapse.ML.Lightgbm.LightGBMRankerModel.GetFeaturesCol |
( |
| ) |
|
Gets featuresCol value
- Returns
- featuresCol: features column name
◆ GetFeaturesShapCol()
string Synapse.ML.Lightgbm.LightGBMRankerModel.GetFeaturesShapCol |
( |
| ) |
|
Gets featuresShapCol value
- Returns
- featuresShapCol: Output SHAP vector column name after prediction containing the feature contribution values
◆ GetLabelCol()
string Synapse.ML.Lightgbm.LightGBMRankerModel.GetLabelCol |
( |
| ) |
|
Gets labelCol value
- Returns
- labelCol: label column name
◆ GetLeafPredictionCol()
string Synapse.ML.Lightgbm.LightGBMRankerModel.GetLeafPredictionCol |
( |
| ) |
|
Gets leafPredictionCol value
- Returns
- leafPredictionCol: Predicted leaf indices's column name
◆ GetLightGBMBooster()
LightGBMBooster Synapse.ML.Lightgbm.LightGBMRankerModel.GetLightGBMBooster |
( |
| ) |
|
Gets lightGBMBooster value
- Returns
- lightGBMBooster: The trained LightGBM booster
◆ GetNumIterations()
int Synapse.ML.Lightgbm.LightGBMRankerModel.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.LightGBMRankerModel.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.LightGBMRankerModel.GetPredictionCol |
( |
| ) |
|
Gets predictionCol value
- Returns
- predictionCol: prediction column name
◆ GetStartIteration()
int Synapse.ML.Lightgbm.LightGBMRankerModel.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<LightGBMRankerModel> instance for this ML instance.
◆ Save()
void Synapse.ML.Lightgbm.LightGBMRankerModel.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()
Sets value for featuresCol
- Parameters
-
value | features column name |
- Returns
- New LightGBMRankerModel object
◆ SetFeaturesShapCol()
Sets value for featuresShapCol
- Parameters
-
value | Output SHAP vector column name after prediction containing the feature contribution values |
- Returns
- New LightGBMRankerModel object
◆ SetLabelCol()
◆ SetLeafPredictionCol()
LightGBMRankerModel Synapse.ML.Lightgbm.LightGBMRankerModel.SetLeafPredictionCol |
( |
string |
value | ) |
|
Sets value for leafPredictionCol
- Parameters
-
value | Predicted leaf indices's column name |
- Returns
- New LightGBMRankerModel object
◆ SetLightGBMBooster()
LightGBMRankerModel Synapse.ML.Lightgbm.LightGBMRankerModel.SetLightGBMBooster |
( |
LightGBMBooster |
value | ) |
|
Sets value for lightGBMBooster
- Parameters
-
value | The trained LightGBM booster |
- Returns
- New LightGBMRankerModel 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 LightGBMRankerModel object
◆ SetPredictDisableShapeCheck()
LightGBMRankerModel Synapse.ML.Lightgbm.LightGBMRankerModel.SetPredictDisableShapeCheck |
( |
bool |
value | ) |
|
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 LightGBMRankerModel object
◆ SetPredictionCol()
Sets value for predictionCol
- Parameters
-
value | prediction column name |
- Returns
- New LightGBMRankerModel object
◆ 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 LightGBMRankerModel object
The documentation for this class was generated from the following file:
- synapse/ml/lightgbm/LightGBMRankerModel.cs