trainindata / deploying-machine-learning-models

Code for the online course "Deployment of Machine Learning Models"
https://www.udemy.com/course/deployment-of-machine-learning-models/?referralCode=D4FE5EA129FFD203CFF4
BSD 3-Clause "New" or "Revised" License
796 stars 7.76k forks source link

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

Open saadalim1978 opened 2 months ago

saadalim1978 commented 2 months ago

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 commented 2 months ago

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