

GitHub - xadrianzetx/fullstack.ai: End-to-end machine learning project showing k...
source link: https://github.com/xadrianzetx/fullstack.ai
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.

README.md
fullstack.ai
End-to-end machine learning project showing key aspects of developing and deploying real life machine learning driven application.
Hosting
Running example is currently hosted here.
POC
- EDA, data manipulation an preparation
- Scraping additional features from external sources
- Iterative process of building ML model
- Wrapping it as Python module as transition from dev colab notebooks to prod code
- Using this module in Flask based microservice
- Contenerizing it with Docker and deploying using Nginx reverse proxy server orchestrated with Docker Compose
This basically covers most of ML tech stack up to CI/CD pipeline.
I'll be using SF Bay Area Bike Share dataset to model duration of bike travel across San Francisco. This dataset is bit dated and task itself is probably bit banal, but hey, this project is all about tech stack and leveraging different tools and ml techniques to achive my goal - a web based ml driven bike trip advisor with trip time prediction.
Notebooks
- Introduction and database
- EDA and feature engineering
- Final preprocessing and models
- Bayesian optimization
- Model Evaluation
UI
API
Run
In order to deploy, you'll need to get mapbox API key here. Then run
cd static/js && touch config.js
config.js
should look like this
const config = {
'mapboxApiKey': your.api.key.here
}
Having done this, app is now ready to deploy, so go to top of directory and build Nginx and app containers using
docker pull nginx:latest && docker-compose up --build -d
Nginx configuration maps reverse proxy server to port 80
API guide
API for hosted example is available at
https://fullstackai.pythonanywhere.com/api
GET valid station id
curl -i "https://fullstackai.pythonanywhere.com/api/stations"
GET predicted trip time between two stations
"https://fullstackai.pythonanywhere.com/api?start=start_id&end=end_id
Parameters
start_id
(required) Valid start station idend_id
(required) Valid end station id
Example
curl -i "https://fullstackai.pythonanywhere.com/api?start=73&end=39"
Recommend
-
100
Ripple Fullstack On the server: index.js const ripple = require('rijs')({ dir: __dirname }) On the client: pages/index.html ...
-
77
README.md
-
20
Warning This sample uses plugins, which will be deprecated. There is a new repository with actual Kotlin version and Kotlin/JS Gradle plug...
-
20
Files Permalink Latest commit message Commit time
-
9
waldo-anticheat A project that aims to use optical flow and machine learning to visually detect cheating or hacking in video clips from fps games. Check out this video discussing the purpose...
-
7
-
7
How to easily setup a fullstack react and react-native project in 8 minutes? Setup a fully working fullstack express, react and react-native environment in 8 minutes. We will do it with Nx, express, react and react na...
-
7
Auto, Security & Pervasive Computing Machine Learning Showing Up As Silicon IP
-
8
Table of Contents Motivation In this tutorial, I'll be demonstrating how to create a template for a fullstack web app using Axum as the backend in R...
-
7
Web Developme...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK