Spark H2O MOJO Predictor (Word Embedding)

This node applies a word embedding MOJO to an input column.

Note: The input will not be stripped, so leading or trailing whitespaces should be removed with a String Manipulation node before prediction if desired.


Word Embedding Settings

Input column
The input column of type String. The content of the String cells will be treated as one word to predict, no tokenization will be performed.
Change prediction column name
Change the name of the prediction column.
Fail if a word is not in the vocabulary
If checked, the node will fail if any of the words in the input table is missing in the vocabulary of the MOJO. Otherwise, a missing value will be the output.

Spark Settings

Upload MOJO dependency
If checked, the MOJO dependency (genmodel jar file) will be uploaded to the cluster. Otherwise depend on cluster side provided dependency.

Input Ports

The MOJO. Its model category must be word embedding.
Spark DataFrame/RDD for prediction. Missing values will be treated as NA .

Output Ports

Spark DataFrame/RDD containing the predicted vector.

Popular Successors

  • No recommendations found


This node has no views


  • No workflows found



You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.