title: ValueError: shapes (5,14) and (16,) not aligned: 14 (dim 1)!= 16 (dim 0)
body: <p>I am working on housing dataset and when trying to fit the linear regression model getting error as mentioned. Complete code as below.
  I am not sure where is code going wrong. I tried pasting the code as it is from the reference book.</p>
  
  <pre><code>from sklearn.linear_model import LinearRegression
  lin_reg = LinearRegression()
  lin_reg.fit(housing_prepared, housing_labels)
  
  
  some_data = housing.iloc[:5]
  some_labels = housing_labels.iloc[:5]
  some_data_prepared = full_pipeline.transform(some_data)
  print("Predictions:\t", lin_reg.predict(some_data_prepared))
  </code></pre>
  
  <blockquote>
    <p>ERROR: ValueError: shapes (5,14) and (16,) not aligned: 14 (dim 1) != 16 (dim 0)</p>
  </blockquote>
  
  <p>What am I doing wrong here?</p>