KNearestAsync extension

on

Methods

calcErrorAsync(TrainData data, bool test) → Future<(double, Mat)>

Available on KNearest, provided by the KNearestAsync extension

findNearestAsync(Mat samples, int k) → Future<(Mat, Mat, Mat)>

Available on KNearest, provided by the KNearestAsync extension

predictAsync(Mat samples, {int flags = 0}) → Future<Mat>

Available on KNearest, provided by the KNearestAsync extension

trainAsync(Mat samples, int layout, Mat responses) → Future<bool>

Available on KNearest, provided by the KNearestAsync extension

trainWithDataAsync(TrainData data, {int flags = 0}) → Future<bool>

Available on KNearest, provided by the KNearestAsync extension