A Classifier node is a node that you can use in a cognition to return a prediction and a prediction score by a Fuzzy Logic or Machine Learning script (i.e., a classifier) created outside the cognition by using the Scripts tool.
The inputs for a Classifier node must correspond to the type of inputs expected by the script.
The output of a Classifier node is determined by the Fuzzy Logic or Machine Learning script, which produces a tuple of values output (i.e., both the output to use as the predicted value and the output to use as the score of a predicted value).
The Properties window for a Classifier node contains the items that are described in the following table.
Item |
Description |
Notes |
---|---|---|
|
Specifies the Fuzzy Logic or Machine Learning script that will run when the cognition is executed. | Select |
Standard List Reference Field |
Specifies values that identify sub-sets of the script’s Standard List (e.g., Equipment Class values). |
This field is optional and enabled only when a Fuzzy Logic script has been specified. When the cognition is executed, values in the specified field are compared to List Reference values in Classifier Standard List records to determine which sub-set(s) of the script’s Standard List to use. |
Consider the following nodes and connections.
The maintainableItem.py Classifier node receives values from the Taxonomy Class Description, the Event Long Description, the Event Short Description, and the Maintainable Item Description input fields, and then uses the maintainableItem.py script to classify the values.
The Maintainable Item output field receives the predicted value produced by the maintainableItem.py script.
The following image shows what the Properties window looks like for the maintainableItem.py Classifier node.
In this example, the Taxonomy Class Description input field is selected in the Reference box and is used to pass List Reference values to the maintainableItem.py script. The values from the Taxonomy Class Description input field will limit the predictions produced by the script to the sub-sets of Standard Values that correspond to the List References in the Maintainable Item Standard List.
Copyright © 2018 General Electric Company. All rights reserved.