New startup mobile company, they wants to give tough fight to big companies like Apple,Samsung etc. They does not know how to estimate price of mobiles his company creates. In this competitive mobile phone market you cannot simply assume things. To solve this problem he collects sales data of mobile phones of various companies. His wants to find out some relation between features of a mobile phone(eg:- RAM,Internal Memory etc) and its selling price.
The motivation was to experiment with end to end machine learning project and get some idea about deployment platform like render and offcourse this "Price prediction" is helpfull the deside the price of mobile. Help to decide wich mobile feature are more important to customer are perches the mobile. Using machine learning we have built a predictive model that can predict whether the mobile price range is low, medium ,high or very high. This is also sort of fun to work on a project like this which could be beneficial for the comapany.
Below is the features are highly affected by the selection of the correct price of the mobile.
- ram : Random Access Memory in Gega Bytes
- px_height : Pixel Resolution Height
- px_width : Pixel Resolution Width
- battery_power : Total energy a battery can store in one time measured in mAh
Power BI is a technology-driven business intelligence tool provided by Microsoft for analyzing and visualizing raw data to present actionable information. It combines business analytics, data visualization, and best practices that help an organization to make data-driven decisions.
We can create the visual on PowerBI report to check the relation between features, those are play importat role on the prediction. PowerBI is good platform for just click to create the visuals and push the online powerbi service to connect so many peaple to create visuals in same time or send to others. In the more details click here to check more details about PowerBI.
Here is the report for PowerBI
Pip install requrement.txt
Flask==1.1.1
gunicorn==19.9.0
itsdangerous==1.1.0
Jinja2==2.10.1
MarkupSafe==1.1.1
Werkzeug==0.15.5
numpy>=1.9.2
scipy>=0.15.1
scikit-learn>=0.18
matplotlib>=1.4.3
pandas>=0.19
To deploy this project on render
npm run gunicorn app:app
Below is the domo for created application
Below is the link for live demo
https://mobile-price-analysis.onrender.com
The following points were the objective of the project . If you are looking for all the following points in this repo then i have not covered all in this repo. I'm working on blog about this mini project and I'll update the link of blog about all the points in details later . (The main intention was to create an end-to-end ML project.)
- Data gathering
- Descriptive Analysis
- Data Visualizations
- Data Preprocessing
- Data Modelling
- Model Evaluation
- Model Deployment
- Using PowerBI dekstop create the report.
- Training a machine learning model using scikit-learn.
- Building and hosting a Flask web app on Render.
- A user has to put details like ram, battry power, Pixel resolution Height etc .
- Once it get all the fields information , the prediction is displayed on a new page .
app=Flask(__name__)
@app.route('/')
def page():
return render_template('index.html')
if __name__=='__main__':
app.run(debug=True)
Now we can download the dataset on Kaggle and make analysis for it. Kaggle is the one of the largest website have to provide the datasets on verious domain. In the more information about the Kaggle plese Click Here
Below link is to dataset on kaggle
https://www.kaggle.com/datasets/iabhishekofficial/mobile-price-classification
To run this project, you will need to add the following environment variables to your .env file
API_KEY
ANOTHER_API_KEY
Install my-project with npm
npm install my-project
cd my-project
Now the bulding that project i can learn the concept of how to create the web in HTML and how to desing that page well attractive. Also i can get the tainled knowlaged about the render to how exactly deploy the model on cloud.
In challanges my mesure challange is that how to select the best feature they are highly affected my responce. and selection of the best model to improve the accuracy.
I am Completed post graduation in statistics with verious takenincal skills and 2+ year of experiance in data science domain. This project i create on self learning.
👩💻 I'm currently working on Assistant Proffesor in KVM,wai
🧠 I'm currently learning Deep learning and NLP.
👯♀️ I'm looking to Job Change toword the data science.
R, spss, Python, Flask, ML, DL, NLP, Render, MySQL, PowerBI, Excel etc.
If you have any feedback, please reach out to us at dhanawadeganesh386@gmail.com