An open API service indexing awesome lists of open source software.

https://github.com/baschin1103/knn-classification-sqlalchemy

Example-Script to load data from a database and classify by the K-Nearest Neighbor (KNN) Algorithm.
https://github.com/baschin1103/knn-classification-sqlalchemy

database knn-classification labelencoder machine-learning ordinal-classification pandas sql sqlalchemy

Last synced: about 1 month ago
JSON representation

Example-Script to load data from a database and classify by the K-Nearest Neighbor (KNN) Algorithm.

Awesome Lists containing this project

README

        

Example-Script to classify players from hattrick.org by the K-Nearest Neighbor (KNN) Algorithm. The data is taken from a database I created before in another project (Players-Database-Hattrick). The target-variable Führungsqualitäten (engl. leadership qualities) could have been in a separate table in the database-design.
I decided not to do this because it is not a case of (vertical) string-replication. The connection is done with the library called sqlalchemy.