

def error_function(self, y_prediction, y_truth):
    '\n        Error function to calculate error\n        '
    error = ((y_prediction - y_truth) ** 2)
    return error

dataset/ETHPy150Open fukuball/fuku-ml/FukuML/LinearRegression.py LinearRegression.error_function/original