Open
Description
Let's go ahead and analyse the distributions of the variables
after applying a yeo-johnson transformation
temporary copy of the data
tmp = data.copy()
for var in cont_vars:
# transform the variable - yeo-johsnon
tmp[var], param = stats.yeojohnson(data[var])
plot the histograms of the transformed variables
tmp[cont_vars].hist(bins=30, figsize=(15,15))
plt.show()
BracketError: The algorithm terminated without finding a valid bracket. Consider trying different initial points.
Metadata
Metadata
Assignees
Labels
No labels