Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get_signal(prob, num_classes, pred=None) maybe wrong. #510

Open
qtbgo opened this issue Oct 30, 2021 · 0 comments
Open

get_signal(prob, num_classes, pred=None) maybe wrong. #510

qtbgo opened this issue Oct 30, 2021 · 0 comments

Comments

@qtbgo
Copy link

qtbgo commented Oct 30, 2021

Hi, in your implementation of get_signal function (book snippet 10.1), you say :
Note 1: In the book, this function contains a conditional statement checking for a column named 'side',
then executes what is essentially the above line. This has been removed as it appears to be redundant
and simplifies the function
I don't think your modification is correct. In fact, parameter "pred" should be explained as predicted label x, not "side".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant