Пример #1
0
        private void SetFloatInfo(string field, float[] floatInfo)
        {
            ulong len    = (ulong)floatInfo.Length;
            int   output = XGBoostNative.XGDMatrixSetFloatInfo(_handle, field, floatInfo, len);

            if (output == -1)
            {
                throw new DllFailException(XGBoostNative.XGBGetLastError());
            }
        }