'Predict new data by linear interpolation.
Parameters
T : array-like, shape (n_samples,)
Data to predict from.
Returns
T_ : array, shape (n_samples,)
The predicted data.'

def predict(self, T):

    T = column_or_1d(T)
    return (1.0 / (1.0 + np.exp(((self.a_ * T) + self.b_))))
