21 references to Check
Microsoft.ML.LightGbm (21)
LightGbmTrainerBase.cs (2)
482
LightGbmInterfaceUtils.
Check
(WrappedLightGbmInterface.NetworkInitWithFunctions(
494
LightGbmInterfaceUtils.
Check
(WrappedLightGbmInterface.NetworkFree());
WrappedLightGbmBooster.cs (7)
28
LightGbmInterfaceUtils.
Check
(WrappedLightGbmInterface.BoosterCreate(trainset.Handle, param, out var handle));
32
LightGbmInterfaceUtils.
Check
(WrappedLightGbmInterface.BoosterAddValidData(Handle, validset.Handle));
38
LightGbmInterfaceUtils.
Check
(WrappedLightGbmInterface.BoosterGetEvalCounts(Handle, ref numEval));
48
LightGbmInterfaceUtils.
Check
(WrappedLightGbmInterface.BoosterUpdateOneIter(Handle, ref isFinished));
72
LightGbmInterfaceUtils.
Check
(WrappedLightGbmInterface.BoosterGetEval(Handle, dataIdx, ref outLen, ptr));
83
LightGbmInterfaceUtils.
Check
(WrappedLightGbmInterface.BoosterSaveModelToString(Handle, 0, BestIteration, 0, bufLen, ref size, ptr));
90
LightGbmInterfaceUtils.
Check
(WrappedLightGbmInterface.BoosterSaveModelToString(Handle, 0, BestIteration, 0, bufLen, ref size, ptr));
WrappedLightGbmDataset.cs (10)
69
LightGbmInterfaceUtils.
Check
(WrappedLightGbmInterface.DatasetCreateFromSampledColumn(
97
LightGbmInterfaceUtils.
Check
(WrappedLightGbmInterface.DatasetCreateByReference(refHandle, numTotalRow, out _handle));
124
LightGbmInterfaceUtils.
Check
(WrappedLightGbmInterface.DatasetPushRows(_handle, data, numRow, numCol, startRowIdx));
134
LightGbmInterfaceUtils.
Check
(
143
LightGbmInterfaceUtils.
Check
(WrappedLightGbmInterface.DatasetGetNumData(_handle, ref res));
150
LightGbmInterfaceUtils.
Check
(WrappedLightGbmInterface.DatasetGetNumFeature(_handle, ref res));
159
LightGbmInterfaceUtils.
Check
(WrappedLightGbmInterface.DatasetSetField(_handle, "label", (IntPtr)ptr, labels.Length,
181
LightGbmInterfaceUtils.
Check
(WrappedLightGbmInterface.DatasetSetField(_handle, "weight", (IntPtr)ptr, weights.Length,
192
LightGbmInterfaceUtils.
Check
(WrappedLightGbmInterface.DatasetSetField(_handle, "group", (IntPtr)ptr, groups.Length,
204
LightGbmInterfaceUtils.
Check
(WrappedLightGbmInterface.DatasetSetField(_handle, "init_score", (IntPtr)ptr, initScores.Length,
WrappedLightGbmInterface.cs (2)
79
LightGbmInterfaceUtils.
Check
(DatasetFree(handle));
173
LightGbmInterfaceUtils.
Check
(BoosterFree(handle));