My Goal is to avoid the warning message below
What I did
house_data = pd.read_csv('datasets/house_data_processed.csv')
target = house_data['price']
features = house_data.drop('price', axis=1)
features.columns
from yellowbrick.target import FeatureCorrelation
feature_names = list(features.columns)
Warning Msg
/Users/georgeng/opt/anaconda3/lib/python3.7/site-packages/sklearn/utils/deprecation.py:144 FutureWarning: The sklearn.metrics.classification module is deprecated in version 0.22 and will be removed in version 0.24. The corresponding classes / functions should instead be imported from sklearn.metrics. Anything that cannot be imported from sklearn.metrics is now part of the private API. warnings.warn(message, FutureWarning)
Question - I didn't use sklearn in the offending statement above why would the warning msg implied I used sklearn.metrics.classification?
Thnks for your help. George