Skip to content

Chapter 4 typo - page 132 #98

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_)]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions