Why do I get 'Object has no attribute 'logistic_regression' error?

User 871 | 10/20/2014, 10:58:47 PM

I installed Graphlab 1.0 and I got this message when executing Intro to Regression Notebook

AttributeError Traceback (most recent call last) <ipython-input-61-b7ea244cd1e8> in <module>() ----> 1 model2 = gl.logisticregression.create(houses, target="isgood")

AttributeError: 'module' object has no attribute 'logistic_regression'

Comments

User 91 | 10/21/2014, 12:41:48 AM

Thanks for trying out GLC 1.0.

The name of the function to use logistic regression for classification tasks has been modified to logistic_classifier. The notebooks have also been updated.

See here: http://graphlab.com/learn/gallery/notebooks/intro-regression.html

Some of the names of parameters in our API has changed to be consistent with the rest of the package. We have recently posted a note on the forum to highlighting these changes.