Enter the chapter number
Chapter 2, end to end ml project
Enter the page number
67
What is the cell's number in the notebook
From Handling Cathegorical Data
Enter the environment you are using to run the notebook
Jupyter on MacOS
Question
i think it's because of a new edition of the book and it is not completed but it's kinda confusing. there are blocks of code like
from sklearn.metrics.pairwise import rbf_kernel
age_simil_35 = rbf_kernel(housing[["housing_median_age"]], [[35]], gamma=0.1)
that are not in the 2nd edition and more. and the comments from the markdown are not clear.
I understood it's another transformation in the housing_median_age feature but i don't understand where the dbf kernel comes from, and what it does to the data as it is not explained.