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
787 stars 7.67k forks source link

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

Open saadalim1978 opened 1 month ago

saadalim1978 commented 1 month 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 1 month ago

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