Machine Learning (Responses) Stage
This is a response rewriting stage that is similar to the Machine Learning query stage. It must be used after the Solr Query stage in your pipeline. It uses a trained machine learning model to analyze a field or fields of a Response object and stores the results of analysis in a new field added to either the Response or the Context object.
In order to use the Machine Learning (Responses) Stage, you must train a machine learning model. There are two different ways to train a model:
-
Use a Fusion job that trains a model, like Logistic Regression or Random Forest.
-
Train a model using Spark’s MLlib API outside of Fusion, and upload this model into Fusion’s blob store. Complete details are available in Machine Learning Models in Fusion.
Configuration
When entering configuration values in the UI, use unescaped characters, such as \t for the tab character. When entering configuration values in the API, use escaped characters, such as \\t for the tab character.
|