Skip to content

A py3 code that implements a 2-class kNN classifier with an IB2 created case base

License

Notifications You must be signed in to change notification settings

ranjiGT/kNearestNeighbors-IB2

Repository files navigation

kNearestNeighbors as IB-2 classifier

A py3 code that implements a 2-class kNN classifier with an IB2 created case base

Execute as: python3 student.py --data Example-shuffled.csv --k 4

Math path

KNN

Output

OP4

Bonus

KNN

WKNN

Run Dockerfile

docker run -it python-knn-minidocker:1.0 python3 kNN.py --data Example-shuffled.csv --k 4