Тёмный

Module 6- Python: Implementing Ridge, Lasso, and Elastic Net with Sklearn and Pycaret 

Pedram Jahangiry
Подписаться 5 тыс.
Просмотров 394
50% 1

Опубликовано:

 

19 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 10   
@fbytgeek
@fbytgeek 6 месяцев назад
Loving it so far!!!
@hackerborabora7212
@hackerborabora7212 10 месяцев назад
Comment before wach the best Chanelle in RU-vid ❤❤🎉
@pedramjahangiry
@pedramjahangiry 10 месяцев назад
Thanks for your support 🙏🏻
@fbytgeek
@fbytgeek 6 месяцев назад
Would you be uploading your Advanced Machine Learning for Analytics course as well? I think I found the teacher I want to learn from! Thank you for your service!
@pedramjahangiry
@pedramjahangiry 6 месяцев назад
The deep learning course is already there, look for the playlist “Deep learning concepts simply explained”. I am planning to start the “Deep forecasting course: advanced time series forecasting” soon.
@fbytgeek
@fbytgeek 6 месяцев назад
@pedramjahangiry that is exactly why I'm learning machine learning! Can't wait!
@Anis-f2t
@Anis-f2t 2 месяца назад
Hi Pedram, could we have access to the pdf of the sessions?
@pedramjahangiry
@pedramjahangiry 2 месяца назад
of course, all the slides are available on my Github account. Please check out the link on description.
@JesusVillotaDJ
@JesusVillotaDJ 4 месяца назад
Hi Pedram, one question. Why do you scale the whole dataframe in this notebook? In the other notebooks you only scale the X's; in particular, you define X_train_sc = sc.fit_transform(X_train) and X_test_sc = sc.transform(X_test). However, in this notebook you do df_sc= scaler.fit_transform(df), where df contains the y and the Xs. So in this case, you scale both (y and X) and potentially introduce some bias by fit_transforming all: the train and the test split (since you take them from df). Why doing that?
@pedramjahangiry
@pedramjahangiry 4 месяца назад
Good point! Yes, we typically use the training set for fitting the scaler and then apply it to the test set. However, for this dataset, as I mentioned in the video, I was a bit lazy and scaled the entire data since it's a small cross-sectional dataset with no outliers. You can certainly do it properly (fit_transform(X_train), transform(X_test)) and let me know if you find any differences. Regarding scaling 𝑦, it doesn't impact model performance much but can help with numerical stability and faster convergence during optimization. The model's predictive power remains the same. Interpreting RMSE would be different, though, because the unit is scaled.
Далее
С чего всё началось?
00:42
Просмотров 116 тыс.
С чего всё началось?
00:42
Просмотров 116 тыс.