Giter Site home page Giter Site logo

everywhereml's Introduction

EverywhereML

A Python package to train Machine Learning models that run (almost) everywhere, including:

[X] C++ / embedded systems [X] Javascript [X] PHP [] Go / TinyGo [] Micropython [] ... other languages

This means you can deploy your models to:

  • Edge devices
  • Web servers
  • Web browsers
  • ... other environments

Components

The package implements most of the tools you need to develop a fully functional model, including:

[X] Data loading and visualization [X] Preprocessing [] Pipeline [X] BoxCox (power transform) [X] CrossDiff [X] MinMaxScaler [X] Normalizer [X] PolynomialFeatures [X] RateLimit [X] StandardScaler [X] YeoJohnson (power transform) [] Audio [] MelSpectrogram [X] Feature selection [X] RFE [X] SelectKBest [] Time series analysis [X] Diff [X] Fourier transform [X] Rolling window [] TSFRESH [] Classification [X] RandomForest [X] LogisticRegression [X] GaussianNB [] BernoulliNB [] SVM (not tested) [] LinearSVM [X] DecisionTree [X] XGBoost [] Catboost [] Regression [] LinearRegression

Each of these components can be trained in Python and exported to any of the supported languages with no (or as few as possible) external dependencies.

For example:

from everywhereml.data.preprocessing import MinMaxScaler
from sklearn.datasets import load_iris

transformer = MinMaxScaler()
X, y = load_iris(return_X_y=True)
Xt, yt = transformer.fit_transform(X, y)

print('Original range', (X.min(), X.max()))
print('Transformed range', (Xt.min(), Xt.max()))

# port to C++
print(transformer.port(language='cpp'))

# port to Js
print(transformer.port(language='js'))

# port to PHP
print(transformer.port(language='php'))

everywhereml's People

Contributors

eloquentarduino avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.