def compute_outlier_fraction(y_pred, y_true, cutoff=0.2):
    return np.sum((abs(y_pred - y_true) > cutoff)) * 1. / len(y_pred)

#------------------------------------------------------------
# load data and compute colors
Applies a bilinear function based on given parameters.
dataset/ETHPy150Open astroML/sklearn_tutorial/doc/solutions/exercise_02.py/compute_outlier_fraction--crossover with--dataset/ETHPy150Open pfnet/chainer/chainer/functions/connection/bilinear.py/bilinear