/KNN-ASSIGNMENT-13-Q1

This code includes reading the data file, data visualization, variable splitting, model building, prediction and different metrics calculation using knn.

Primary LanguagePython

Prepare a model for glass classification using KNN.

Data Description:

RI: refractive index
Na: Sodium (unit measurement: weight percent in corresponding oxide, as are attributes 4-10)
Mg: Magnesium
AI: Aluminum
Si: Silicon
K: Potassium
Ca: Calcium
Ba: Barium
Fe: Iron

Type: Type of glass: (class attribute)
1 -- building_windows_float_processed
2 --building_windows_non_float_processed
3 --vehicle_windows_float_processed
4 --vehicle_windows_non_float_processed (none in this database)
5 --containers
6 --tableware
7 --headlamps