-
-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to plot heatmap just for categorical and numeric features? #2
Comments
@shakedzy Hi! I am so grateful for sharing your time and knowledge. Really, I learned a lot from your code. Sorry, could you please let me know if is it possible to plot two separate plots for categorical features i.e., one for correlation ratio and another one for Cramer's V? Maybe some extra cells need to be masked each time. Thank you in advance. |
@jijo7 -
Where |
@shakedzy Hi
or something like this:
Surely, the numeric variables and all categorical variables should be passed in order to get correlation ratio and Cramer's V, but is it possible to mask the correlation matrix before passing it into the Thank you in advance. |
@jijo7 I cannot understand what are you trying to do.. I don't know what you have in |
@shakedzy Sorry, |
@jijo7 As I've replied before, if you want Cramer's V separately, pass only the categorical columns. Correlation Ratio is for categorical and numerical together. |
@shakedzy Could you please let me know how to mask the correlation matrix to plot just the following part (correlation ratio) in your example? |
|
@shakedzy how can one increase the plot size using nominal |
Use |
Hi Shakedzy!
Thanks a lot for sharing your nice code.
Could you please provide me with an example which shows how to plot heatmap just for categorical and numeric features? Really, I mean how it is possible to have 3 heatmap plots:
numeric vs numeric
numeric vs categorical
categorical vs categorical.
Besides, should categorical features with more than 2 category be converted into 0 or 1 using get_dummies? If there is 3 categories, is in't allowed to use 1, 2, and 3 to represent each category?
Thank you in advance.
The text was updated successfully, but these errors were encountered: