All Projects → delsner → flask-angular-data-science

delsner / flask-angular-data-science

Licence: other
Repository for a data science starter app using Flask, Angular and Docker. https://medium.com/@dvelsner/deploying-a-simple-machine-learning-model-in-a-modern-web-application-flask-angular-docker-a657db075280

Programming Languages

typescript
32286 projects
CSS
56736 projects
HTML
75241 projects
Jupyter Notebook
11667 projects
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to flask-angular-data-science

Data Science Notebook
📖 每一个伟大的思想和行动都有一个微不足道的开始
Stars: ✭ 196 (+133.33%)
Mutual labels:  sklearn
overview-and-benchmark-of-traditional-and-deep-learning-models-in-text-classification
NLP tutorial
Stars: ✭ 41 (-51.19%)
Mutual labels:  sklearn
techloop-ml-plus
Archives and Tasks for ML+ sessions
Stars: ✭ 23 (-72.62%)
Mutual labels:  sklearn
Machine Learning
从零基础开始机器学习之旅
Stars: ✭ 209 (+148.81%)
Mutual labels:  sklearn
Igel
a delightful machine learning tool that allows you to train, test, and use models without writing code
Stars: ✭ 2,956 (+3419.05%)
Mutual labels:  sklearn
merkalysis
A marketing tool that helps you to market your products using organic marketing. This tool can potentially save you 1000s of dollars every year. The tool predicts the reach of your posts on social media and also suggests you hashtags for captions in such a way that it increases your reach.
Stars: ✭ 28 (-66.67%)
Mutual labels:  sklearn
Danmf
A sparsity aware implementation of "Deep Autoencoder-like Nonnegative Matrix Factorization for Community Detection" (CIKM 2018).
Stars: ✭ 161 (+91.67%)
Mutual labels:  sklearn
object-detection-with-svm-and-opencv
detect objects using svm and opencv
Stars: ✭ 24 (-71.43%)
Mutual labels:  sklearn
A-B-testing-with-Machine-Learning
Implemented an A/B Testing solution with the help of machine learning
Stars: ✭ 37 (-55.95%)
Mutual labels:  sklearn
ml
Base machine learning image and environment.
Stars: ✭ 15 (-82.14%)
Mutual labels:  sklearn
Python Ai Assistant
Python AI assistant 🧠
Stars: ✭ 219 (+160.71%)
Mutual labels:  sklearn
Mozart
An optical music recognition (OMR) system. Converts sheet music to a machine-readable version.
Stars: ✭ 241 (+186.9%)
Mutual labels:  sklearn
Word2VecAndTsne
Scripts demo-ing how to train a Word2Vec model and reduce its vector space
Stars: ✭ 45 (-46.43%)
Mutual labels:  sklearn
Auto ts
Automatically build ARIMA, SARIMAX, VAR, FB Prophet and XGBoost Models on Time Series data sets with a Single Line of Code. Now updated with Dask to handle millions of rows.
Stars: ✭ 195 (+132.14%)
Mutual labels:  sklearn
machine-learning-templates
Template codes and examples for Python machine learning concepts
Stars: ✭ 40 (-52.38%)
Mutual labels:  sklearn
Tensorflow Ml Nlp
텐서플로우와 머신러닝으로 시작하는 자연어처리(로지스틱회귀부터 트랜스포머 챗봇까지)
Stars: ✭ 176 (+109.52%)
Mutual labels:  sklearn
imbalanced-ensemble
Class-imbalanced / Long-tailed ensemble learning in Python. Modular, flexible, and extensible. | 模块化、灵活、易扩展的类别不平衡/长尾机器学习库
Stars: ✭ 199 (+136.9%)
Mutual labels:  sklearn
ml course
"Learning Machine Learning" Course, Bogotá, Colombia 2019 #LML2019
Stars: ✭ 22 (-73.81%)
Mutual labels:  sklearn
tymon
An AI Assistant More Than a Toolkit
Stars: ✭ 46 (-45.24%)
Mutual labels:  sklearn
trt pose hand
Real-time hand pose estimation and gesture classification using TensorRT
Stars: ✭ 137 (+63.1%)
Mutual labels:  sklearn

Data Science Web Application Tutorial

This repository is meant to demonstrate the use of Flask and Angular to build a simple, but state-of-the-art, web application which can be used for POCs. Read the corresponding Medium article here.

Clone/Fork repository

First fork or clone this repo:

e.g. git clone https://github.com/delsner/flask-angular-data-science.git

Build images and run containers with docker-compose

After cloning the repository go inside the project folder:

cd flask-angular-data-science

Run docker-compose up which will start a Flask web application for the backend API (default port 8081) and an Angular frontend served through a webpack development web server (default port 4200).

Access your app

In your browser navigate to: http://localhost:4200 (or whatever port you defined for the frontend in docker-compose.yml).

For testing your backend API I recommend using Postman.

Working without docker

I highly recommend the use of docker and docker-compose as it is far simpler to get started than to run all of the following manually.

Backend development

Navigate inside the backend directory: cd backend

Install pip dependencies: pip install -r requirements.txt

Run python app.py in backend root (will watch files and restart server on port 8081 on change).

Frontend development

Navigate inside the frontend directory: cd frontend

Assure you have Nodejs, Yarn and the angular-cli installed.

Install npm dependencies: yarn install --pure-lockfile

Run yarn start in frontend root (will watch files and restart dev-server on port 4200 on change). All calls made to /api will be proxied to backend server (default port for backend 8081), this can be changed in proxy.conf.json.

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].