module testing.template_dl_keras

Short summary

module lightmlrestapi.testing.template_dl_keras

Template application for a machine learning model based on keras available through a REST API.

source on GitHub

Functions

function

truncated documentation

restapi_load

Loads the model. The model name is relative to this file. When call by a REST API, the default value is always used. …

restapi_predict

Computes the prediction for model clf.

restapi_version

Displays a version.

Documentation

Template application for a machine learning model based on keras available through a REST API.

source on GitHub

lightmlrestapi.testing.template_dl_keras.restapi_load(files={'model': 'dlmodel.keras'})

Loads the model. The model name is relative to this file. When call by a REST API, the default value is always used.

source on GitHub

lightmlrestapi.testing.template_dl_keras.restapi_predict(model, X)

Computes the prediction for model clf.

Parameters:
Returns:

output of predict_proba

source on GitHub

lightmlrestapi.testing.template_dl_keras.restapi_version()

Displays a version.

source on GitHub