Skip to content

[question] in the notebook 02_end_to_end_machine_learning_project.ipynb, the notebook explanations from the OneHotEncoder on are not clear #235

@alexmatiasas

Description

@alexmatiasas

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.

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions