GitHunt
AN

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

Streamlit App
Python 3.8+
License: MIT

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

  1. Input Specifications: Adjust technical parameters using intuitive sliders and checkboxes
  2. Predict Price Range: Click the predict button to analyze the device
  3. 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

  1. Clone the repository:
git clone https://github.com/ankitparwatkar/MobiCost-Analyzer-Smartphone-Value-Forecaster.git
cd MobiCost-Analyzer-Smartphone-Value-Forecaster
  1. Create and activate a virtual environment:
python -m venv venv
source venv/bin/activate  # Linux/MacOS
venv\Scripts\activate    # Windows
  1. Install dependencies:
pip install -r requirements.txt
  1. Run the application:
streamlit run app.py

Deployment

The application is deployed using Streamlit Cloud. To deploy your own instance:

  1. Create a GitHub repository with your code
  2. Sign up for Streamlit Community Cloud
  3. Click "New app" and connect your GitHub repository
  4. Select branch and main file path (app.py)
  5. 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:

  1. Fork the project
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Author

Ankit Parwatkar
LinkedIn
GitHub
Portfolio


Note: This tool provides estimates based on market trends and specifications. Actual prices may vary based on brand, region, and market conditions.