Sentiment_Analysis / README.md
DineshKumar1329's picture
Update README.md
690a3df verified
|
raw
history blame
695 Bytes
metadata
license: mit
language:
  - en
metrics:
  - accuracy
library_name: sklearn
pipeline_tag: text-classification
tags:
  - code

Model Training

The sentiment analysis model is trained using a Support Vector Machine (SVM) classifier with a linear kernel. The cleaned text data is transformed into a bag-of-words representation using the CountVectorizer. The trained model is saved as Sentiment_classifier_model.joblib, and the corresponding TF-IDF vectorizer is saved as vectorizer_model.joblib.

Download the Vectorizer model first and load the model :

Usage :

image/png