Skip to main content

GLM Contribution

Synopsis

This operator allows you to access the contribution of individual influence factors to your prediction.

Description

Linear models are often used to not just predict but also understand the results. This operator can use the provided Generalized Linear Model and create new attributes, which define the amount of contribution of a given attribute per example.

The contribution for each attribute and for each example is calculated as: %lt;example_value_of_attribute%gt; * %lt;coefficient%gt;. The operator adds for each attribute which was used in the GL-Model a new attribute "Contribution_%lt;attribute_name%gt;" with the contribution value. The resulting ExampleSet is provided at the scored output port.

Input

exa

The example set to be evaluated.

mod

The Generalized Linear Model to be used.

Output

exa

The input example set with contribution attributes added.

mod

The passed through input model.

Parameters