Preditcs player's playing position - Minimalistic app build on trained model with k-Nearest Neighbors algorithm.
Charlie Jackson:
- K-Nearest Neighbors is a clustering algorithm used to classify new data based upon its 'closeness' to other laballed data points.
- As it uses labeled data to make predictions on new data, it is a supervised learning technique.
- The features for k-Nearest Neighbor algorithm must be continous rather than categorical.
For example, clustering based on centroids position, figure below self-explains the idea behind, (however, not from the current example tried here)
Note
Try the app here [app is under development]
- https://charlieojackson.co.uk/python/predicting-football-positions.php?fbclid=IwAR34jqESq_86XzCuVtn7E9SgN4t3nQHhQMWscpjvrthagEG0fufHOCazFjs
- https://www.kaggle.com/code/bennyf/player-position-classification/notebook?fbclid=IwAR34d_eC313oW0rkNQL3jTb0F_Oozs7zGuVwCCWatZf-gGjsWtu4mlEltN8
- https://www.kaggle.com/datasets/stefanoleone992/fifa-22-complete-player-dataset?select=players_22.csv
- https://www.kaggle.com/datasets/stefanoleone992/fifa-20-complete-player-dataset
Note