Predict

Scikit-learn prediction API.

post
Predict

https://api.mlrequest.com/v1/sklearn/predict
Returns an array of one or more scikit-learn model predictions.
Request
Response
Headers
MLREQ-API-KEY
required
string
Your API key
Body Parameters
model_name
required
string
The name of this model
features
required
array
A 2D array of numerical features. Each nested array represents a new prediction. (e.g., a single prediction: [[1, 2, 3]], multiple predictions [[1, 2, 3], [4, 5, 6], ...])
200: OK
{'message': 'scikit-learn prediction',
'predict_result': [1],
'remaining_transactions': 12345,
'total_active_models': 2,
'timestamp': '2019-11-16T16:45:51.611Z',
'model_name': 'my-model'}