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

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

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.