title: Online linear regression with sklearn.linear_model leads sklearn import linear_model error
body: <p>This fairly simple example leads to the error below? What is the problem and how can I solve it.</p>
  
  <pre><code>from sklearn import linear_model
  from random import randrange
  
  def model(x):
      return 2 * x
  
  clf = linear_model.SGDRegressor()
  for i in range(20000):
      x = randrange(-1000, 1000)
      clf.partial_fit([(1, x)], [model(x)])
  </code></pre>
  
  <blockquote>
    <p>ValueError: Floating-point under-/overflow occurred at epoch #1. Scaling input data with StandardScaler or MinMaxScaler might help.</p>
  </blockquote>