-
Notifications
You must be signed in to change notification settings - Fork 64
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
Tangram crashes on failure to train binary classification model #81
Labels
bug
Something isn't working
Comments
training output on current release:
csv:
The warning indicates there is only a single row for comparison. This is not enough. we need to enforce a reasonable minimum training dataset size. A valid AUC only exists if there is at least one example whose true value is positive and one example whose true value is negative, otherwise one of the TPR or FPR used to compute the AUC will be NaN. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When training a binary classification model, the CLI crashes with the following output:
https://github.com/tangramdotdev/tangram/blob/2e51ef1ae3c7ec1e65b9232945d5cfb6d99d52ef/crates/core/train.rs#L1882
We handled this in the regression case here https://github.com/tangramdotdev/tangram/blob/2e51ef1ae3c7ec1e65b9232945d5cfb6d99d52ef/crates/core/train.rs#L1857
by removing the
unwrap
and outputtting a friendly error message. We need to do the same for binary classification and multiclass classification.The text was updated successfully, but these errors were encountered: