The deployment of the machine learning model is rarely discussed. Most of the data science programs, online courses do not focus on model deployment. It is one of the important and last stages in the machine learning life cycle. To start using your machine learning model for practical decision-making, it needs to be effectively deployed into production. The focus of this article is to deploy a machine learning model using a flask.
Here I am using mall customer dataset to understand customer behavior. We are going to build a clustering model on historic data. Using this model we can predict the behavior of the new customer.
Let’s build our model using k-means clustering.
We need to import all the required libraries
2. Get the data
Getting the dataset is not enough. We have to perform exploratory data analysis.
#data #machine-learning #data-science #flask