使用Flask进行机器学习模型部署

In this article, we are going to discuss majorly machine learning model deployment using flask API but the code for model building and deployment using flask API will be available in my GitHub repository so that you can also try this in your own project.

在本文中,我们将主要讨论使用flask API进行机器学习模型的部署,但是使用flask API进行模型构建和部署的代码将在我的GitHub中提供。 存储库,以便您也可以在自己的项目中尝试此操作。

I assume that you have some experience in machine learning or deep learning model building and wish to productionize model with flask API.

我假设您在机器学习或深度学习模型构建方面有一定经验,并希望使用Flask API 生产模型

Flask API简介 (Introduction to Flask API)

Flask is a lightweight Web Server Gateway Interface(WSGI) a micro-framework written in python. This means flask provides us with tools, libraries and technologies that allow us to build a web application. This web application can be some web pages, a blog, or our machine learning model prediction web application. Flask is an intermediate medium to connect our model with front end web page for prediction as shown in below image.

Flask是一个轻量级的Web服务器网关接口(WSGI),它是用python编写的微框架。 这意味着flask为我们提供了工具,库和技术,使我们能够构建Web应用程序。 该Web应用程序可以是某些网页,博客或我们的机器学习模型预测Web应用程序。 Flask是将我们的模型与前端网页连接以进行预测的中间媒介, 如下图所示。

flask Api machine learning model
API Data Flow
API数据流

先决条件 (Prerequisites)

We assume that all of us have knowledge about model training in jupyter notebook. This post is aimed to only provide insights on deploying a machine learning model into production using Flask API.

  • 1
    点赞
  • 30
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值