Skip to content

Mllib model node

Overview

Compatible Spark only

This PML Node Class is in charge of applying a Spark MLLib transformer model, for example a model produced by training a MLLib pipeline.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
    job: [
        {
            type: mllib_model
            component: model_executor
            settings: {}
            publish: [
                {
                    stream: data
                }
            ]
            subscribe: [
                {
                    component: input_data
                    stream: input_data
                }
                {
                    component: file_model
                    stream: model
                }
            ]
        }
    ]
}

Tags

input_data
Data to apply model

model
model to use. Use the File Model Input Node to load model from a file or use Mllib to generate a model.