Score Node icon
The Clario Score node is used to score a data stream with either a linear or logistic regression model. There are two data inputs to Score. First, you need the results of either a Linear Regression or Logistic Regression node. Connect a Linear or Logistic node to the upper input connector. Or, if you’ve written the results to a file using a Write File node, connect a Read File node referencing the appropriate results file to the upper input connector. A properly formatted results file is comprised of 3 fields: COMPONENT, DESCRIPTION, and VALUE.
The following example illustrates one possible logistic result that could be read into a Score node.
COMPONENT,DESCRIPTION,VALUE
ModelType,LOGISTIC,
InterceptCoefficient,,-1.6302
Coefficient,total_order12,0.0917
Coefficient,custom,0.1694
Coefficient,dollars,0.0002
Coefficient,catalog_total_orders,0.2476
Coefficient,recency,-0.0001
Coefficient,age_55_74_IND,0.37
Coefficient,gender_F,0.0646
Coefficient,insert_recency,-0.0001
Coefficient,multi_recency,-0.0001
Coefficient,internet_recency,-0.0011
Coefficient,total_distinct_items,0.0144
InterceptStandardCoefficient,,0
StandardCoefficient,total_order12,0.1929
StandardCoefficient,custom,0.1646
StandardCoefficient,dollars,0.1118
StandardCoefficient,catalog_total_orders,0.1895
StandardCoefficient,recency,-0.3382
StandardCoefficient,age_55_74_IND,0.2388
StandardCoefficient,gender_F,0.0427
StandardCoefficient,insert_recency,-0.1195
StandardCoefficient,multi_recency,-0.1905
StandardCoefficient,internet_recency,-2.5514
StandardCoefficient,total_distinct_items,0.0894
DependentAttribute,buyerflag_net,
DependentSuccessType,NUMBER,
DependentSuccessValue,1,
Once the results are connected to the upper input connector, you need the data stream you wish to score, that contains all of the predictor attributes. Connect the data stream to the lower input connector.
Score has only one configuration tab.
Configuration Tab
The only user input for Score is the name of the model score attribute. Simply type this into the text box provided. See tips on Valid Characters for Attribute Names. If invalid keys are pressed when the text box is open, nothing will appear.
There is one results set with one tab (Model Score Equation) for the Score node. The Model Score Equation tab is used to process your input data stream and compute the Model Score Attribute.
Model Score Equation
The data output stream from the Score node contains the original data stream with the addition of one attribute, the score attribute you named on the configuration tab. You can connect the Score node to a Write File node to write out a dataset, or to a number of other nodes to continue processing.