Linear regression:
--------------------------------------------------------
Number of examples : 17384
Number of features : 3
Number of unpacked features : 3
Number of coefficients : 4
Starting Newton Method
--------------------------------------------------------
+-----------+----------+--------------+--------------------+---------------------------------+
| Iteration | Passes | Elapsed Time | Training Max Error | Training Root-Mean-Square Error |
+-----------+----------+--------------+--------------------+---------------------------------+
| 0 | 1 | 0.011115 | 7700000.000000 | 653896.065947 |
| 1 | 2 | 0.032214 | 4146407.600631 | 258679.804477 |
+-----------+----------+--------------+--------------------+---------------------------------+
SUCCESS: Optimal solution found.
example_weight_summary = example_model.get("coefficients")
print(example_weight_summary)
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-25-721ae2a40e9b> in <module>
----> 1 example_weight_summary = example_model.get("coefficients")
2 print(example_weight_summary)
~/.local/lib/python3.6/site-packages/turicreate/toolkits/_model.py in __getattribute__(self, attr)
338 return self._get(attr)
339 else:
--> 340 return object.__getattribute__(self, attr)
341
342 @_six.add_metaclass(RegistrationMetaClass)
AttributeError: 'LinearRegression' object has no attribute 'get'