def METHOD_NAME(self, x):
    # Start with the intercept
    y_pred = self.intercept
    # Add the unary interactions
    y_pred += utils.math.dot(x, self.weights)
    # Add greater than unary interactions
    y_pred += self._calculate_interactions(x)
    return y_pred