Skip to content

Mllib Model

Overview

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

Runtime Compatibility

  • PySpark :
  • Spark :

Examples

---
type: punchline
version: '6.0'
runtime: spark
dag:
- type: mllib_model
  component: model_executor
  settings: {}
  publish:
  - stream: data
  subscribe:
  - component: input_data
    stream: input_data
  - component: file_model
    stream: model

Parameters

Name Type mandatory Default value Description
input_data String true NONE Data to apply model
model String true NONE model to use. Use the File Model Input Node to load model from a file or use Mllib to generate a model.