Put machine-learning models in front of people.

Open-source tools that take a trained model from a file on disk to a form anyone can fill in, with every prediction traceable and every correction kept.

  1. MLbundle
  2. MLschema
  3. MLform
  4. MLsuite
  • 16.8K downloads
  • 7 GitHub stars
  • 4 open-source projects
  • MIT licensed

One toolkit, from model to feedback.

Each project works on its own. Together they cover the loop after training: a safe model file, typed inputs, a real form, and a place where people review the results.

Libraries

Building blocks for Python and TypeScript

Use one, or chain them: package the model, describe its inputs, render the form your users fill in.

Application

The whole loop, self-hosted

Run predictions, collect reviews and corrections, and export them for evaluation or retraining.

Open source

Every project is MIT licensed and developed in the open on GitHub.

MLbundlev0.3.1

Ship models without pickle.

One verifiable .mlbundle file with the model in its native format, a manifest of the training environment and a locally inferred schema. Works with scikit-learn, XGBoost, CatBoost and ONNX.

pip install "mlbundle[sklearn,schema]"

  • 1 star
  • 3.3K downloads
  • Python
  • MIT
train.py
import pandas as pd
from sklearn.tree import DecisionTreeClassifier
from mlbundle import export, load

training = pd.DataFrame({
    "temperature": [0.0, 1.0, 0.1, 0.9],
    "humidity": [1.0, 0.0, 0.9, 0.1],
    "target": ["cold", "warm", "cold", "warm"],
})
model = DecisionTreeClassifier(random_state=7).fit(
    training.drop(columns="target"), training["target"]
)
export(model, "trained.mlbundle",
       training_data=training, target_names=["target"])

bundle = load("trained.mlbundle")
result = bundle.predict_record(
    {"temperature": 0.0, "humidity": 1.0}
)[0]
print(result.predicted_label)  # cold
Example from the MLbundle README
MLschemav0.3.0 · pre-1.0

Typed inputs, straight from your data.

Infer validated, JSON-serialisable field schemas from pandas DataFrames, then refine only what is product-specific: labels, bounds and defaults.

pip install mlschema

  • 2 stars
  • 8.7K downloads
  • Python
  • MIT
schema.py
import pandas as pd
from mlschema import infer_schema

frame = pd.DataFrame({
    "age": [28, 41],
    "plan": pd.Categorical(["free", "pro"]),
    "active": [True, False],
})

fields = infer_schema(frame)
# [{"kind": "number", "label": "age", ...},
#  {"kind": "category", "label": "plan", ...},
#  {"kind": "boolean", "label": "active", ...}]
Example from the MLschema README
MLformv0.2.0 · pre-1.0

Prediction forms from a schema.

A schema-driven form runtime and Web Component kit. Validation, submission state and result rendering included; use the full UI or build your own on the headless runtime.

npm i mlform

  • 2 stars
  • 4.8K downloads
  • TypeScript
  • MIT
Prediction form
An MLform form with validated temperature, humidity, wind speed and location fields, and forecast reports showing a 22.66 °C estimate and stable versus changing probabilities.
Screenshot of MLform
MLsuiteearly

From trained model to reviewed prediction.

Upload a bundle, run single or bulk predictions through a generated form, collect reviews and corrections, and export everything for evaluation or retraining. Self-host it with Docker Compose.

  • 2 stars
  • TypeScript
  • MIT
MLsuite · Predict
The MLsuite Predict page for a penguin-survey schema: species probabilities, a body mass estimate, the unsaved run in the session panel and the workspace navigation.
Screenshot of MLsuite

Why eshkra

Testing a model with real users usually means rebuilding the same infrastructure every time. We build it once, in the open, so you don’t have to.

Nothing to sell. If a project goes in the wrong direction, the code is there to inspect, change and fork.