Functions¶
Summary¶
function |
class parent |
truncated documentation |
---|---|---|
Computes the distance between two images. The function uses Pillow. |
||
Calls |
||
Get application. |
||
if this function is added to the module, the help automation and unit tests call it first before anything goes on … |
||
Gets an encoded image and builds an PIL.Image.Image from it. |
||
Converts bytes to string. |
||
Checks the library is working. It raises an exception. If you want to disable the logs: |
||
Defines a dummy application using this API. It returns a score produced by a model trained on Iris datasets … |
||
Defines a dummy application using this API including authentification. It returns a score produced by a model trained … |
||
Defines an application as defined in the tutorial Create your first REST API. |
||
Defines a dummy application using this API and processing one image. The API ingests an image, resizes it to 224x224 … |
||
Defines a dummy application using this API. It returns a list of neighbors with a score on Iris datasets. … |
||
Defines a dummy application using this API. It returns a list of one neighbor for an image and metadata (random). … |
||
Defines a dummy application using this API. It stores a model and it returns a score produced by a model trained … |
||
Encrypts one password. |
||
Encrypts users passwords. |
||
Encrypts passwords to setup a REST API with lightmlrestapi. |
||
Goes through a list of logged files, reads and decrypts the content. |
||
Returns a path to local image. |
||
Converts a color imaged into an array. |
||
Encodes an image into base64. |
||
Dumps an object into json. |
||
Loads an object from json. |
||
Builds a REST request to compute the prediction of a machine learning model upload with |
||
Builds a REST request to upload a machine learned models to a REST API defined by |
||
Loads the encrypted passwords from a filename, a dataframe, a list of tuple. |
||
Implements |
||
Loads the model. The model name is relative to this file. When call by a REST API, the default value is always used. … |
||
Loads the model. The model name is relative to this file. When call by a REST API, the default value is always used. … |
||
Loads the model. The model name is relative to this file. When call by a REST API, the default value is always used. … |
||
Loads the model. The model name is relative to this file. When call by a REST API, the default value is always used. … |
||
Computes the prediction for model clf. |
||
Computes the prediction for model clf. |
||
Computes the prediction for model clf. |
||
Computes the prediction for model clf. |
||
Displays a version. |
||
Displays a version. |
||
Displays a version. |
||
Displays a version. |
||
Creates an falcon application and runs it through a wsgi server. |
||
Creates an falcon application and runs it through a wsgi server. The appplication stores machine … |
||
Converts string to bytes. |
||
Submits a request to a REST API defined by |
||
Unzips everything from a buffer. |
||
Uplaods a machine learned models to a REST API defined by |
||
Zips a dictionary |