Synapseml  0.10.0
Public Member Functions | Static Public Member Functions | List of all members
Synapse.ML.Lightgbm.LightGBMRegressor Class Reference

LightGBMRegressor implements LightGBMRegressor More...

Inheritance diagram for Synapse.ML.Lightgbm.LightGBMRegressor:
Inheritance graph
[legend]
Collaboration diagram for Synapse.ML.Lightgbm.LightGBMRegressor:
Collaboration graph
[legend]

Public Member Functions

 LightGBMRegressor ()
 Creates a LightGBMRegressor without any parameters. More...
 
 LightGBMRegressor (string uid)
 Creates a LightGBMRegressor with a UID that is used to give the LightGBMRegressor a unique ID. More...
 
LightGBMRegressor SetAlpha (double value)
 Sets value for alpha More...
 
LightGBMRegressor SetBaggingFraction (double value)
 Sets value for baggingFraction More...
 
LightGBMRegressor SetBaggingFreq (int value)
 Sets value for baggingFreq More...
 
LightGBMRegressor SetBaggingSeed (int value)
 Sets value for baggingSeed More...
 
LightGBMRegressor SetBinSampleCount (int value)
 Sets value for binSampleCount More...
 
LightGBMRegressor SetBoostFromAverage (bool value)
 Sets value for boostFromAverage More...
 
LightGBMRegressor SetBoostingType (string value)
 Sets value for boostingType More...
 
LightGBMRegressor SetCatSmooth (double value)
 Sets value for catSmooth More...
 
LightGBMRegressor SetCategoricalSlotIndexes (int[] value)
 Sets value for categoricalSlotIndexes More...
 
LightGBMRegressor SetCategoricalSlotNames (string[] value)
 Sets value for categoricalSlotNames More...
 
LightGBMRegressor SetCatl2 (double value)
 Sets value for catl2 More...
 
LightGBMRegressor SetChunkSize (int value)
 Sets value for chunkSize More...
 
LightGBMRegressor SetDataRandomSeed (int value)
 Sets value for dataRandomSeed More...
 
LightGBMRegressor SetDefaultListenPort (int value)
 Sets value for defaultListenPort More...
 
LightGBMRegressor SetDeterministic (bool value)
 Sets value for deterministic More...
 
LightGBMRegressor SetDriverListenPort (int value)
 Sets value for driverListenPort More...
 
LightGBMRegressor SetDropRate (double value)
 Sets value for dropRate More...
 
LightGBMRegressor SetDropSeed (int value)
 Sets value for dropSeed More...
 
LightGBMRegressor SetEarlyStoppingRound (int value)
 Sets value for earlyStoppingRound More...
 
LightGBMRegressor SetExecutionMode (string value)
 Sets value for executionMode More...
 
LightGBMRegressor SetExtraSeed (int value)
 Sets value for extraSeed More...
 
LightGBMRegressor SetFeatureFraction (double value)
 Sets value for featureFraction More...
 
LightGBMRegressor SetFeatureFractionByNode (double value)
 Sets value for featureFractionByNode More...
 
LightGBMRegressor SetFeatureFractionSeed (int value)
 Sets value for featureFractionSeed More...
 
LightGBMRegressor SetFeaturesCol (string value)
 Sets value for featuresCol More...
 
LightGBMRegressor SetFeaturesShapCol (string value)
 Sets value for featuresShapCol More...
 
LightGBMRegressor SetFobj (object value)
 Sets value for fobj More...
 
LightGBMRegressor SetImprovementTolerance (double value)
 Sets value for improvementTolerance More...
 
LightGBMRegressor SetInitScoreCol (string value)
 Sets value for initScoreCol More...
 
LightGBMRegressor SetIsEnableSparse (bool value)
 Sets value for isEnableSparse More...
 
LightGBMRegressor SetIsProvideTrainingMetric (bool value)
 Sets value for isProvideTrainingMetric More...
 
LightGBMRegressor SetLabelCol (string value)
 Sets value for labelCol More...
 
LightGBMRegressor SetLambdaL1 (double value)
 Sets value for lambdaL1 More...
 
LightGBMRegressor SetLambdaL2 (double value)
 Sets value for lambdaL2 More...
 
LightGBMRegressor SetLeafPredictionCol (string value)
 Sets value for leafPredictionCol More...
 
LightGBMRegressor SetLearningRate (double value)
 Sets value for learningRate More...
 
LightGBMRegressor SetMatrixType (string value)
 Sets value for matrixType More...
 
LightGBMRegressor SetMaxBin (int value)
 Sets value for maxBin More...
 
LightGBMRegressor SetMaxBinByFeature (int[] value)
 Sets value for maxBinByFeature More...
 
LightGBMRegressor SetMaxCatThreshold (int value)
 Sets value for maxCatThreshold More...
 
LightGBMRegressor SetMaxCatToOnehot (int value)
 Sets value for maxCatToOnehot More...
 
LightGBMRegressor SetMaxDeltaStep (double value)
 Sets value for maxDeltaStep More...
 
LightGBMRegressor SetMaxDepth (int value)
 Sets value for maxDepth More...
 
LightGBMRegressor SetMaxDrop (int value)
 Sets value for maxDrop More...
 
LightGBMRegressor SetMetric (string value)
 Sets value for metric More...
 
LightGBMRegressor SetMicroBatchSize (int value)
 Sets value for microBatchSize More...
 
LightGBMRegressor SetMinDataInLeaf (int value)
 Sets value for minDataInLeaf More...
 
LightGBMRegressor SetMinDataPerBin (int value)
 Sets value for minDataPerBin More...
 
LightGBMRegressor SetMinDataPerGroup (int value)
 Sets value for minDataPerGroup More...
 
LightGBMRegressor SetMinGainToSplit (double value)
 Sets value for minGainToSplit More...
 
LightGBMRegressor SetMinSumHessianInLeaf (double value)
 Sets value for minSumHessianInLeaf More...
 
LightGBMRegressor SetModelString (string value)
 Sets value for modelString More...
 
LightGBMRegressor SetMonotoneConstraints (int[] value)
 Sets value for monotoneConstraints More...
 
LightGBMRegressor SetMonotoneConstraintsMethod (string value)
 Sets value for monotoneConstraintsMethod More...
 
LightGBMRegressor SetMonotonePenalty (double value)
 Sets value for monotonePenalty More...
 
LightGBMRegressor SetNegBaggingFraction (double value)
 Sets value for negBaggingFraction More...
 
LightGBMRegressor SetNumBatches (int value)
 Sets value for numBatches More...
 
LightGBMRegressor SetNumIterations (int value)
 Sets value for numIterations More...
 
LightGBMRegressor SetNumLeaves (int value)
 Sets value for numLeaves More...
 
LightGBMRegressor SetNumTasks (int value)
 Sets value for numTasks More...
 
LightGBMRegressor SetNumThreads (int value)
 Sets value for numThreads More...
 
LightGBMRegressor SetObjective (string value)
 Sets value for objective More...
 
LightGBMRegressor SetObjectiveSeed (int value)
 Sets value for objectiveSeed More...
 
LightGBMRegressor SetOtherRate (double value)
 Sets value for otherRate More...
 
LightGBMRegressor SetParallelism (string value)
 Sets value for parallelism More...
 
LightGBMRegressor SetPassThroughArgs (string value)
 Sets value for passThroughArgs More...
 
LightGBMRegressor SetPosBaggingFraction (double value)
 Sets value for posBaggingFraction More...
 
LightGBMRegressor SetPredictDisableShapeCheck (bool value)
 Sets value for predictDisableShapeCheck More...
 
LightGBMRegressor SetPredictionCol (string value)
 Sets value for predictionCol More...
 
LightGBMRegressor SetRepartitionByGroupingColumn (bool value)
 Sets value for repartitionByGroupingColumn More...
 
LightGBMRegressor SetSeed (int value)
 Sets value for seed More...
 
LightGBMRegressor SetSkipDrop (double value)
 Sets value for skipDrop More...
 
LightGBMRegressor SetSlotNames (string[] value)
 Sets value for slotNames More...
 
LightGBMRegressor SetTimeout (double value)
 Sets value for timeout More...
 
LightGBMRegressor SetTopK (int value)
 Sets value for topK More...
 
LightGBMRegressor SetTopRate (double value)
 Sets value for topRate More...
 
LightGBMRegressor SetTweedieVariancePower (double value)
 Sets value for tweedieVariancePower More...
 
LightGBMRegressor SetUniformDrop (bool value)
 Sets value for uniformDrop More...
 
LightGBMRegressor SetUseBarrierExecutionMode (bool value)
 Sets value for useBarrierExecutionMode More...
 
LightGBMRegressor SetUseMissing (bool value)
 Sets value for useMissing More...
 
LightGBMRegressor SetUseSingleDatasetMode (bool value)
 Sets value for useSingleDatasetMode More...
 
LightGBMRegressor SetValidationIndicatorCol (string value)
 Sets value for validationIndicatorCol More...
 
LightGBMRegressor SetVerbosity (int value)
 Sets value for verbosity More...
 
LightGBMRegressor SetWeightCol (string value)
 Sets value for weightCol More...
 
LightGBMRegressor SetXGBoostDartMode (bool value)
 Sets value for xGBoostDartMode More...
 
LightGBMRegressor SetZeroAsMissing (bool value)
 Sets value for zeroAsMissing More...
 
double GetAlpha ()
 Gets alpha value More...
 
double GetBaggingFraction ()
 Gets baggingFraction value More...
 
int GetBaggingFreq ()
 Gets baggingFreq value More...
 
int GetBaggingSeed ()
 Gets baggingSeed value More...
 
int GetBinSampleCount ()
 Gets binSampleCount value More...
 
bool GetBoostFromAverage ()
 Gets boostFromAverage value More...
 
string GetBoostingType ()
 Gets boostingType value More...
 
double GetCatSmooth ()
 Gets catSmooth value More...
 
int [] GetCategoricalSlotIndexes ()
 Gets categoricalSlotIndexes value More...
 
string [] GetCategoricalSlotNames ()
 Gets categoricalSlotNames value More...
 
double GetCatl2 ()
 Gets catl2 value More...
 
int GetChunkSize ()
 Gets chunkSize value More...
 
int GetDataRandomSeed ()
 Gets dataRandomSeed value More...
 
int GetDefaultListenPort ()
 Gets defaultListenPort value More...
 
bool GetDeterministic ()
 Gets deterministic value More...
 
int GetDriverListenPort ()
 Gets driverListenPort value More...
 
double GetDropRate ()
 Gets dropRate value More...
 
int GetDropSeed ()
 Gets dropSeed value More...
 
int GetEarlyStoppingRound ()
 Gets earlyStoppingRound value More...
 
string GetExecutionMode ()
 Gets executionMode value More...
 
int GetExtraSeed ()
 Gets extraSeed value More...
 
double GetFeatureFraction ()
 Gets featureFraction value More...
 
double GetFeatureFractionByNode ()
 Gets featureFractionByNode value More...
 
int GetFeatureFractionSeed ()
 Gets featureFractionSeed value More...
 
string GetFeaturesCol ()
 Gets featuresCol value More...
 
string GetFeaturesShapCol ()
 Gets featuresShapCol value More...
 
object GetFobj ()
 Gets fobj value More...
 
double GetImprovementTolerance ()
 Gets improvementTolerance value More...
 
string GetInitScoreCol ()
 Gets initScoreCol value More...
 
bool GetIsEnableSparse ()
 Gets isEnableSparse value More...
 
bool GetIsProvideTrainingMetric ()
 Gets isProvideTrainingMetric value More...
 
string GetLabelCol ()
 Gets labelCol value More...
 
double GetLambdaL1 ()
 Gets lambdaL1 value More...
 
double GetLambdaL2 ()
 Gets lambdaL2 value More...
 
string GetLeafPredictionCol ()
 Gets leafPredictionCol value More...
 
double GetLearningRate ()
 Gets learningRate value More...
 
string GetMatrixType ()
 Gets matrixType value More...
 
int GetMaxBin ()
 Gets maxBin value More...
 
int [] GetMaxBinByFeature ()
 Gets maxBinByFeature value More...
 
int GetMaxCatThreshold ()
 Gets maxCatThreshold value More...
 
int GetMaxCatToOnehot ()
 Gets maxCatToOnehot value More...
 
double GetMaxDeltaStep ()
 Gets maxDeltaStep value More...
 
int GetMaxDepth ()
 Gets maxDepth value More...
 
int GetMaxDrop ()
 Gets maxDrop value More...
 
string GetMetric ()
 Gets metric value More...
 
int GetMicroBatchSize ()
 Gets microBatchSize value More...
 
int GetMinDataInLeaf ()
 Gets minDataInLeaf value More...
 
int GetMinDataPerBin ()
 Gets minDataPerBin value More...
 
int GetMinDataPerGroup ()
 Gets minDataPerGroup value More...
 
double GetMinGainToSplit ()
 Gets minGainToSplit value More...
 
double GetMinSumHessianInLeaf ()
 Gets minSumHessianInLeaf value More...
 
string GetModelString ()
 Gets modelString value More...
 
int [] GetMonotoneConstraints ()
 Gets monotoneConstraints value More...
 
string GetMonotoneConstraintsMethod ()
 Gets monotoneConstraintsMethod value More...
 
double GetMonotonePenalty ()
 Gets monotonePenalty value More...
 
double GetNegBaggingFraction ()
 Gets negBaggingFraction value More...
 
int GetNumBatches ()
 Gets numBatches value More...
 
int GetNumIterations ()
 Gets numIterations value More...
 
int GetNumLeaves ()
 Gets numLeaves value More...
 
int GetNumTasks ()
 Gets numTasks value More...
 
int GetNumThreads ()
 Gets numThreads value More...
 
string GetObjective ()
 Gets objective value More...
 
int GetObjectiveSeed ()
 Gets objectiveSeed value More...
 
double GetOtherRate ()
 Gets otherRate value More...
 
string GetParallelism ()
 Gets parallelism value More...
 
string GetPassThroughArgs ()
 Gets passThroughArgs value More...
 
double GetPosBaggingFraction ()
 Gets posBaggingFraction value More...
 
bool GetPredictDisableShapeCheck ()
 Gets predictDisableShapeCheck value More...
 
string GetPredictionCol ()
 Gets predictionCol value More...
 
bool GetRepartitionByGroupingColumn ()
 Gets repartitionByGroupingColumn value More...
 
int GetSeed ()
 Gets seed value More...
 
double GetSkipDrop ()
 Gets skipDrop value More...
 
string [] GetSlotNames ()
 Gets slotNames value More...
 
double GetTimeout ()
 Gets timeout value More...
 
int GetTopK ()
 Gets topK value More...
 
double GetTopRate ()
 Gets topRate value More...
 
double GetTweedieVariancePower ()
 Gets tweedieVariancePower value More...
 
bool GetUniformDrop ()
 Gets uniformDrop value More...
 
bool GetUseBarrierExecutionMode ()
 Gets useBarrierExecutionMode value More...
 
bool GetUseMissing ()
 Gets useMissing value More...
 
bool GetUseSingleDatasetMode ()
 Gets useSingleDatasetMode value More...
 
string GetValidationIndicatorCol ()
 Gets validationIndicatorCol value More...
 
int GetVerbosity ()
 Gets verbosity value More...
 
string GetWeightCol ()
 Gets weightCol value More...
 
bool GetXGBoostDartMode ()
 Gets xGBoostDartMode value More...
 
bool GetZeroAsMissing ()
 Gets zeroAsMissing value More...
 
override LightGBMRegressionModel Fit (DataFrame dataset)
 Fits a model to the input data. 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 ()
 
Returns
a JavaMLWriter instance for this ML instance.

 
JavaMLReader< LightGBMRegressorRead ()
 Get the corresponding JavaMLReader instance. More...
 

Static Public Member Functions

static LightGBMRegressor Load (string path)
 Loads the LightGBMRegressor that was previously saved using Save(string). More...
 

Detailed Description

LightGBMRegressor implements LightGBMRegressor

Constructor & Destructor Documentation

◆ LightGBMRegressor() [1/2]

Synapse.ML.Lightgbm.LightGBMRegressor.LightGBMRegressor ( )
inline

Creates a LightGBMRegressor without any parameters.

◆ LightGBMRegressor() [2/2]

Synapse.ML.Lightgbm.LightGBMRegressor.LightGBMRegressor ( string  uid)
inline

Creates a LightGBMRegressor with a UID that is used to give the LightGBMRegressor a unique ID.

Parameters
uidAn immutable unique ID for the object and its derivatives.

Member Function Documentation

◆ Fit()

override LightGBMRegressionModel Synapse.ML.Lightgbm.LightGBMRegressor.Fit ( DataFrame  dataset)

Fits a model to the input data.

Parameters
datasetThe DataFrame to fit the model to.
Returns
LightGBMRegressionModel

◆ GetAlpha()

double Synapse.ML.Lightgbm.LightGBMRegressor.GetAlpha ( )

Gets alpha value

Returns
alpha: parameter for Huber loss and Quantile regression

◆ GetBaggingFraction()

double Synapse.ML.Lightgbm.LightGBMRegressor.GetBaggingFraction ( )

Gets baggingFraction value

Returns
baggingFraction: Bagging fraction

◆ GetBaggingFreq()

int Synapse.ML.Lightgbm.LightGBMRegressor.GetBaggingFreq ( )

Gets baggingFreq value

Returns
baggingFreq: Bagging frequency

◆ GetBaggingSeed()

int Synapse.ML.Lightgbm.LightGBMRegressor.GetBaggingSeed ( )

Gets baggingSeed value

Returns
baggingSeed: Bagging seed

◆ GetBinSampleCount()

int Synapse.ML.Lightgbm.LightGBMRegressor.GetBinSampleCount ( )

Gets binSampleCount value

Returns
binSampleCount: Number of samples considered at computing histogram bins

◆ GetBoostFromAverage()

bool Synapse.ML.Lightgbm.LightGBMRegressor.GetBoostFromAverage ( )

Gets boostFromAverage value

Returns
boostFromAverage: Adjusts initial score to the mean of labels for faster convergence

◆ GetBoostingType()

string Synapse.ML.Lightgbm.LightGBMRegressor.GetBoostingType ( )

Gets boostingType value

Returns
boostingType: Default gbdt = traditional Gradient Boosting Decision Tree. Options are: gbdt, gbrt, rf (Random Forest), random_forest, dart (Dropouts meet Multiple Additive Regression Trees), goss (Gradient-based One-Side Sampling).

◆ GetCategoricalSlotIndexes()

int [] Synapse.ML.Lightgbm.LightGBMRegressor.GetCategoricalSlotIndexes ( )

Gets categoricalSlotIndexes value

Returns
categoricalSlotIndexes: List of categorical column indexes, the slot index in the features column

◆ GetCategoricalSlotNames()

string [] Synapse.ML.Lightgbm.LightGBMRegressor.GetCategoricalSlotNames ( )

Gets categoricalSlotNames value

Returns
categoricalSlotNames: List of categorical column slot names, the slot name in the features column

◆ GetCatl2()

double Synapse.ML.Lightgbm.LightGBMRegressor.GetCatl2 ( )

Gets catl2 value

Returns
catl2: L2 regularization in categorical split

◆ GetCatSmooth()

double Synapse.ML.Lightgbm.LightGBMRegressor.GetCatSmooth ( )

Gets catSmooth value

Returns
catSmooth: this can reduce the effect of noises in categorical features, especially for categories with few data

◆ GetChunkSize()

int Synapse.ML.Lightgbm.LightGBMRegressor.GetChunkSize ( )

Gets chunkSize value

Returns
chunkSize: Advanced parameter to specify the chunk size for copying Java data to native. If set too high, memory may be wasted, but if set too low, performance may be reduced during data copy.If dataset size is known beforehand, set to the number of rows in the dataset.

◆ GetDataRandomSeed()

int Synapse.ML.Lightgbm.LightGBMRegressor.GetDataRandomSeed ( )

Gets dataRandomSeed value

Returns
dataRandomSeed: Random seed for sampling data to construct histogram bins.

◆ GetDefaultListenPort()

int Synapse.ML.Lightgbm.LightGBMRegressor.GetDefaultListenPort ( )

Gets defaultListenPort value

Returns
defaultListenPort: The default listen port on executors, used for testing

◆ GetDeterministic()

bool Synapse.ML.Lightgbm.LightGBMRegressor.GetDeterministic ( )

Gets deterministic value

Returns
deterministic: Used only with cpu devide type. Setting this to true should ensure stable results when using the same data and the same parameters. Note: setting this to true may slow down training. To avoid potential instability due to numerical issues, please set force_col_wise=true or force_row_wise=true when setting deterministic=true

◆ GetDriverListenPort()

int Synapse.ML.Lightgbm.LightGBMRegressor.GetDriverListenPort ( )

Gets driverListenPort value

Returns
driverListenPort: The listen port on a driver. Default value is 0 (random)

◆ GetDropRate()

double Synapse.ML.Lightgbm.LightGBMRegressor.GetDropRate ( )

Gets dropRate value

Returns
dropRate: Dropout rate: a fraction of previous trees to drop during the dropout

◆ GetDropSeed()

int Synapse.ML.Lightgbm.LightGBMRegressor.GetDropSeed ( )

Gets dropSeed value

Returns
dropSeed: Random seed to choose dropping models. Only used in dart.

◆ GetEarlyStoppingRound()

int Synapse.ML.Lightgbm.LightGBMRegressor.GetEarlyStoppingRound ( )

Gets earlyStoppingRound value

Returns
earlyStoppingRound: Early stopping round

◆ GetExecutionMode()

string Synapse.ML.Lightgbm.LightGBMRegressor.GetExecutionMode ( )

Gets executionMode value

Returns
executionMode: Specify how LightGBM is executed. Values can be streaming, bulk. Default is bulk.

◆ GetExtraSeed()

int Synapse.ML.Lightgbm.LightGBMRegressor.GetExtraSeed ( )

Gets extraSeed value

Returns
extraSeed: Random seed for selecting threshold when extra_trees is true

◆ GetFeatureFraction()

double Synapse.ML.Lightgbm.LightGBMRegressor.GetFeatureFraction ( )

Gets featureFraction value

Returns
featureFraction: Feature fraction

◆ GetFeatureFractionByNode()

double Synapse.ML.Lightgbm.LightGBMRegressor.GetFeatureFractionByNode ( )

Gets featureFractionByNode value

Returns
featureFractionByNode: Feature fraction by node

◆ GetFeatureFractionSeed()

int Synapse.ML.Lightgbm.LightGBMRegressor.GetFeatureFractionSeed ( )

Gets featureFractionSeed value

Returns
featureFractionSeed: Feature fraction seed

◆ GetFeaturesCol()

string Synapse.ML.Lightgbm.LightGBMRegressor.GetFeaturesCol ( )

Gets featuresCol value

Returns
featuresCol: features column name

◆ GetFeaturesShapCol()

string Synapse.ML.Lightgbm.LightGBMRegressor.GetFeaturesShapCol ( )

Gets featuresShapCol value

Returns
featuresShapCol: Output SHAP vector column name after prediction containing the feature contribution values

◆ GetFobj()

object Synapse.ML.Lightgbm.LightGBMRegressor.GetFobj ( )

Gets fobj value

Returns
fobj: Customized objective function. Should accept two parameters: preds, train_data, and return (grad, hess).

◆ GetImprovementTolerance()

double Synapse.ML.Lightgbm.LightGBMRegressor.GetImprovementTolerance ( )

Gets improvementTolerance value

Returns
improvementTolerance: Tolerance to consider improvement in metric

◆ GetInitScoreCol()

string Synapse.ML.Lightgbm.LightGBMRegressor.GetInitScoreCol ( )

Gets initScoreCol value

Returns
initScoreCol: The name of the initial score column, used for continued training

◆ GetIsEnableSparse()

bool Synapse.ML.Lightgbm.LightGBMRegressor.GetIsEnableSparse ( )

Gets isEnableSparse value

Returns
isEnableSparse: Used to enable/disable sparse optimization

◆ GetIsProvideTrainingMetric()

bool Synapse.ML.Lightgbm.LightGBMRegressor.GetIsProvideTrainingMetric ( )

Gets isProvideTrainingMetric value

Returns
isProvideTrainingMetric: Whether output metric result over training dataset.

◆ GetLabelCol()

string Synapse.ML.Lightgbm.LightGBMRegressor.GetLabelCol ( )

Gets labelCol value

Returns
labelCol: label column name

◆ GetLambdaL1()

double Synapse.ML.Lightgbm.LightGBMRegressor.GetLambdaL1 ( )

Gets lambdaL1 value

Returns
lambdaL1: L1 regularization

◆ GetLambdaL2()

double Synapse.ML.Lightgbm.LightGBMRegressor.GetLambdaL2 ( )

Gets lambdaL2 value

Returns
lambdaL2: L2 regularization

◆ GetLeafPredictionCol()

string Synapse.ML.Lightgbm.LightGBMRegressor.GetLeafPredictionCol ( )

Gets leafPredictionCol value

Returns
leafPredictionCol: Predicted leaf indices's column name

◆ GetLearningRate()

double Synapse.ML.Lightgbm.LightGBMRegressor.GetLearningRate ( )

Gets learningRate value

Returns
learningRate: Learning rate or shrinkage rate

◆ GetMatrixType()

string Synapse.ML.Lightgbm.LightGBMRegressor.GetMatrixType ( )

Gets matrixType value

Returns
matrixType: Advanced parameter to specify whether the native lightgbm matrix constructed should be sparse or dense. Values can be auto, sparse or dense. Default value is auto, which samples first ten rows to determine type.

◆ GetMaxBin()

int Synapse.ML.Lightgbm.LightGBMRegressor.GetMaxBin ( )

Gets maxBin value

Returns
maxBin: Max bin

◆ GetMaxBinByFeature()

int [] Synapse.ML.Lightgbm.LightGBMRegressor.GetMaxBinByFeature ( )

Gets maxBinByFeature value

Returns
maxBinByFeature: Max number of bins for each feature

◆ GetMaxCatThreshold()

int Synapse.ML.Lightgbm.LightGBMRegressor.GetMaxCatThreshold ( )

Gets maxCatThreshold value

Returns
maxCatThreshold: limit number of split points considered for categorical features

◆ GetMaxCatToOnehot()

int Synapse.ML.Lightgbm.LightGBMRegressor.GetMaxCatToOnehot ( )

Gets maxCatToOnehot value

Returns
maxCatToOnehot: when number of categories of one feature smaller than or equal to this, one-vs-other split algorithm will be used

◆ GetMaxDeltaStep()

double Synapse.ML.Lightgbm.LightGBMRegressor.GetMaxDeltaStep ( )

Gets maxDeltaStep value

Returns
maxDeltaStep: Used to limit the max output of tree leaves

◆ GetMaxDepth()

int Synapse.ML.Lightgbm.LightGBMRegressor.GetMaxDepth ( )

Gets maxDepth value

Returns
maxDepth: Max depth

◆ GetMaxDrop()

int Synapse.ML.Lightgbm.LightGBMRegressor.GetMaxDrop ( )

Gets maxDrop value

Returns
maxDrop: Max number of dropped trees during one boosting iteration

◆ GetMetric()

string Synapse.ML.Lightgbm.LightGBMRegressor.GetMetric ( )

Gets metric value

Returns
metric: Metrics to be evaluated on the evaluation data. Options are: empty string or not specified means that metric corresponding to specified objective will be used (this is possible only for pre-defined objective functions, otherwise no evaluation metric will be added). None (string, not a None value) means that no metric will be registered, aliases: na, null, custom. l1, absolute loss, aliases: mean_absolute_error, mae, regression_l1. l2, square loss, aliases: mean_squared_error, mse, regression_l2, regression. rmse, root square loss, aliases: root_mean_squared_error, l2_root. quantile, Quantile regression. mape, MAPE loss, aliases: mean_absolute_percentage_error. huber, Huber loss. fair, Fair loss. poisson, negative log-likelihood for Poisson regression. gamma, negative log-likelihood for Gamma regression. gamma_deviance, residual deviance for Gamma regression. tweedie, negative log-likelihood for Tweedie regression. ndcg, NDCG, aliases: lambdarank. map, MAP, aliases: mean_average_precision. auc, AUC. binary_logloss, log loss, aliases: binary. binary_error, for one sample: 0 for correct classification, 1 for error classification. multi_logloss, log loss for multi-class classification, aliases: multiclass, softmax, multiclassova, multiclass_ova, ova, ovr. multi_error, error rate for multi-class classification. cross_entropy, cross-entropy (with optional linear weights), aliases: xentropy. cross_entropy_lambda, intensity-weighted cross-entropy, aliases: xentlambda. kullback_leibler, Kullback-Leibler divergence, aliases: kldiv.

◆ GetMicroBatchSize()

int Synapse.ML.Lightgbm.LightGBMRegressor.GetMicroBatchSize ( )

Gets microBatchSize value

Returns
microBatchSize: Specify how many elements are sent in a streaming micro-batch.

◆ GetMinDataInLeaf()

int Synapse.ML.Lightgbm.LightGBMRegressor.GetMinDataInLeaf ( )

Gets minDataInLeaf value

Returns
minDataInLeaf: Minimal number of data in one leaf. Can be used to deal with over-fitting.

◆ GetMinDataPerBin()

int Synapse.ML.Lightgbm.LightGBMRegressor.GetMinDataPerBin ( )

Gets minDataPerBin value

Returns
minDataPerBin: Minimal number of data inside one bin

◆ GetMinDataPerGroup()

int Synapse.ML.Lightgbm.LightGBMRegressor.GetMinDataPerGroup ( )

Gets minDataPerGroup value

Returns
minDataPerGroup: minimal number of data per categorical group

◆ GetMinGainToSplit()

double Synapse.ML.Lightgbm.LightGBMRegressor.GetMinGainToSplit ( )

Gets minGainToSplit value

Returns
minGainToSplit: The minimal gain to perform split

◆ GetMinSumHessianInLeaf()

double Synapse.ML.Lightgbm.LightGBMRegressor.GetMinSumHessianInLeaf ( )

Gets minSumHessianInLeaf value

Returns
minSumHessianInLeaf: Minimal sum hessian in one leaf

◆ GetModelString()

string Synapse.ML.Lightgbm.LightGBMRegressor.GetModelString ( )

Gets modelString value

Returns
modelString: LightGBM model to retrain

◆ GetMonotoneConstraints()

int [] Synapse.ML.Lightgbm.LightGBMRegressor.GetMonotoneConstraints ( )

Gets monotoneConstraints value

Returns
monotoneConstraints: used for constraints of monotonic features. 1 means increasing, -1 means decreasing, 0 means non-constraint. Specify all features in order.

◆ GetMonotoneConstraintsMethod()

string Synapse.ML.Lightgbm.LightGBMRegressor.GetMonotoneConstraintsMethod ( )

Gets monotoneConstraintsMethod value

Returns
monotoneConstraintsMethod: Monotone constraints method. basic, intermediate, or advanced.

◆ GetMonotonePenalty()

double Synapse.ML.Lightgbm.LightGBMRegressor.GetMonotonePenalty ( )

Gets monotonePenalty value

Returns
monotonePenalty: A penalization parameter X forbids any monotone splits on the first X (rounded down) level(s) of the tree.

◆ GetNegBaggingFraction()

double Synapse.ML.Lightgbm.LightGBMRegressor.GetNegBaggingFraction ( )

Gets negBaggingFraction value

Returns
negBaggingFraction: Negative Bagging fraction

◆ GetNumBatches()

int Synapse.ML.Lightgbm.LightGBMRegressor.GetNumBatches ( )

Gets numBatches value

Returns
numBatches: If greater than 0, splits data into separate batches during training

◆ GetNumIterations()

int Synapse.ML.Lightgbm.LightGBMRegressor.GetNumIterations ( )

Gets numIterations value

Returns
numIterations: Number of iterations, LightGBM constructs num_class * num_iterations trees

◆ GetNumLeaves()

int Synapse.ML.Lightgbm.LightGBMRegressor.GetNumLeaves ( )

Gets numLeaves value

Returns
numLeaves: Number of leaves

◆ GetNumTasks()

int Synapse.ML.Lightgbm.LightGBMRegressor.GetNumTasks ( )

Gets numTasks value

Returns
numTasks: Advanced parameter to specify the number of tasks. SynapseML tries to guess this based on cluster configuration, but this parameter can be used to override.

◆ GetNumThreads()

int Synapse.ML.Lightgbm.LightGBMRegressor.GetNumThreads ( )

Gets numThreads value

Returns
numThreads: Number of threads per executor for LightGBM. For the best speed, set this to the number of real CPU cores.

◆ GetObjective()

string Synapse.ML.Lightgbm.LightGBMRegressor.GetObjective ( )

Gets objective value

Returns
objective: The Objective. For regression applications, this can be: regression_l2, regression_l1, huber, fair, poisson, quantile, mape, gamma or tweedie. For classification applications, this can be: binary, multiclass, or multiclassova.

◆ GetObjectiveSeed()

int Synapse.ML.Lightgbm.LightGBMRegressor.GetObjectiveSeed ( )

Gets objectiveSeed value

Returns
objectiveSeed: Random seed for objectives, if random process is needed. Currently used only for rank_xendcg objective.

◆ GetOtherRate()

double Synapse.ML.Lightgbm.LightGBMRegressor.GetOtherRate ( )

Gets otherRate value

Returns
otherRate: The retain ratio of small gradient data. Only used in goss.

◆ GetParallelism()

string Synapse.ML.Lightgbm.LightGBMRegressor.GetParallelism ( )

Gets parallelism value

Returns
parallelism: Tree learner parallelism, can be set to data_parallel or voting_parallel

◆ GetPassThroughArgs()

string Synapse.ML.Lightgbm.LightGBMRegressor.GetPassThroughArgs ( )

Gets passThroughArgs value

Returns
passThroughArgs: Direct string to pass through to LightGBM library (appended with other explicitly set params). Will override any parameters given with explicit setters. Can include multiple parameters in one string.

◆ GetPosBaggingFraction()

double Synapse.ML.Lightgbm.LightGBMRegressor.GetPosBaggingFraction ( )

Gets posBaggingFraction value

Returns
posBaggingFraction: Positive Bagging fraction

◆ GetPredictDisableShapeCheck()

bool Synapse.ML.Lightgbm.LightGBMRegressor.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.LightGBMRegressor.GetPredictionCol ( )

Gets predictionCol value

Returns
predictionCol: prediction column name

◆ GetRepartitionByGroupingColumn()

bool Synapse.ML.Lightgbm.LightGBMRegressor.GetRepartitionByGroupingColumn ( )

Gets repartitionByGroupingColumn value

Returns
repartitionByGroupingColumn: Repartition training data according to grouping column, on by default.

◆ GetSeed()

int Synapse.ML.Lightgbm.LightGBMRegressor.GetSeed ( )

Gets seed value

Returns
seed: Main seed, used to generate other seeds

◆ GetSkipDrop()

double Synapse.ML.Lightgbm.LightGBMRegressor.GetSkipDrop ( )

Gets skipDrop value

Returns
skipDrop: Probability of skipping the dropout procedure during a boosting iteration

◆ GetSlotNames()

string [] Synapse.ML.Lightgbm.LightGBMRegressor.GetSlotNames ( )

Gets slotNames value

Returns
slotNames: List of slot names in the features column

◆ GetTimeout()

double Synapse.ML.Lightgbm.LightGBMRegressor.GetTimeout ( )

Gets timeout value

Returns
timeout: Timeout in seconds

◆ GetTopK()

int Synapse.ML.Lightgbm.LightGBMRegressor.GetTopK ( )

Gets topK value

Returns
topK: The top_k value used in Voting parallel, set this to larger value for more accurate result, but it will slow down the training speed. It should be greater than 0

◆ GetTopRate()

double Synapse.ML.Lightgbm.LightGBMRegressor.GetTopRate ( )

Gets topRate value

Returns
topRate: The retain ratio of large gradient data. Only used in goss.

◆ GetTweedieVariancePower()

double Synapse.ML.Lightgbm.LightGBMRegressor.GetTweedieVariancePower ( )

Gets tweedieVariancePower value

Returns
tweedieVariancePower: control the variance of tweedie distribution, must be between 1 and 2

◆ GetUniformDrop()

bool Synapse.ML.Lightgbm.LightGBMRegressor.GetUniformDrop ( )

Gets uniformDrop value

Returns
uniformDrop: Set this to true to use uniform drop in dart mode

◆ GetUseBarrierExecutionMode()

bool Synapse.ML.Lightgbm.LightGBMRegressor.GetUseBarrierExecutionMode ( )

Gets useBarrierExecutionMode value

Returns
useBarrierExecutionMode: Barrier execution mode which uses a barrier stage, off by default.

◆ GetUseMissing()

bool Synapse.ML.Lightgbm.LightGBMRegressor.GetUseMissing ( )

Gets useMissing value

Returns
useMissing: Set this to false to disable the special handle of missing value

◆ GetUseSingleDatasetMode()

bool Synapse.ML.Lightgbm.LightGBMRegressor.GetUseSingleDatasetMode ( )

Gets useSingleDatasetMode value

Returns
useSingleDatasetMode: Use single dataset execution mode to create a single native dataset per executor (singleton) to reduce memory and communication overhead.

◆ GetValidationIndicatorCol()

string Synapse.ML.Lightgbm.LightGBMRegressor.GetValidationIndicatorCol ( )

Gets validationIndicatorCol value

Returns
validationIndicatorCol: Indicates whether the row is for training or validation

◆ GetVerbosity()

int Synapse.ML.Lightgbm.LightGBMRegressor.GetVerbosity ( )

Gets verbosity value

Returns
verbosity: Verbosity where lt 0 is Fatal, eq 0 is Error, eq 1 is Info, gt 1 is Debug

◆ GetWeightCol()

string Synapse.ML.Lightgbm.LightGBMRegressor.GetWeightCol ( )

Gets weightCol value

Returns
weightCol: The name of the weight column

◆ GetXGBoostDartMode()

bool Synapse.ML.Lightgbm.LightGBMRegressor.GetXGBoostDartMode ( )

Gets xGBoostDartMode value

Returns
xGBoostDartMode: Set this to true to use xgboost dart mode

◆ GetZeroAsMissing()

bool Synapse.ML.Lightgbm.LightGBMRegressor.GetZeroAsMissing ( )

Gets zeroAsMissing value

Returns
zeroAsMissing: Set to true to treat all zero as missing values (including the unshown values in LibSVM / sparse matrices). Set to false to use na for representing missing values

◆ Load()

static LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.Load ( string  path)
static

Loads the LightGBMRegressor that was previously saved using Save(string).

Parameters
pathThe path the previous LightGBMRegressor was saved to
Returns
New LightGBMRegressor object, loaded from path.

◆ Read()

JavaMLReader<LightGBMRegressor> Synapse.ML.Lightgbm.LightGBMRegressor.Read ( )

Get the corresponding JavaMLReader instance.

Returns
an JavaMLReader<LightGBMRegressor> instance for this ML instance.

◆ Save()

void Synapse.ML.Lightgbm.LightGBMRegressor.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
pathThe path to save the object to

◆ SetAlpha()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetAlpha ( double  value)

Sets value for alpha

Parameters
valueparameter for Huber loss and Quantile regression
Returns
New LightGBMRegressor object

◆ SetBaggingFraction()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetBaggingFraction ( double  value)

Sets value for baggingFraction

Parameters
valueBagging fraction
Returns
New LightGBMRegressor object

◆ SetBaggingFreq()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetBaggingFreq ( int  value)

Sets value for baggingFreq

Parameters
valueBagging frequency
Returns
New LightGBMRegressor object

◆ SetBaggingSeed()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetBaggingSeed ( int  value)

Sets value for baggingSeed

Parameters
valueBagging seed
Returns
New LightGBMRegressor object

◆ SetBinSampleCount()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetBinSampleCount ( int  value)

Sets value for binSampleCount

Parameters
valueNumber of samples considered at computing histogram bins
Returns
New LightGBMRegressor object

◆ SetBoostFromAverage()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetBoostFromAverage ( bool  value)

Sets value for boostFromAverage

Parameters
valueAdjusts initial score to the mean of labels for faster convergence
Returns
New LightGBMRegressor object

◆ SetBoostingType()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetBoostingType ( string  value)

Sets value for boostingType

Parameters
valueDefault gbdt = traditional Gradient Boosting Decision Tree. Options are: gbdt, gbrt, rf (Random Forest), random_forest, dart (Dropouts meet Multiple Additive Regression Trees), goss (Gradient-based One-Side Sampling).
Returns
New LightGBMRegressor object

◆ SetCategoricalSlotIndexes()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetCategoricalSlotIndexes ( int []  value)

Sets value for categoricalSlotIndexes

Parameters
valueList of categorical column indexes, the slot index in the features column
Returns
New LightGBMRegressor object

◆ SetCategoricalSlotNames()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetCategoricalSlotNames ( string []  value)

Sets value for categoricalSlotNames

Parameters
valueList of categorical column slot names, the slot name in the features column
Returns
New LightGBMRegressor object

◆ SetCatl2()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetCatl2 ( double  value)

Sets value for catl2

Parameters
valueL2 regularization in categorical split
Returns
New LightGBMRegressor object

◆ SetCatSmooth()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetCatSmooth ( double  value)

Sets value for catSmooth

Parameters
valuethis can reduce the effect of noises in categorical features, especially for categories with few data
Returns
New LightGBMRegressor object

◆ SetChunkSize()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetChunkSize ( int  value)

Sets value for chunkSize

Parameters
valueAdvanced parameter to specify the chunk size for copying Java data to native. If set too high, memory may be wasted, but if set too low, performance may be reduced during data copy.If dataset size is known beforehand, set to the number of rows in the dataset.
Returns
New LightGBMRegressor object

◆ SetDataRandomSeed()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetDataRandomSeed ( int  value)

Sets value for dataRandomSeed

Parameters
valueRandom seed for sampling data to construct histogram bins.
Returns
New LightGBMRegressor object

◆ SetDefaultListenPort()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetDefaultListenPort ( int  value)

Sets value for defaultListenPort

Parameters
valueThe default listen port on executors, used for testing
Returns
New LightGBMRegressor object

◆ SetDeterministic()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetDeterministic ( bool  value)

Sets value for deterministic

Parameters
valueUsed only with cpu devide type. Setting this to true should ensure stable results when using the same data and the same parameters. Note: setting this to true may slow down training. To avoid potential instability due to numerical issues, please set force_col_wise=true or force_row_wise=true when setting deterministic=true
Returns
New LightGBMRegressor object

◆ SetDriverListenPort()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetDriverListenPort ( int  value)

Sets value for driverListenPort

Parameters
valueThe listen port on a driver. Default value is 0 (random)
Returns
New LightGBMRegressor object

◆ SetDropRate()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetDropRate ( double  value)

Sets value for dropRate

Parameters
valueDropout rate: a fraction of previous trees to drop during the dropout
Returns
New LightGBMRegressor object

◆ SetDropSeed()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetDropSeed ( int  value)

Sets value for dropSeed

Parameters
valueRandom seed to choose dropping models. Only used in dart.
Returns
New LightGBMRegressor object

◆ SetEarlyStoppingRound()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetEarlyStoppingRound ( int  value)

Sets value for earlyStoppingRound

Parameters
valueEarly stopping round
Returns
New LightGBMRegressor object

◆ SetExecutionMode()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetExecutionMode ( string  value)

Sets value for executionMode

Parameters
valueSpecify how LightGBM is executed. Values can be streaming, bulk. Default is bulk.
Returns
New LightGBMRegressor object

◆ SetExtraSeed()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetExtraSeed ( int  value)

Sets value for extraSeed

Parameters
valueRandom seed for selecting threshold when extra_trees is true
Returns
New LightGBMRegressor object

◆ SetFeatureFraction()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetFeatureFraction ( double  value)

Sets value for featureFraction

Parameters
valueFeature fraction
Returns
New LightGBMRegressor object

◆ SetFeatureFractionByNode()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetFeatureFractionByNode ( double  value)

Sets value for featureFractionByNode

Parameters
valueFeature fraction by node
Returns
New LightGBMRegressor object

◆ SetFeatureFractionSeed()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetFeatureFractionSeed ( int  value)

Sets value for featureFractionSeed

Parameters
valueFeature fraction seed
Returns
New LightGBMRegressor object

◆ SetFeaturesCol()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetFeaturesCol ( string  value)

Sets value for featuresCol

Parameters
valuefeatures column name
Returns
New LightGBMRegressor object

◆ SetFeaturesShapCol()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetFeaturesShapCol ( string  value)

Sets value for featuresShapCol

Parameters
valueOutput SHAP vector column name after prediction containing the feature contribution values
Returns
New LightGBMRegressor object

◆ SetFobj()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetFobj ( object  value)

Sets value for fobj

Parameters
valueCustomized objective function. Should accept two parameters: preds, train_data, and return (grad, hess).
Returns
New LightGBMRegressor object

◆ SetImprovementTolerance()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetImprovementTolerance ( double  value)

Sets value for improvementTolerance

Parameters
valueTolerance to consider improvement in metric
Returns
New LightGBMRegressor object

◆ SetInitScoreCol()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetInitScoreCol ( string  value)

Sets value for initScoreCol

Parameters
valueThe name of the initial score column, used for continued training
Returns
New LightGBMRegressor object

◆ SetIsEnableSparse()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetIsEnableSparse ( bool  value)

Sets value for isEnableSparse

Parameters
valueUsed to enable/disable sparse optimization
Returns
New LightGBMRegressor object

◆ SetIsProvideTrainingMetric()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetIsProvideTrainingMetric ( bool  value)

Sets value for isProvideTrainingMetric

Parameters
valueWhether output metric result over training dataset.
Returns
New LightGBMRegressor object

◆ SetLabelCol()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetLabelCol ( string  value)

Sets value for labelCol

Parameters
valuelabel column name
Returns
New LightGBMRegressor object

◆ SetLambdaL1()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetLambdaL1 ( double  value)

Sets value for lambdaL1

Parameters
valueL1 regularization
Returns
New LightGBMRegressor object

◆ SetLambdaL2()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetLambdaL2 ( double  value)

Sets value for lambdaL2

Parameters
valueL2 regularization
Returns
New LightGBMRegressor object

◆ SetLeafPredictionCol()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetLeafPredictionCol ( string  value)

Sets value for leafPredictionCol

Parameters
valuePredicted leaf indices's column name
Returns
New LightGBMRegressor object

◆ SetLearningRate()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetLearningRate ( double  value)

Sets value for learningRate

Parameters
valueLearning rate or shrinkage rate
Returns
New LightGBMRegressor object

◆ SetMatrixType()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetMatrixType ( string  value)

Sets value for matrixType

Parameters
valueAdvanced parameter to specify whether the native lightgbm matrix constructed should be sparse or dense. Values can be auto, sparse or dense. Default value is auto, which samples first ten rows to determine type.
Returns
New LightGBMRegressor object

◆ SetMaxBin()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetMaxBin ( int  value)

Sets value for maxBin

Parameters
valueMax bin
Returns
New LightGBMRegressor object

◆ SetMaxBinByFeature()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetMaxBinByFeature ( int []  value)

Sets value for maxBinByFeature

Parameters
valueMax number of bins for each feature
Returns
New LightGBMRegressor object

◆ SetMaxCatThreshold()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetMaxCatThreshold ( int  value)

Sets value for maxCatThreshold

Parameters
valuelimit number of split points considered for categorical features
Returns
New LightGBMRegressor object

◆ SetMaxCatToOnehot()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetMaxCatToOnehot ( int  value)

Sets value for maxCatToOnehot

Parameters
valuewhen number of categories of one feature smaller than or equal to this, one-vs-other split algorithm will be used
Returns
New LightGBMRegressor object

◆ SetMaxDeltaStep()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetMaxDeltaStep ( double  value)

Sets value for maxDeltaStep

Parameters
valueUsed to limit the max output of tree leaves
Returns
New LightGBMRegressor object

◆ SetMaxDepth()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetMaxDepth ( int  value)

Sets value for maxDepth

Parameters
valueMax depth
Returns
New LightGBMRegressor object

◆ SetMaxDrop()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetMaxDrop ( int  value)

Sets value for maxDrop

Parameters
valueMax number of dropped trees during one boosting iteration
Returns
New LightGBMRegressor object

◆ SetMetric()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetMetric ( string  value)

Sets value for metric

Parameters
valueMetrics to be evaluated on the evaluation data. Options are: empty string or not specified means that metric corresponding to specified objective will be used (this is possible only for pre-defined objective functions, otherwise no evaluation metric will be added). None (string, not a None value) means that no metric will be registered, aliases: na, null, custom. l1, absolute loss, aliases: mean_absolute_error, mae, regression_l1. l2, square loss, aliases: mean_squared_error, mse, regression_l2, regression. rmse, root square loss, aliases: root_mean_squared_error, l2_root. quantile, Quantile regression. mape, MAPE loss, aliases: mean_absolute_percentage_error. huber, Huber loss. fair, Fair loss. poisson, negative log-likelihood for Poisson regression. gamma, negative log-likelihood for Gamma regression. gamma_deviance, residual deviance for Gamma regression. tweedie, negative log-likelihood for Tweedie regression. ndcg, NDCG, aliases: lambdarank. map, MAP, aliases: mean_average_precision. auc, AUC. binary_logloss, log loss, aliases: binary. binary_error, for one sample: 0 for correct classification, 1 for error classification. multi_logloss, log loss for multi-class classification, aliases: multiclass, softmax, multiclassova, multiclass_ova, ova, ovr. multi_error, error rate for multi-class classification. cross_entropy, cross-entropy (with optional linear weights), aliases: xentropy. cross_entropy_lambda, intensity-weighted cross-entropy, aliases: xentlambda. kullback_leibler, Kullback-Leibler divergence, aliases: kldiv.
Returns
New LightGBMRegressor object

◆ SetMicroBatchSize()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetMicroBatchSize ( int  value)

Sets value for microBatchSize

Parameters
valueSpecify how many elements are sent in a streaming micro-batch.
Returns
New LightGBMRegressor object

◆ SetMinDataInLeaf()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetMinDataInLeaf ( int  value)

Sets value for minDataInLeaf

Parameters
valueMinimal number of data in one leaf. Can be used to deal with over-fitting.
Returns
New LightGBMRegressor object

◆ SetMinDataPerBin()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetMinDataPerBin ( int  value)

Sets value for minDataPerBin

Parameters
valueMinimal number of data inside one bin
Returns
New LightGBMRegressor object

◆ SetMinDataPerGroup()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetMinDataPerGroup ( int  value)

Sets value for minDataPerGroup

Parameters
valueminimal number of data per categorical group
Returns
New LightGBMRegressor object

◆ SetMinGainToSplit()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetMinGainToSplit ( double  value)

Sets value for minGainToSplit

Parameters
valueThe minimal gain to perform split
Returns
New LightGBMRegressor object

◆ SetMinSumHessianInLeaf()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetMinSumHessianInLeaf ( double  value)

Sets value for minSumHessianInLeaf

Parameters
valueMinimal sum hessian in one leaf
Returns
New LightGBMRegressor object

◆ SetModelString()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetModelString ( string  value)

Sets value for modelString

Parameters
valueLightGBM model to retrain
Returns
New LightGBMRegressor object

◆ SetMonotoneConstraints()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetMonotoneConstraints ( int []  value)

Sets value for monotoneConstraints

Parameters
valueused for constraints of monotonic features. 1 means increasing, -1 means decreasing, 0 means non-constraint. Specify all features in order.
Returns
New LightGBMRegressor object

◆ SetMonotoneConstraintsMethod()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetMonotoneConstraintsMethod ( string  value)

Sets value for monotoneConstraintsMethod

Parameters
valueMonotone constraints method. basic, intermediate, or advanced.
Returns
New LightGBMRegressor object

◆ SetMonotonePenalty()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetMonotonePenalty ( double  value)

Sets value for monotonePenalty

Parameters
valueA penalization parameter X forbids any monotone splits on the first X (rounded down) level(s) of the tree.
Returns
New LightGBMRegressor object

◆ SetNegBaggingFraction()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetNegBaggingFraction ( double  value)

Sets value for negBaggingFraction

Parameters
valueNegative Bagging fraction
Returns
New LightGBMRegressor object

◆ SetNumBatches()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetNumBatches ( int  value)

Sets value for numBatches

Parameters
valueIf greater than 0, splits data into separate batches during training
Returns
New LightGBMRegressor object

◆ SetNumIterations()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetNumIterations ( int  value)

Sets value for numIterations

Parameters
valueNumber of iterations, LightGBM constructs num_class * num_iterations trees
Returns
New LightGBMRegressor object

◆ SetNumLeaves()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetNumLeaves ( int  value)

Sets value for numLeaves

Parameters
valueNumber of leaves
Returns
New LightGBMRegressor object

◆ SetNumTasks()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetNumTasks ( int  value)

Sets value for numTasks

Parameters
valueAdvanced parameter to specify the number of tasks. SynapseML tries to guess this based on cluster configuration, but this parameter can be used to override.
Returns
New LightGBMRegressor object

◆ SetNumThreads()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetNumThreads ( int  value)

Sets value for numThreads

Parameters
valueNumber of threads per executor for LightGBM. For the best speed, set this to the number of real CPU cores.
Returns
New LightGBMRegressor object

◆ SetObjective()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetObjective ( string  value)

Sets value for objective

Parameters
valueThe Objective. For regression applications, this can be: regression_l2, regression_l1, huber, fair, poisson, quantile, mape, gamma or tweedie. For classification applications, this can be: binary, multiclass, or multiclassova.
Returns
New LightGBMRegressor object

◆ SetObjectiveSeed()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetObjectiveSeed ( int  value)

Sets value for objectiveSeed

Parameters
valueRandom seed for objectives, if random process is needed. Currently used only for rank_xendcg objective.
Returns
New LightGBMRegressor object

◆ SetOtherRate()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetOtherRate ( double  value)

Sets value for otherRate

Parameters
valueThe retain ratio of small gradient data. Only used in goss.
Returns
New LightGBMRegressor object

◆ SetParallelism()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetParallelism ( string  value)

Sets value for parallelism

Parameters
valueTree learner parallelism, can be set to data_parallel or voting_parallel
Returns
New LightGBMRegressor object

◆ SetPassThroughArgs()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetPassThroughArgs ( string  value)

Sets value for passThroughArgs

Parameters
valueDirect string to pass through to LightGBM library (appended with other explicitly set params). Will override any parameters given with explicit setters. Can include multiple parameters in one string.
Returns
New LightGBMRegressor object

◆ SetPosBaggingFraction()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetPosBaggingFraction ( double  value)

Sets value for posBaggingFraction

Parameters
valuePositive Bagging fraction
Returns
New LightGBMRegressor object

◆ SetPredictDisableShapeCheck()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetPredictDisableShapeCheck ( bool  value)

Sets value for predictDisableShapeCheck

Parameters
valuecontrol 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 LightGBMRegressor object

◆ SetPredictionCol()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetPredictionCol ( string  value)

Sets value for predictionCol

Parameters
valueprediction column name
Returns
New LightGBMRegressor object

◆ SetRepartitionByGroupingColumn()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetRepartitionByGroupingColumn ( bool  value)

Sets value for repartitionByGroupingColumn

Parameters
valueRepartition training data according to grouping column, on by default.
Returns
New LightGBMRegressor object

◆ SetSeed()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetSeed ( int  value)

Sets value for seed

Parameters
valueMain seed, used to generate other seeds
Returns
New LightGBMRegressor object

◆ SetSkipDrop()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetSkipDrop ( double  value)

Sets value for skipDrop

Parameters
valueProbability of skipping the dropout procedure during a boosting iteration
Returns
New LightGBMRegressor object

◆ SetSlotNames()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetSlotNames ( string []  value)

Sets value for slotNames

Parameters
valueList of slot names in the features column
Returns
New LightGBMRegressor object

◆ SetTimeout()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetTimeout ( double  value)

Sets value for timeout

Parameters
valueTimeout in seconds
Returns
New LightGBMRegressor object

◆ SetTopK()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetTopK ( int  value)

Sets value for topK

Parameters
valueThe top_k value used in Voting parallel, set this to larger value for more accurate result, but it will slow down the training speed. It should be greater than 0
Returns
New LightGBMRegressor object

◆ SetTopRate()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetTopRate ( double  value)

Sets value for topRate

Parameters
valueThe retain ratio of large gradient data. Only used in goss.
Returns
New LightGBMRegressor object

◆ SetTweedieVariancePower()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetTweedieVariancePower ( double  value)

Sets value for tweedieVariancePower

Parameters
valuecontrol the variance of tweedie distribution, must be between 1 and 2
Returns
New LightGBMRegressor object

◆ SetUniformDrop()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetUniformDrop ( bool  value)

Sets value for uniformDrop

Parameters
valueSet this to true to use uniform drop in dart mode
Returns
New LightGBMRegressor object

◆ SetUseBarrierExecutionMode()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetUseBarrierExecutionMode ( bool  value)

Sets value for useBarrierExecutionMode

Parameters
valueBarrier execution mode which uses a barrier stage, off by default.
Returns
New LightGBMRegressor object

◆ SetUseMissing()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetUseMissing ( bool  value)

Sets value for useMissing

Parameters
valueSet this to false to disable the special handle of missing value
Returns
New LightGBMRegressor object

◆ SetUseSingleDatasetMode()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetUseSingleDatasetMode ( bool  value)

Sets value for useSingleDatasetMode

Parameters
valueUse single dataset execution mode to create a single native dataset per executor (singleton) to reduce memory and communication overhead.
Returns
New LightGBMRegressor object

◆ SetValidationIndicatorCol()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetValidationIndicatorCol ( string  value)

Sets value for validationIndicatorCol

Parameters
valueIndicates whether the row is for training or validation
Returns
New LightGBMRegressor object

◆ SetVerbosity()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetVerbosity ( int  value)

Sets value for verbosity

Parameters
valueVerbosity where lt 0 is Fatal, eq 0 is Error, eq 1 is Info, gt 1 is Debug
Returns
New LightGBMRegressor object

◆ SetWeightCol()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetWeightCol ( string  value)

Sets value for weightCol

Parameters
valueThe name of the weight column
Returns
New LightGBMRegressor object

◆ SetXGBoostDartMode()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetXGBoostDartMode ( bool  value)

Sets value for xGBoostDartMode

Parameters
valueSet this to true to use xgboost dart mode
Returns
New LightGBMRegressor object

◆ SetZeroAsMissing()

LightGBMRegressor Synapse.ML.Lightgbm.LightGBMRegressor.SetZeroAsMissing ( bool  value)

Sets value for zeroAsMissing

Parameters
valueSet to true to treat all zero as missing values (including the unshown values in LibSVM / sparse matrices). Set to false to use na for representing missing values
Returns
New LightGBMRegressor object

The documentation for this class was generated from the following file: