Gradient Descent problem

User 2353 | 12/16/2015, 9:36:01 AM

Hello guys, I was creating a regression model and testing the different effectiveness of the solver models..

Doing: model1 = graphlab.linearregression.create(train_data, target='Output', features=features, solver=gb)

I get this message: NameError: name 'gb' is not defined

Any ideas?

Thanks, LC


User 1190 | 12/16/2015, 6:12:36 PM


Did you mean model_1 = graphlab.linear_regression.create(train_data, target='Output', features=features, solver='gd')

'gd' needs to be quoted string.

Thanks, -jay