Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created May 3, 2021 13:59
Show Gist options
  • Save amankharwal/c987c4ea0ab3c75245b95999957674f3 to your computer and use it in GitHub Desktop.
Save amankharwal/c987c4ea0ab3c75245b95999957674f3 to your computer and use it in GitHub Desktop.
from sklearn.feature_selection import SelectFromModel
from sklearn.datasets import load_boston
from sklearn.preprocessing import PolynomialFeatures
from sklearn.linear_model import LinearRegression
from sklearn.model_selection import train_test_split
boston = load_boston()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment