This is a Cluster Based Unsupervised Learning that creates cluster centroids from user inputs. The goal of this project is to use PHP to demonstrate both server side and client side security.
This project can be ran with XAMPP as a web server and database. To install follow these steps: Install from https://www.apachefriends.org/download.html Start the Apache Web Server and the MySQL database Move the project to the htdocs in the xampp directory
Some security measures and features considered:
- Client side validation
- Sessions
- Salting passwords and hashing
- Sanitizing inputs to prevent SQL injections
Sign up to MySQL database that validates new user
Create a model by inputting some coordinates through manual input, text input or both.
Train the model by specifying how many clusters you want.
Calculate the centroids of that model using K means algorithm
You can now test the model with some of your own data to see which model it belongs to.




