{"id":20449961,"url":"https://github.com/hansyagarwal/crimepredictionsystem","last_synced_at":"2025-06-11T19:32:48.009Z","repository":{"id":127073346,"uuid":"295218821","full_name":"hansyagarwal/CrimePredictionSystem","owner":"hansyagarwal","description":"Crime Prediction System in PHP","archived":false,"fork":false,"pushed_at":"2020-10-08T16:45:33.000Z","size":2400,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T18:50:37.156Z","etag":null,"topics":["algorithms","apriori","decision-tree","php"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hansyagarwal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-13T19:06:29.000Z","updated_at":"2023-06-22T22:35:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"a54469e2-ffa9-43f5-aa0a-462c21a91483","html_url":"https://github.com/hansyagarwal/CrimePredictionSystem","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hansyagarwal/CrimePredictionSystem","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansyagarwal%2FCrimePredictionSystem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansyagarwal%2FCrimePredictionSystem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansyagarwal%2FCrimePredictionSystem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansyagarwal%2FCrimePredictionSystem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hansyagarwal","download_url":"https://codeload.github.com/hansyagarwal/CrimePredictionSystem/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansyagarwal%2FCrimePredictionSystem/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259325243,"owners_count":22841049,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithms","apriori","decision-tree","php"],"created_at":"2024-11-15T10:49:26.049Z","updated_at":"2025-06-11T19:32:47.984Z","avatar_url":"https://github.com/hansyagarwal.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CrimePredictionSystem\n\nhow to run?\n```\nInstall Xampp\nRun Xampp control panel and start Apache and Mysql\nGo to localhost/phpmyadmin\nCreate new database named CPS\nGo to import \nbrowse the cps.sql click go\nez\nGo to localhost/CPS\nuser: admin\npassword: admin\ngg\n```\n\nThe 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.\n\n\u003e Varunon9, naïve-bayes-classifier, (2018), GithubGist, https://github.com/varunon9/naive-bayes-classifier.\n\u003e VTwo-Group, Apriori-Algorithm (2014, November), https://github.com/VTwo-Group/Apriori-Algorithm.\n\u003e 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.\n\n\nRefer to the reports to understand the project.\n\nBtw decision tree doesn't work properly so you're free to contribute if you want.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhansyagarwal%2Fcrimepredictionsystem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhansyagarwal%2Fcrimepredictionsystem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhansyagarwal%2Fcrimepredictionsystem/lists"}