AdClassifier Pro is an enterprise-grade Machine Learning application designed to intelligently categorize digital advertisement text. Built with Streamlit and Scikit-learn, it offers a modern SaaS-like experience for both single-text analysis and bulk data processing.
- 📊 Executive Dashboard: Get a high-level overview of your data distribution and model performance metrics.
- 🔍 Intelligent Classifier:
- Real-time classification of job descriptions.
- Confidence Scores: Visual indicators of model certainty.
- 📂 Batch Processor:
- Bulk upload support for CSV and Excel files.
- Automatic column detection.
- Instant Analytics: Auto-generated charts for category distribution and confidence spread.
- Export results to CSV.
- 🎨 Customization:
- Toggle between Midnight Dark and Professional Light themes.
- Responsive, mobile-friendly UI.
- Install Python: Ensure you have Python 3.8+ installed.
- Create Virtual Environment:
python -m venv .venv # Windows .venv\Scripts\activate # Mac/Linux source .venv/bin/activate
- Install Dependencies:
pip install -r requirements.txt
Run the application locally:
streamlit run streamlit_app.py- Dashboard: View the model's training stats.
- Classifier: Go to the "Classifier" tab, paste an ad, and click "Analyze Now".
- Batch Processing:
- Go to "Batch Processor".
- Upload a CSV/Excel file (e.g.,
test_ads.csv). - Select the text column.
- Click "Process Batch" to see charts and download results.
streamlit_app.py: Main application logic and UI.model/: Contains the pre-trained machine learning model (adv_model.sav).data/: Contains the dataset used for training/visualization.notebook/: Jupyter notebooks used for model development.