All Projects → laactech → Foxcross

laactech / Foxcross

Licence: bsd-3-clause
AsyncIO serving for data science models

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Foxcross

Datasheets
Read data from, write data to, and modify the formatting of Google Sheets
Stars: ✭ 593 (+3194.44%)
Mutual labels:  dataframe, data-science, pandas
Dataframe Go
DataFrames for Go: For statistics, machine-learning, and data manipulation/exploration
Stars: ✭ 487 (+2605.56%)
Mutual labels:  dataframe, data-science, pandas
Datacamp Python Data Science Track
All the slides, accompanying code and exercises all stored in this repo. 🎈
Stars: ✭ 250 (+1288.89%)
Mutual labels:  data-science, pandas, scikit-learn
Orange3
🍊 📊 💡 Orange: Interactive data analysis
Stars: ✭ 3,152 (+17411.11%)
Mutual labels:  data-science, pandas, scikit-learn
Code
Compilation of R and Python programming codes on the Data Professor YouTube channel.
Stars: ✭ 287 (+1494.44%)
Mutual labels:  data-science, pandas, scikit-learn
Data Science Portfolio
Portfolio of data science projects completed by me for academic, self learning, and hobby purposes.
Stars: ✭ 559 (+3005.56%)
Mutual labels:  data-science, pandas, scikit-learn
Danfojs
danfo.js is an open source, JavaScript library providing high performance, intuitive, and easy to use data structures for manipulating and processing structured data.
Stars: ✭ 1,304 (+7144.44%)
Mutual labels:  dataframe, data-science, pandas
Python Cheat Sheet
Python Cheat Sheet NumPy, Matplotlib
Stars: ✭ 1,739 (+9561.11%)
Mutual labels:  data-science, pandas, scikit-learn
Koalas
Koalas: pandas API on Apache Spark
Stars: ✭ 3,044 (+16811.11%)
Mutual labels:  dataframe, data-science, pandas
Eland
Python Client and Toolkit for DataFrames, Big Data, Machine Learning and ETL in Elasticsearch
Stars: ✭ 235 (+1205.56%)
Mutual labels:  dataframe, pandas, scikit-learn
Alphapy
Automated Machine Learning [AutoML] with Python, scikit-learn, Keras, XGBoost, LightGBM, and CatBoost
Stars: ✭ 564 (+3033.33%)
Mutual labels:  data-science, pandas, scikit-learn
Dataframe
C++ DataFrame for statistical, Financial, and ML analysis -- in modern C++ using native types, continuous memory storage, and no pointers are involved
Stars: ✭ 828 (+4500%)
Mutual labels:  dataframe, data-science, pandas
Data Science Projects With Python
A Case Study Approach to Successful Data Science Projects Using Python, Pandas, and Scikit-Learn
Stars: ✭ 198 (+1000%)
Mutual labels:  data-science, pandas, scikit-learn
Pdpipe
Easy pipelines for pandas DataFrames.
Stars: ✭ 590 (+3177.78%)
Mutual labels:  dataframe, data-science, pandas
Machine Learning With Python
Practice and tutorial-style notebooks covering wide variety of machine learning techniques
Stars: ✭ 2,197 (+12105.56%)
Mutual labels:  data-science, pandas, scikit-learn
Boltzmannclean
Fill missing values in Pandas DataFrames using Restricted Boltzmann Machines
Stars: ✭ 23 (+27.78%)
Mutual labels:  dataframe, data-science, pandas
Pymc Example Project
Example PyMC3 project for performing Bayesian data analysis using a probabilistic programming approach to machine learning.
Stars: ✭ 90 (+400%)
Mutual labels:  data-science, pandas, scikit-learn
Dat8
General Assembly's 2015 Data Science course in Washington, DC
Stars: ✭ 1,516 (+8322.22%)
Mutual labels:  data-science, pandas, scikit-learn
Mars
Mars is a tensor-based unified framework for large-scale data computation which scales numpy, pandas, scikit-learn and Python functions.
Stars: ✭ 2,308 (+12722.22%)
Mutual labels:  dataframe, pandas, scikit-learn
Pandasvault
Advanced Pandas Vault — Utilities, Functions and Snippets (by @firmai).
Stars: ✭ 316 (+1655.56%)
Mutual labels:  dataframe, data-science, pandas

Foxcross

Code style: black License Build Status Build status PyPI codecov

AsyncIO serving for data science models built on Starlette

Requirements: Python 3.6.1+

Quick Start

Installation using pip:

pip install foxcross

Create some test data and a simple model in the same directory to be served:

directory structure

.
+-- data.json
+-- models.py

data.json

[1,2,3,4,5]

models.py

from foxcross.serving import ModelServing, run_model_serving

class AddOneModel(ModelServing):
    test_data_path = "data.json"

    def predict(self, data):
        return [x + 1 for x in data]

if __name__ == "__main__":
    run_model_serving()

Run the model locally

python models.py

Navigate to localhost:8000/predict-test/ in your web browser, and you should see the list incremented by 1. You can visit localhost:8000/ to see all the available endpoints for your model.

Why does this package exist?

Currently, some of the most popular data science model building frameworks such as PyTorch and Scikit-Learn do not come with a built in serving library similar to TensorFlow Serving.

To fill this gap, people create Flask applications to serve their model. This can be error prone, and the implementation can differ between each model. Additionally, Flask is a WSGI web framework whereas Foxcross is built on Starlette, a more performant ASGI web framework.

Foxcross aims to be the serving library for data science models built with frameworks that do not come with their own serving library. Using Foxcross enables consistent and testable serving of data science models.

Security

If you believe you've found a bug with security implications, please do not disclose this issue in a public forum.

Email us at [email protected]

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