title: name 'linear_model' is not defined
body: <pre><code>import numpy as np
  import pandas as pd
  from matplotlib import pyplot as plt
  from sklearn.linear_model import LinearRegression
  
  df = pd.read_excel('C:\Data.xlsx')
  #print (df.head())
  
  x_train = df['Father'].values[0:15]
  y_train = df['Son'].values[0:15]
  
  x_test = df['Father'].values[15:]
  #print (x_test)
  
  lm = linear_model.LinearRegression()
  lm.fit(x_train, y_train)
  
  -----------------------------------------
  
  lm = linear_model.LinearRegression()
  NameError: name 'linear_model' is not defined
  </code></pre>