gnu-octave / statistics

The Statistics package for GNU Octave
GNU General Public License v3.0
25 stars 24 forks source link

Classdef classificationKNN to represent a kNN model and function fitcknn to fit values into a kNN model #107

Closed AZM999 closed 1 year ago

AZM999 commented 1 year ago

classdef classificationKNN to represent a kNN model, with properties and inbuilt methods to calculate and predict labels. added BISTs , Output tests and a demo. classdef has a problem that the protected properties can be accessed via object of classdef.

fitcknn fits values of kNN model into an object that can be used to predict labels, added BISTs and demo.