'One dimensional Line model derivative with respect to parameters'

@staticmethod
def fit_deriv(x, slope, intercept):

    d_slope = x
    d_intercept = np.ones_like(x)
    return [d_slope, d_intercept]
