https://github.com/hansyagarwal/crimepredictionsystem
Crime Prediction System in PHP
https://github.com/hansyagarwal/crimepredictionsystem
algorithms apriori decision-tree php
Last synced: about 1 year ago
JSON representation
Crime Prediction System in PHP
- Host: GitHub
- URL: https://github.com/hansyagarwal/crimepredictionsystem
- Owner: hansyagarwal
- Created: 2020-09-13T19:06:29.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-10-08T16:45:33.000Z (almost 6 years ago)
- Last Synced: 2025-04-06T18:50:37.156Z (over 1 year ago)
- Topics: algorithms, apriori, decision-tree, php
- Language: JavaScript
- Homepage:
- Size: 2.29 MB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CrimePredictionSystem
how to run?
```
Install Xampp
Run Xampp control panel and start Apache and Mysql
Go to localhost/phpmyadmin
Create new database named CPS
Go to import
browse the cps.sql click go
ez
Go to localhost/CPS
user: admin
password: admin
gg
```
The project is a web application which uses HTML,CSS,JS for frontend and PHP as backend. The algorithms are Machine learning algorithms implemented in PHP (ml in php, yes its crazy). The algorithms are Apriori, Naive Bayes Classifier and Decision Tree. The source code of these algorithms are taken from repos mentioned below.
> Varunon9, naïve-bayes-classifier, (2018), GithubGist, https://github.com/varunon9/naive-bayes-classifier.
> VTwo-Group, Apriori-Algorithm (2014, November), https://github.com/VTwo-Group/Apriori-Algorithm.
> Julian Finkler, PHP Decision Tree Classifier: Compose decision trees and evaluate subjects, (2017, July), https://www.phpclasses.org/package/10385-PHP-Compose-decision-trees-and-evaluate-subjects.html.
Refer to the reports to understand the project.
Btw decision tree doesn't work properly so you're free to contribute if you want.