NameError: name 'Ridge' is not defined
<p>I'm beginner learning Machine learning. I'm using IDLE spyder
and this Python version:</p>

<pre><code>Python 3.4.3 |Anaconda 2.3.0 (64-bit)| (default, Mar  6 2015, 12:06:10) [MSC v.1600 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
</code></pre>

<p>I'm having the following error:</p>

<pre><code>NameError: name 'Ridge' is not defined 
</code></pre>

<p>Can you please help me to find out what's wrong with this code? Is this issue related with the Python version?</p>

<pre><code>from sklearn import linear_model
clf = linear_model.Ridge(alpha=.5)
clf.fit ([[0, 0], [0, 0], [1, 1]], [0, .1, 1]) 
Ridge(alpha=0.5, copy_X=True, fit_intercept=True, max_iter=None,
      normalize=False, random_state=None, solver='auto', tol=0.001)
clf.coef_
</code></pre>

<p>Thanks in advance</p>