2 writes to BestIteration
Microsoft.ML.LightGbm (2)
WrappedLightGbmBooster.cs (1)
37BestIteration = -1;
WrappedLightGbmTraining.cs (1)
110bst.BestIteration = bestIter + 1;
2 references to BestIteration
Microsoft.ML.LightGbm (2)
WrappedLightGbmBooster.cs (2)
83LightGbmInterfaceUtils.Check(WrappedLightGbmInterface.BoosterSaveModelToString(Handle, 0, BestIteration, 0, bufLen, ref size, ptr)); 90LightGbmInterfaceUtils.Check(WrappedLightGbmInterface.BoosterSaveModelToString(Handle, 0, BestIteration, 0, bufLen, ref size, ptr));