Apply Probabilizer function

This function applies a probabilizer model previously trained by a probabilizer.train procedure type, converting a score to a probability.

Input and Output Values

It has one real-valued input value named score, usually the output of a classifier function type. It outputs one value named prob which is a real value between 0 and 1 indicating the probability associated with the input score.

Configuration

A new function of type probabilizer named <id> can be created as follows:

mldb.put("/v1/functions/"+<id>, {
    "type": "probabilizer",
    "params": {
        "modelFileUrl": <Url>
    }
})

with the following key-value definitions for params:

Field, Type, DefaultDescription

modelFileUrl
Url

URL of the model file (with extension '.prb') to load. This file is created by the probabilizer.train procedure type.

See also