Skip to content

Instantly share code, notes, and snippets.

@dradecic
Created September 1, 2019 15:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dradecic/761479ba15e6d371b2303008c614444a to your computer and use it in GitHub Desktop.
Save dradecic/761479ba15e6d371b2303008c614444a to your computer and use it in GitHub Desktop.
rfecv_1_imports
%matplotlib inline
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import warnings
warnings.filterwarnings('ignore')
pd.options.display.max_columns = None
from sklearn.ensemble import RandomForestClassifier
from sklearn.model_selection import StratifiedKFold
from sklearn.feature_selection import RFECV
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment