Skip to content

Typoe Ch4 - Page 136 #90

@mzakariaCERN

Description

@mzakariaCERN

indices = np.argsort(importances[::-1]) # this causes the wrong order for plt.show() at the end of the code chunk (though the values are correct)
indices = importances.argsort()[::-1] # gives correct order

in the remote chance that this was a legit issue, It would be a privilege to be mentioned!

Metadata

Metadata

Assignees

No one assigned

    Labels

    fixed-in-3rd-editionTagged as fixed in the upcoming 3rd edition

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions