this tutorial, I will show you how to predict Genres from the description of a books. We will build a multi-label model that’s capable of detecting different types of genre for each summary. We tune the hyper-parameters and plot graphs to find the best linear model.
Steps :
- Read Data
- Data Pre-Processing
- Visualize the Data
- Data Transformation
- Training Classifier
- Calculate Accuracy
- Tune HyperParameters
- Finalize the Best Model
Steps to Run the code provided:
- Download the Dataset from http://www.cs.cmu.edu/~dbamman/booksummaries.html#:~:text=This%20dataset%20contains%20plot%20summaries,Creative%20Commons%20Attribution%2DShareAlike%20License
- Unizip the Dataset
- Download the ipynb file.
- Put both ipynb file and dataset, "Summaries.txt" in the same folder
- Run the python file