I'm trying to figure out the difference between KDE plots in seaborn and distplot in plotly. While I understand that both try to estimate the underlying distribution of the data, I'm not sure how exactly.
For instance, I tried plotting the kde plot and dist plot of two variables from the same dataset.
This is the kde plot using seaborn
:
and this is the dist plot using plotly
:
What is the difference between these 2 graphs and how would be interpret them. Also, can KDE plots be used in an imbalanced dataset( i.e. there are 2 categories of the dependent variable and number of datapoints under each category differ largely)