Skip to content
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

٠١-machine-learning-pipeline-data-analysis.ipynb #920

Open
saadalim1978 opened this issue Aug 8, 2024 · 1 comment
Open

٠١-machine-learning-pipeline-data-analysis.ipynb #920

saadalim1978 opened this issue Aug 8, 2024 · 1 comment

Comments

@saadalim1978
Copy link

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.

@saadalim1978
Copy link
Author

لقطة الشاشة 2024-08-08 200207
لقطة الشاشة 2024-08-08 200148
لقطة الشاشة 2024-08-08 200207
لقطة الشاشة 2024-08-08 200148

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant