Property | Type | Description | |
---|---|---|---|
Booster | System | ||
Eval | double | ||
GetDefaultValue | double[] | ||
GetHasMissing | bool | ||
GetIsCategoricalSplit | bool | ||
GetIsDefaultLeft | bool | ||
GetModel | System | ||
GetModelJSON | string | ||
NextDown | double | ||
NextUp | double | ||
Str2DoubleArray | double[] | ||
Str2IntArray | int[] | ||
Str2UIntArray | uint[] |
Method | Description | |
---|---|---|
Booster ( Parameters parameters, LightGBMNet.Train.Dataset trainset, LightGBMNet.Train.Dataset validset = null ) : System | ||
CalcNumPredict ( int numRow, PredictType predType, int numIteration ) : long | ||
Clone ( ) : |
Clones the Booster object
|
|
Dispose ( ) : void | ||
EvalTrain ( ) : double | ||
EvalValid ( ) : double | ||
FromFile ( string fileName ) : |
||
FromString ( string model ) : |
||
GetFeatureImportance ( int numIteration, ImportanceType importanceType ) : double[] | ||
GetLeafValue ( int treeIdx, int leafIdx ) : double | ||
GetModelString ( ) : string | ||
GetNumPredict ( int dataIdx ) : long | ||
GetPredict ( int dataIdx ) : double[] | ||
MergeWith ( |
||
PredictForMat ( PredictType predictType, Array data, int startIteration, int numIteration ) : double[] | ||
PredictForMats ( PredictType predictType, Array data, int startIteration, int numIteration, int numThreads ) : double[] | ||
PredictForMatsMulti ( PredictType predictType, Array data, int startIteration, int numIteration ) : ].double[ | ||
Refit ( ].int[ leafPreds ) : void | ||
ResetParameter ( Parameters pms ) : void | ||
ResetTrainingData ( Dataset trainset ) : void | ||
RollbackOneIter ( ) : void | ||
SaveModel ( int startIteration, int numIteration, string fileName ) : void | ||
SetLeafValue ( int treeIdx, int leafIdx, double val ) : void | ||
SetLearningRate ( double learningRate ) : void | ||
ShuffleModels ( ) : void | ||
Update ( ) : bool | ||
UpdateCustom ( Array grad, Array hess ) : bool |
Method | Description | |
---|---|---|
Booster ( IntPtr h, int bestIteration ) : System | ||
Eval ( int dataIdx ) : double | ||
GetDefaultValue ( Array threshold, Array decisionType ) : double[] | ||
GetHasMissing ( uint decisionType ) : bool | ||
GetIsCategoricalSplit ( uint decisionType ) : bool | ||
GetIsDefaultLeft ( uint decisionType ) : bool | ||
GetModel ( ) : System | ||
GetModelJSON ( int startIteration, int numIteration ) : string | ||
NextDown ( double x ) : double | ||
NextUp ( double x ) : double | ||
Str2DoubleArray ( string str, Array delimiters ) : double[] | ||
Str2IntArray ( string str, Array delimiters ) : int[] | ||
Str2UIntArray ( string str, Array delimiters ) : uint[] |
public Booster ( Parameters parameters, LightGBMNet.Train.Dataset trainset, LightGBMNet.Train.Dataset validset = null ) : System | ||
parameters | Parameters | |
trainset | LightGBMNet.Train.Dataset | |
validset | LightGBMNet.Train.Dataset | |
return | System |
public CalcNumPredict ( int numRow, PredictType predType, int numIteration ) : long | ||
numRow | int | |
predType | PredictType | |
numIteration | int | |
return | long |
public static FromFile ( string fileName ) : |
||
fileName | string | |
return |
public static FromString ( string model ) : |
||
model | string | |
return |
public GetFeatureImportance ( int numIteration, ImportanceType importanceType ) : double[] | ||
numIteration | int | |
importanceType | ImportanceType | |
return | double[] |
public GetLeafValue ( int treeIdx, int leafIdx ) : double | ||
treeIdx | int | |
leafIdx | int | |
return | double |
public PredictForMat ( PredictType predictType, Array data, int startIteration, int numIteration ) : double[] | ||
predictType | PredictType | |
data | Array | |
startIteration | int | |
numIteration | int | |
return | double[] |
public PredictForMats ( PredictType predictType, Array data, int startIteration, int numIteration, int numThreads ) : double[] | ||
predictType | PredictType | |
data | Array | |
startIteration | int | |
numIteration | int | |
numThreads | int | |
return | double[] |
public PredictForMatsMulti ( PredictType predictType, Array data, int startIteration, int numIteration ) : ].double[ | ||
predictType | PredictType | |
data | Array | |
startIteration | int | |
numIteration | int | |
return | ].double[ |
public ResetParameter ( Parameters pms ) : void | ||
pms | Parameters | |
return | void |
public ResetTrainingData ( Dataset trainset ) : void | ||
trainset | Dataset | |
return | void |
public SaveModel ( int startIteration, int numIteration, string fileName ) : void | ||
startIteration | int | |
numIteration | int | |
fileName | string | |
return | void |
public SetLeafValue ( int treeIdx, int leafIdx, double val ) : void | ||
treeIdx | int | |
leafIdx | int | |
val | double | |
return | void |
public SetLearningRate ( double learningRate ) : void | ||
learningRate | double | |
return | void |
public UpdateCustom ( Array grad, Array hess ) : bool | ||
grad | Array | |
hess | Array | |
return | bool |