Skip to content

Chapter 4 typo - page 132 #98

Open
@polishtits

Description

@polishtits

Greetings professor Raschka,
Thank you for writing such an amazing book!
On Page 132, I found a small bug in SBS class:
Original:
def transform(self, X): return X[:, self.indices_]

I think the correct code should be:
def transform(self, X): return X[:, self.subsets_[np.argmax(self.scores_)]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions