handson-ml3
handson-ml3 copied to clipboard
A series of Jupyter notebooks that walk you through the fundamentals of Machine Learning and Deep Learning in Python using Scikit-Learn, Keras and TensorFlow 2.
According to CHANGES.md > Other sections have been removed and will be added to this repository within the next few weeks, including kernel principal component analysis (kPCA), mathematical details of...
Fix SSL error when doing the read directly from GitHub through pd.read_csv on python 3.11.4
In cell 48 of the notebook, the variable `data_augmentation` is created: ```python data_augmentation = tf.keras.Sequential([ tf.keras.layers.RandomFlip(mode="horizontal", seed=42), tf.keras.layers.RandomRotation(factor=0.05, seed=42), tf.keras.layers.RandomContrast(factor=0.2, seed=42) ]) ``` However, it doesn't seem to be used...
Exercise 10 of Chapter 17 seems very interesting and relevant. Unfortunately, I have been struggling with it for quite some time. I pretrained around 15 different autoencoders on 40K+ CIFAR-10...
Thanks for helping us improve this project! **Before you create this issue** Please make sure you are using the latest updated code and libraries: see https://github.com/ageron/handson-ml3/blob/main/INSTALL.md#update-this-project-and-its-libraries Also please make sure...
Bonjour @Ageron, your book is helping a lot, I hope this helps you: Changed on line 1208 housing.corr() to housing.corr(numeric_only=True) to remove deprecated warning for future versions.
02_end_to_end_machine_learning_project.ipynb contains a bug in calls to DataFrame.corr(), eg the line ``` corr_matrix = housing.corr() ``` Should be ``` corr_matrix = housing.corr(numeric_only=True) ``` Running it on colab gives a warning,...
The problem I encountered seems identical to the post https://github.com/ageron/handson-ml3/issues/35, but I am trying to create it on MacBook Air M2 not Windows. However, I followed the suggestions in that...
in 02_end_to_end these lines give an error: ``` cat_encoder = OneHotEncoder() housing_cat_1hot = cat_encoder.fit_transform(housing_cat) ``` "Pandas output does not support sparse data." The fix seems to be: ``` cat_encoder =...
The book has the following code: ```python period = slice("2001", "2019") df_monthly = df.resample('M').mean() # compute the mean for each month rolling_average_12_months = df_monthly[period].rolling(window=12).mean() fig, ax = plt.subplots(figsize=(8, 4)) df_monthly[period].plot(ax=ax,...