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

Factor levels in outcome column are not preserved #339

Open
kelly-sovacool opened this issue Jun 6, 2023 · 0 comments
Open

Factor levels in outcome column are not preserved #339

kelly-sovacool opened this issue Jun 6, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@kelly-sovacool
Copy link
Member

kelly-sovacool commented Jun 6, 2023

Currently, the positive outcome is just whichever is the first row in the test data, which is random. This throws off performance metrics! We need to ensure the user's preferred positive class is preserved. We should probably add an argument for this to specify the "positive" label in case the outcome isn't a factor? This issue only applies to binary classification.

@kelly-sovacool kelly-sovacool added the bug Something isn't working label Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant