2 writes to CategoricalBoudaries
Microsoft.ML.LightGbm (2)
LightGbmTrainerBase.cs (2)
577
catMetaData.
CategoricalBoudaries
= catBoundaries.ToArray();
630
catMetaData.
CategoricalBoudaries
= null;
15 references to CategoricalBoudaries
Microsoft.ML.LightGbm (15)
LightGbmTrainerBase.cs (15)
585
var numCat = catMetaData.
CategoricalBoudaries
[i + 1] - catMetaData.
CategoricalBoudaries
[i];
591
for (int k = catMetaData.
CategoricalBoudaries
[i]; k < catMetaData.
CategoricalBoudaries
[i + 1]; ++k)
594
catMetaData.OnehotBias[j] = k - catMetaData.
CategoricalBoudaries
[i];
654
GetDefaultParameters(ch, numRow, catMetaData.
CategoricalBoudaries
!= null, catMetaData.TotalCats);
715
TrainedEnsemble = Booster.GetModel(catMetaData.
CategoricalBoudaries
, bst.GetModelString());
825
if (catMetaData.
CategoricalBoudaries
!= null)
830
float fv = cursorFeaturesValues[catMetaData.
CategoricalBoudaries
[i]];
833
int hotIdx = catMetaData.
CategoricalBoudaries
[i] - 1;
835
for (int j = catMetaData.
CategoricalBoudaries
[i]; j < catMetaData.
CategoricalBoudaries
[i + 1]; ++j)
847
fv = hotIdx - catMetaData.
CategoricalBoudaries
[i];
865
if (catMetaData.
CategoricalBoudaries
!= null)
1112
if (catMetaData.
CategoricalBoudaries
!= null)