ankitparwatkar/MobiCost-Analyzer-Smartphone-Value-Forecaster
MobiCost Analyzer is an intelligent web application that predicts smartphone price ranges based on technical specifications. Built with Streamlit and powered by machine learning, this tool helps consumers, retailers, and manufacturers understand market positioning and value propositions for mobile devices.
MobiCost Analyzer: Smartphone Value Forecaster
MobiCost Analyzer is an intelligent web application that predicts smartphone price ranges based on technical specifications. Built with Streamlit and powered by machine learning, this tool helps consumers, retailers, and manufacturers understand market positioning and value propositions for mobile devices.
Live Demo: https://mobicost-analyzer-smartphone-value-forecaster-ankit-parwatkar.streamlit.app/
Features
- ๐ Instant Price Range Prediction: Classify phones into Budget, Mid-Range, Premium, or Luxury categories
- ๐ Interactive Visualization: Beautiful charts showing feature impact and prediction confidence
- ๐ฑ Real Device Recommendations: Discover popular models in your predicted price range
- ๐ Feature Importance Analysis: Understand which specifications most influence pricing
- ๐ก Marketing Recommendations: Get strategic insights based on price category
- ๐จ Modern UI: Sleek dark theme with animated elements and responsive design
How It Works
- Input Specifications: Adjust technical parameters using intuitive sliders and checkboxes
- Predict Price Range: Click the predict button to analyze the device
- View Results:
- See predicted price category with confidence level
- Explore popular models in that price range
- Understand feature impact through visualizations
- Get marketing strategy recommendations
Technology Stack
Core Components
- Machine Learning: XGBoost classifier trained on smartphone specifications
- Frontend: Streamlit for web interface with Plotly for visualizations
- Styling: Custom CSS with modern dark theme and animations
- Data Processing: Pandas and NumPy for feature engineering
Python Libraries
streamlit
pandas
numpy
joblib
plotly
scikit-learn
xgboost
Pillow
Installation
- Clone the repository:
git clone https://github.com/ankitparwatkar/MobiCost-Analyzer-Smartphone-Value-Forecaster.git
cd MobiCost-Analyzer-Smartphone-Value-Forecaster- Create and activate a virtual environment:
python -m venv venv
source venv/bin/activate # Linux/MacOS
venv\Scripts\activate # Windows- Install dependencies:
pip install -r requirements.txt- Run the application:
streamlit run app.pyDeployment
The application is deployed using Streamlit Cloud. To deploy your own instance:
- Create a GitHub repository with your code
- Sign up for Streamlit Community Cloud
- Click "New app" and connect your GitHub repository
- Select branch and main file path (
app.py) - Click "Deploy"
Project Structure
MobiCost-Analyzer-Smartphone-Value-Forecaster/
โโโ app.py # Main Streamlit application
โโโ model.ipynb # Jupyter notebook for model training
โโโ phone_price_model.pkl # Trained machine learning model
โโโ scaler.pkl # Feature scaler for preprocessing
โโโ requirements.txt # Python dependencies
โโโ images/ # Phone model images
โ โโโ galaxya14.png
โ โโโ galaxys23.png
โ โโโ ...
โโโ README.md # This documentation
Contributing
Contributions are welcome! Please follow these steps:
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
License
Distributed under the MIT License. See LICENSE for more information.
Author
Note: This tool provides estimates based on market trends and specifications. Actual prices may vary based on brand, region, and market conditions.