Function catboost2_sys::PredictSpecificClassFlat
source · [−]pub unsafe extern "C" fn PredictSpecificClassFlat(
modelHandle: *mut ModelCalcerHandle,
docCount: size_t,
floatFeatures: *mut *const f32,
floatFeaturesSize: size_t,
classId: c_int,
result: *mut f64,
resultSize: size_t
) -> bool
Expand description
Methods equivalent to the methods above only returning a prediction for the specific class @param classId number of the class should be in [0, modelApproxDimension - 1] @param resultSize result size should be equal to docCount