Analisis-Sentimen-Film

Stars
5
Language
Jupyter Notebook
License
MIT
Updated

๐ŸŽฌ Analisis Sentimen Film

License: MIT [Python: 3.10+] Maintainer: Manavarya09 [Docs] Issues


๐Ÿ“– About

Analisis Sentimen Film is a reproducible repository for training and evaluating sentiment-analysis models on film reviews. It compares classical ML, deep learning, and transformer-based approaches (including LoRA/adapter methods) using standard datasets.

This repo is written in Indonesian and English for accessibility and includes notebooks, model results, and utilities to reproduce experiments.


โœจ Highlights

  • โœ… Support for multiple model families (Logistic Regression, CNN, LSTM, Transformer)
  • โœ… Reproducible notebooks and saved model artifacts in /Result
  • โœ… Clear training/evaluation scripts and hyperparameter examples
  • โœ… Designed for quick experimentation on IMDB / local review datasets

๐Ÿ“‚ Repository layout

  • Notebooks/ โ€” exploratory and reproducible Jupyter notebooks
  • Dataset Raw/ โ€” raw data files and preprocessing notebooks
  • Models/ โ€” model descriptions and checkpoints listing
  • Result/ โ€” trained models, confusion matrices, word clouds, and evaluation outputs

๐Ÿš€ Quick start

  1. Clone the repo
git clone https://github.com/Manavarya09/analisis-sentimen-film.git
cd analisis-sentimen-film
  1. Create a virtual environment and install dependencies (example):
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

If requirements.txt is missing, install common packages:

pip install numpy pandas scikit-learn tensorflow torch transformers jupyterlab matplotlib seaborn

๐Ÿงช Usage

  • Open Notebooks/Scraping_Film_ML_C.ipynb or Dataset Raw/Raw_Data_Machine_Learning.ipynb to explore data and preprocessing steps.
  • Run training scripts or notebooks to reproduce results. Example training command (pseudo):
python train.py --model transformer --dataset imdb --epochs 3 --batch-size 16 --lr 2e-5
  • Evaluation outputs (confusion matrices, accuracy, loss curves) are saved to Result/.

๐Ÿ“Š Results & Models

Model performance and artifacts are inside /Result. See Result/Comparison Results/ and Result/Confusion Matrix/ for evaluation artifacts and visualizations.


๐Ÿค Contributing

Contributions are welcome โ€” open an issue or send a PR. Please include an explanation and a reproducible example for changes that affect models or data.


๐Ÿงพ License

This project is licensed under the MIT License โ€” see the LICENSE file for details.

Copyright (c) 2025 Manavarya09


๐Ÿ“ฌ Contact

Maintainer: Manavarya09

If you'd like custom badges, more examples, or integration with CI/CD (GitHub Actions), tell me which ones and I'll add them.


Thank you for using Analisis Sentimen Film โ€” contributions and feedback are appreciated!# Analisis-Sentimen-Film