All Projects → abhinavsagar → Machine Learning Deployment

abhinavsagar / Machine Learning Deployment

Licence: mit
Launch machine learning models into production using flask, docker etc.

Projects that are alternatives of or similar to Machine Learning Deployment

100 Days Of Ml Code
A day to day plan for this challenge. Covers both theoritical and practical aspects
Stars: ✭ 172 (-2.82%)
Mutual labels:  machine-learning-algorithms, linear-regression
25daysinmachinelearning
I will update this repository to learn Machine learning with python with statistics content and materials
Stars: ✭ 53 (-70.06%)
Mutual labels:  machine-learning-algorithms, linear-regression
Pytorch classification
利用pytorch实现图像分类的一个完整的代码,训练,预测,TTA,模型融合,模型部署,cnn提取特征,svm或者随机森林等进行分类,模型蒸馏,一个完整的代码
Stars: ✭ 395 (+123.16%)
Mutual labels:  flask, deployment
ZS-Data-Science-Challenge
A Data science challenge - "Mekktronix Sales Forecasting" organised by ZS through Hackerearth platform. Rank: 223 out of 4743.
Stars: ✭ 21 (-88.14%)
Mutual labels:  machine-learning-algorithms, predictive-modeling
Machine Learning Concepts
Machine Learning Concepts with Concepts
Stars: ✭ 134 (-24.29%)
Mutual labels:  machine-learning-algorithms, linear-regression
MachineLearningSeries
Vídeos e códigos do Universo Discreto ensinando o fundamental de Machine Learning em Python. Para mais detalhes, acompanhar a playlist listada.
Stars: ✭ 20 (-88.7%)
Mutual labels:  linear-regression, machine-learning-algorithms
100 Days Of Ml Code
100 Days of ML Coding
Stars: ✭ 33,641 (+18906.21%)
Mutual labels:  machine-learning-algorithms, linear-regression
bitcoin-prediction
bitcoin prediction algorithms
Stars: ✭ 21 (-88.14%)
Mutual labels:  linear-regression, machine-learning-algorithms
Ml Dl Scripts
The repository provides usefull python scripts for ML and data analysis
Stars: ✭ 119 (-32.77%)
Mutual labels:  machine-learning-algorithms, deployment
Stock Market Prediction Web App Using Machine Learning And Sentiment Analysis
Stock Market Prediction Web App based on Machine Learning and Sentiment Analysis of Tweets (API keys included in code). The front end of the Web App is based on Flask and Wordpress. The App forecasts stock prices of the next seven days for any given stock under NASDAQ or NSE as input by the user. Predictions are made using three algorithms: ARIMA, LSTM, Linear Regression. The Web App combines the predicted prices of the next seven days with the sentiment analysis of tweets to give recommendation whether the price is going to rise or fall
Stars: ✭ 101 (-42.94%)
Mutual labels:  flask, linear-regression
interactive-simple-linear-regression
A PureScript, browser-based implementation of simple linear regression.
Stars: ✭ 15 (-91.53%)
Mutual labels:  linear-regression, machine-learning-algorithms
Machine Learning Models
Decision Trees, Random Forest, Dynamic Time Warping, Naive Bayes, KNN, Linear Regression, Logistic Regression, Mixture Of Gaussian, Neural Network, PCA, SVD, Gaussian Naive Bayes, Fitting Data to Gaussian, K-Means
Stars: ✭ 160 (-9.6%)
Mutual labels:  machine-learning-algorithms, linear-regression
Market-Mix-Modeling
Market Mix Modelling for an eCommerce firm to estimate the impact of various marketing levers on sales
Stars: ✭ 31 (-82.49%)
Mutual labels:  linear-regression, predictive-modeling
Machine learning basics
Plain python implementations of basic machine learning algorithms
Stars: ✭ 3,557 (+1909.6%)
Mutual labels:  machine-learning-algorithms, linear-regression
SGDLibrary
MATLAB/Octave library for stochastic optimization algorithms: Version 1.0.20
Stars: ✭ 165 (-6.78%)
Mutual labels:  linear-regression, machine-learning-algorithms
Keras Flask Deploy Webapp
😺 Pretty & simple image classifier app template. Deploy your own trained model or pre-trained model (VGG, ResNet, Densenet) to a web app using Flask in 10 minutes.
Stars: ✭ 856 (+383.62%)
Mutual labels:  flask, deployment
GDLibrary
Matlab library for gradient descent algorithms: Version 1.0.1
Stars: ✭ 50 (-71.75%)
Mutual labels:  linear-regression, machine-learning-algorithms
machine-learning-implemetation-python
Basic Machine Learning implementation with python
Stars: ✭ 51 (-71.19%)
Mutual labels:  linear-regression, machine-learning-algorithms
Ds and ml projects
Data Science & Machine Learning projects and tutorials in python from beginner to advanced level.
Stars: ✭ 56 (-68.36%)
Mutual labels:  machine-learning-algorithms, linear-regression
Mlkit
A simple machine learning framework written in Swift 🤖
Stars: ✭ 144 (-18.64%)
Mutual labels:  machine-learning-algorithms, linear-regression

Machine Learning Deployment Tutorials

Launch machine learning models into production using flask, docker etc.

1. Predict Sales

Check out the corresponding medium blog post https://towardsdatascience.com/how-to-easily-deploy-machine-learning-models-using-flask-b95af8fe34d4.

Environment and tools

  1. scikit-learn
  2. pandas
  3. numpy
  4. flask

Installation

pip install scikit-learn pandas numpy flask

python model.py

python app.py

Logo

2. Predict House Prices

Download the dataset from here.

Environment and tools

  1. scikit-learn
  2. pandas
  3. numpy
  4. flask
  5. docker

Installation

docker-compose up --build

curl -X POST -H "Content-Type: application/json" -d @to_predict_json.json http://localhost:8080/predict_price

where to_predict.json contains:

{"grade":9.0,"lat":37.45,"long":12.09,"sqft_living":1470.08,"waterfront":0.0,"yr_built":2008.0}

or

curl -X POST -H "Content-Type: application/json" -d '{"grade":9.0,"lat":37.45,"long":12.09,"sqft_living":1470.08,"waterfront":0.0,"yr_built":2008.0}' http://localhost:8080/predict_price

Output:

{
  "predict cost": 1022545.34768284
}

Citing

If you find this code useful in your research, please consider citing the blog:

@misc{sagardeploy,
  Author = {Abhinav Sagar},
  Title = {How to Easily Deploy Machine Learning Models Using Flask},
  Year = {2019},
  Journal = {Towards Data Science},
}

License

MIT License

Copyright (c) 2019 Abhinav Sagar

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].