Carlito-25's picture
Initial upload of logistic regression sentiment model
2ac8a57 verified
metadata
license: mit
tags:
  - sentiment-analysis
  - logistic-regression
  - sklearn
  - french
language:
  - fr

Carlito-25/sentiment-model-logistic

Modèle de régression logistique pour l'analyse de sentiment

Usage

from load_model import load_logistic_model, predict_sentiment
import numpy as np

# Charger le modèle
model = load_logistic_model()

# Prédiction (remplace par tes vraies features)
features = np.array([...])  # Tes features TF-IDF ou Word2Vec
result = predict_sentiment(model, features)
print(result)

Model Details

  • Algorithm: Logistic Regression (scikit-learn)
  • Features: TF-IDF/Word2Vec vectors
  • Task: Sentiment Analysis
  • Training Data: Custom French YouTube comments dataset