Skip to content

Mohataseem89/crime-classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crime Classifier

A machine learning project that classifies crime report narratives into categories using NLTK and scikit-learn.
The goal is to demonstrate natural language processing (NLP) techniques for text preprocessing, feature extraction, and classification.

Crime-classifier


Features

  • Preprocessing of crime report text with:
    • Lowercasing, punctuation removal, and stemming (Snowball Stemmer).
    • Stopword filtering.
    • Word bigram generation for context.
  • Two classification models implemented:
    • Linear SVC (Support Vector Classifier)
    • Maximum Entropy (MaxEnt)
  • Training and testing pipeline with accuracy evaluation.
  • Customizable training and test datasets (CSV format).


🛠 Installation

Clone the repository and install dependencies:

git clone https://github.com/Mohataseem89/lapd-classifier.git
cd crime-classifier
npm install
npm start

Author

Mohataseem Khan Connect with me: LinkedInGitHub

About

Crime Classifier is a machine learning project designed to classify crime incidents into different categories based on input data. The project demonstrates data preprocessing, feature engineering, model training, and predictive analytics using Python and popular ML libraries.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors