Skip to content

BruBel/MPST-Movie-Plot-Synopses-with-Tags

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MPST: Movie Plot Synopses with Tags

This project was developed to solve MPST: Movie Plot Synopses with Tags multi-label text classification problem. It's a complex dataset which deal with imbalanced data and 71 differents tags to predict!

Some technnologies of Machine Learning and Data Science used:

Dealing with imbalanced data

Models

  • Logistic Regression
  • XGBoost Classifier

API

  • FastAPI

Running

To clone and run this application:

# Clone this repository
$ git clone https://github.com/BruBel/MPST-Movie-Plot-Synopses-with-Tags

# Go into the repository
$ cd MPST-Movie-Plot-Synopses-with-Tags

# Install dependencies
$ pip install -r requirements.txt

# Go into API repository
$ cd code/api

# Run api
$ uvicorn main:app --host 0.0.0.0 --port 5058

Now there are two options:

OR

  • In terminal:

curl -X POST "http://localhost:5058/predict" -H "accept: application/json" -H "Content-Type: application/json" -d "{"synopsis":"SYNOPSISEHERE"}"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published