Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

correlation with target variable python

import seaborn as sns 
df = sns.load_dataset('iris')
#find corr with 'sepal_length'. This can be any valid column 
df.corr()['sepal_length']
 
PREVIOUS NEXT
Tagged: #correlation #target #variable #python
ADD COMMENT
Topic
Name
8+9 =