Skip to contents

This function computes the value of an IQ interaction feature given the values of its terms. It uses the saved normalization factors (inter_max, norm_min, norm_max) from the training data to ensure consistent normalization.

Usage

iq_interaction.compute(iq, term1_values, term2_values)

Arguments

iq

An IQInteraction object.

term1_values

A vector of values for the first term.

term2_values

A vector of values for the second term.

Value

A vector of computed and normalized interaction values.