Car Image Classifier
K Nearest Neighbors Algorithm
The K Nearest Neighbors Algorithm, is a supervised machine learning algorithm. It compares a new data point with all of its training data to find the unlabelled data point's K nearest neighbors. Each feature of the compared data points are entered into the distance formula. The K number of data points with the shortest distance from the unlabelled data point are selected. The unlabelled data point is labelled with the class that the majority of its K nearest neighbors have.
Upload an image of an Audi, Hyundai, or Toyota car and the classifier will determine which of these brands it is!
Electric Vehicle Efficiency Predictor
Bagging Regression
Using top speed, torque, fast charging power, height, and body style data from 478 EV models, this bagging regressor was trained to predict EV Efficiency. The Bagging Regressor uses 50 K-Neighbors Regressors to make its final prediction. Sequential Forward Selection was used to select 5 features. Grid Search was used to select 50 estimators. The validation R Squared score of this model is 0.78.