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

UI Testing and Predicting with a model crashes silently #622

Closed
JulienVig opened this issue Feb 8, 2024 · 0 comments · Fixed by #624
Closed

UI Testing and Predicting with a model crashes silently #622

JulienVig opened this issue Feb 8, 2024 · 0 comments · Fixed by #624
Labels
bug Something isn't working discojs Related to Disco.js web client Related to the browser environment
Milestone

Comments

@JulienVig
Copy link
Collaborator

When a model has been trained, one can test it and use it to predict new data. Both fail silently with the error TypeError: e.size is not a function in the console.

To Reproduce
Steps to reproduce the behavior:

  1. Train or download a titanic model
  2. Click on Test (or Predict)
  3. Upload train.csv or test.csv
  4. Click on Test (or Predict)

Expected behavior
Testing a model should yield the test accuracy as well as the number of samples visited. Predicting with a model should display the resulting predictions and let the user download them.

@JulienVig JulienVig added bug Something isn't working web client Related to the browser environment discojs Related to Disco.js labels Feb 8, 2024
@JulienVig JulienVig changed the title UI Testing and Predicting with a model crash silently UI Testing and Predicting with a model crashes silently Feb 8, 2024
@martinjaggi martinjaggi added this to the v3.0.0 milestone Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working discojs Related to Disco.js web client Related to the browser environment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants