Skip to content

Conversation

@rcurtin
Copy link
Member

@rcurtin rcurtin commented Oct 26, 2023

While using softmax regression for some experiments, I found that if I called Train() directly, instead of passing anything in the constructor, that subsequent calls to Classify() would fail. The reason is that the numClasses member is not actually set in Train(), so I fixed that, and added a test that would have failed without the changes here, but now, it succeeds. :)

Copy link

@mlpack-bot mlpack-bot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Second approval provided automatically after 24 hours. 👍

@conradsnicta conradsnicta merged commit 7af47e2 into mlpack:master Nov 5, 2023
@rcurtin rcurtin mentioned this pull request Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants