How dineshkarthik8555/customer-feedback-analysis works
This is a Streamlit customer-feedback analysis product. Users enter a review or upload a CSV; the dashboard validates and cleans feedback, predicts sentiment, and presents predictions and analytics, including rule-based complaint categories. A separate training workflow compares classifiers, evaluates them, and saves the selected model and reports. The README documents six dashboard capabilities; the sampled app excerpts show live prediction and analytics details, but not every page implementation. Edges reflect shown calls or documented behavior; unsampled page wiring is not inferred.
Main entry points: app.py Dashboard pages · train.py Training and selection · preprocessing.py Validation and cleaning · predict.py Sentiment prediction
Components 11
Dashboard experience
- Dashboard pages
app.py - UI styling
src/ui.py
Feedback analysis
- Validation and cleaning
src/preprocessing.py - Sentiment prediction
src/predict.py - Complaint analysis
src/complaints.py
Model training
- Training and selection
src/train.py - Model evaluation
src/evaluate.py
Data and artifacts
- Sample reviews
data/sample_feedback.csv - Saved model
models/sentiment_model.pkl - Evaluation reports
results
Other components
- Business user
Connections 14
- Business user → Dashboard pages: uses
README.md - Dashboard pages → UI styling: renders with
app.py - Dashboard pages → Sentiment prediction: requests predictions
app.py - Dashboard pages → Complaint analysis: requests categories
app.py - Dashboard pages → Validation and cleaning: validates uploads
app.py - Dashboard pages → Training and selection: retraining fallback
README.md - Sentiment prediction → Validation and cleaning: cleans text
src/predict.py - Complaint analysis → Validation and cleaning: cleans text
src/complaints.py - Training and selection → Validation and cleaning: prepares data
src/train.py - Training and selection → Model evaluation: computes metrics
src/train.py - Training and selection → Sample reviews: uses fallback data
README.md - Training and selection → Saved model: saves selected model
src/train.py - Training and selection → Evaluation reports: writes reports
src/train.py - Dashboard pages → Saved model: loads model
README.md