Skip to content

Conversation

HarshineeSriram
Copy link

In the BinBinarizer.fit() method, the line tmp_num_thresholds -= 1 is called before tmp_num_thresholds is initialized.

Hence, if you call the BinBinarizer.fit() method, you can run into this issue: UnboundLocalError: local variable 'tmp_num_thresholds' referenced before assignment.

In the BinBinarizer.fit() method, the line tmp_num_thresholds -= 1 is called before tmp_num_thresholds is initialized.

Hence, if you call the BinBinarizer.fit() method, you can run into this issue: UnboundLocalError: local variable 'tmp_num_thresholds' referenced before assignment

Signed-off-by: Harshinee Sriram <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant