How annemsurya97/speech-emotion-recognization works
Purpose and entry point
This repository is a speech-emotion-recognition experiment centered on a Jupyter notebook. The primary execution entry point is Speech Emotion Recognization .ipynb, which likely performs dataset handling, feature preparation, model training, evaluation, and inference.
Notebook-driven workflow
Speech Emotion Recognization .ipynb is the orchestration boundary for the project. There is no application package, service layer, CLI, or deployment entry point visible in the repository. Reproducing or extending the system requires running the notebook in a Python/Jupyter environment.
Emotion classification models
The repository persists three trained classifier artifacts under model/:
• Gaussian Naive Bayes: model/Gnb_Classifier
• Multi-layer Perceptron: model/MLPClassifier
• XGBoost classifier: model/xgb_Classifier
These artifacts represent alternative model implementations for the same speech-emotion classification task.
Training and artifact boundary
The notebook is expected to produce or consume serialized model files in model/. This directory is the key boundary between experimentation/training and later prediction or comparison workflows. Model loading must remain compatible with the Python library versions used to serialize each artifact.
Dependencies and runtime
The runtime is Python with dependencies declared in requirements.txt. Given the stored classifier names, material libraries likely include scikit-learn for GaussianNB and MLP models, plus XGBoost for model/xgb_Classifier; exact versions should be taken from requirements.txt before loading saved models.
Primary flow
The intended control flow is:
1. Run Speech Emotion Recognization .ipynb in Jupyter.
2. Prepare speech-derived features and emotion labels within the notebook.
3. Train and/or evaluate the three classifier approaches.
4. Persist or load selected trained artifacts from model/Gnb_Classifier, model/MLPClassifier, and model/xgb_Classifier.
5. Compare predictions or evaluation results to choose a model for emotion recognition.
Architectural constraints
The repository contains no raw dataset, reusable source modules, API layer, or inference service. Feature extraction and label conventions are therefore likely embedded in Speech Emotion Recognization .ipynb; any downstream inference implementation must reproduce those preprocessing steps exactly before passing inputs to artifacts in model/.
Main entry points: Speech Emotion Recognization .ipynb Speech Emotion Notebook · Gnb_Classifier GaussianNB Classifier · MLPClassifier MLP Classifier · xgb_Classifier XGBoost Classifier
Components 7
Experiment Runtime
- Python Dependencies · Pins the runtime libraries needed to load and run classifiers.
requirements.txt - Speech Emotion Notebook · Primary entry point for preparation, training, evaluation, and prediction.
Speech Emotion Recognization .ipynb - Speech Features · Speech-derived features and emotion labels are prepared inside the notebook.
Speech Emotion Recognization .ipynb - Model Comparison · Compares predictions or metrics across classifier approaches.
Speech Emotion Recognization .ipynb
Trained Model Artifacts
Alternative serialized classifiers for the same emotion task.
- GaussianNB Classifier
model/Gnb_Classifier - MLP Classifier
model/MLPClassifier - XGBoost Classifier
model/xgb_Classifier
Connections 11
- Python Dependencies → Speech Emotion Notebook: defines runtime
- Speech Emotion Notebook → Speech Features: prepares
- Speech Features → GaussianNB Classifier: trains or predicts
- Speech Features → MLP Classifier: trains or predicts
- Speech Features → XGBoost Classifier: trains or predicts
- GaussianNB Classifier → Model Comparison: evaluated in
- MLP Classifier → Model Comparison: evaluated in
- XGBoost Classifier → Model Comparison: evaluated in
- Speech Emotion Notebook → GaussianNB Classifier: loads or persists
- Speech Emotion Notebook → MLP Classifier: loads or persists
- Speech Emotion Notebook → XGBoost Classifier: loads or persists