In section 5 unit 13 testing and predicting. I do not know what is the error in my code:
ss1 = StandardScaler()
cls.fit(ss1.fit_transform(X.iloc[:split]), y.iloc[:split])
y_predict = cls.predict(ss1.transform(X.iloc[:split]))
the error message says:
Have you called cls.fit method?
Hello Hugo,
Please reconfirm the range of values of the dataframe X you're passing into cls.predict with the solution code.