Skip to content

About

Cyber Harrashment Detectin Using Machine Learning

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CYBER Harassment Detection System

Detect Cyber Harassment using Machine Learning.

Setup

  • Create virtual Environment
python3 -m venv venv
source venv/bin/activate
pip install -e ".[dev]"
flask run

Web App

Web app will start where user can input the text. The prediction label will be shown to the user after prediction.

  • Frontend: frontendDemo

  • Backend: backendDemo


Test

We can test the prediction using curl command :

 curl -X POST http://localhost:5000/predict -H "Content-Type: application/json" \
     -d '{"comment_text": "I hate you as a person."}'

This can be done via postman POST request call on http://localhost:5000/predict with payload:

{
  "comment_text": "I hate you as a person."
}

About

Cyber Harrashment Detectin Using Machine Learning

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages