Predictors
The Core of NatML
NatML exposes a Predictor
type which completely encapsulates all the information needed to use an ML model, whether at the edge or in the cloud:
Identifying the Predictor
The predictor tag
uniquely identifies a predictor across the NatML platform. The predictor tag is always scoped with the username of its owner, followed by the predictor name
:
The predictor name
is always lowercase and dasherized.
Identifying the Predictor Owner
The predictor provides information about its author:
PredictorOwner
Describing the Predictor
The predictor always includes a short description
(usually under 100 characters) along with a category
.
Checking the Predictor Status
Predictors will always be in one of the following statuses:
Predictor Status
Checking the Predictor Access
Access to predictors is governed by the chosen access mode:
Access Mode
Inspecting the Underlying Model
The predictor includes model info
along with a license:
License
Accessing Supplemental Data
Predictors contain supplemental data required to make predictions with a given model
Classification Labels
INCOMPLETE.
Feature Normalization
INCOMPLETE.
Image Aspect Mode
INCOMPLETE.
See this page for a visual explanation of the aspect modes:
Audio Format
INCOMPLETE.
Using the Predictor
Most predictors will include pre-made predictor packages for different development frameworks. These predictor packages are nano-libraries that expose the predictor in code, allowing developers to use the predictor in under five lines of code:
Predictor Package
The caption illustrates how the predictor is used in the framework programming language. This MUST always be under five lines of code.
The package url
should typically link to an official package manager for the given framework, like NPM for NodeJS or PyPi for Python.
Predictor Framework
The framework
corresponds to the development framework that the package is written for:
If you'd like to see a new development framework supported, please reach out to us!
Inspecting the Predictor Media
Predictors will usually include media that illustrate the predictor in action.
NatML currently supports images and animated GIF's for predictor media.
Last updated