def __call__(self, y):
        k = len(y)
        v = self.p(self.X, y.reshape((1, k)))
        psi_vals = np.mean(v, axis=0)    # Take mean along each row

        return psi_vals.flatten()
A vectorized function that returns the value of the look ahead
dataset/ETHPy150Open QuantEcon/QuantEcon.py/quantecon/lae.py/LAE.__call__