Skip to content

File Model Output

Overview

This node lets you save a computed mllib model so tome file. You can then reload it using the model input node.

Tip

A model is actually a serialized object, more precisely a Transfomer.

Settings

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
{
    type: file_model_output
    component: file_model_output
    settings: {
        file_path: ./model.bin
    }
    subscribe: [
        {
            component: mllib
            stream: model
        }
    ]
}