Skip to content

File Model Output

Before you start...

Before using...

This node should subscribe from a mllib pipeline. By doing so, a binary file of the resulting model can be stored on a specified location.

Tip

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

Pyspark ->

Spark ->

Examples

Use-cases

Our "hello world" punchline configuration.

beginner_use_case.punchline

{
    type: punchline
    version: "6.0"
    runtime: spark
    tenant: default
    dag: [
        {
            type: file_model_output
            component: file_model_output
            settings: {
        path: ./model.bin
            }
            subscribe: [
                {
                    component: mllib
                    stream: model
                }
            ]
        }
    ]
}

run beginner_use_case.punchline by using the command below:

CONF=beginner_use_case.punchline
punchlinectl start -p $CONF

Coming soon

Coming soon

Parameters

  • path: String

    Description: [Required] Absolute path of the resource.

Advanced Settings

No advanced settings