15

Deploying Models to Flask

 5 years ago
source link: https://www.tuicool.com/articles/b63e63M
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Deploying Models to Flask

A walk-through on how to deploy machine learning models for user interaction using Python and Flask

Code for this project can be found here .

Y ou’ve built a model using Pandas, Sci-kit Learn, and Jupyter Notebooks. The results look great in your notebooks, but how do you share what you’ve made with others?

To share models, we need to deploy them, ideally to some website, or at minimum using Python files. Today I will walk you through the process of deploying a model to a website using Python and Flask using my chatroom toxicity classifier models as an example. This article assumes you know how to write Python code, know the basics of HTML, and have Flask installed ( pip install flask or conda install flask ). We’ll start by going into the file structure!


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK