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

Inference feature in the validation UI of the web client #543

Merged

Conversation

francesco98
Copy link
Collaborator

@francesco98 francesco98 commented Nov 15, 2022

Disco library

  1. The predicted values in the assessment method were rounded by using Math.round, but for multi-class tasks this might lead to an array of 0s because the largest probability might still be lower than 0.5. Now, we use tf.argMax.
  2. The assessment method now returns also an object containing the predicted values and the ground truth.
  3. A new method to only making predictions has been added.
  4. The displayInformation in task definition allows to define how to show labels (TEXT vs GPS). We might add other types of visualization.
  5. You can now also download predictions

Web-client

Screenshot 2022-11-24 at 15 44 59

Screenshot 2022-11-24 at 15 45 16

  1. The assessment view also shows predictions vs ground truth table to check where the model is doing mistakes.

IMAGE TASK
Screenshot 2022-11-22 at 10 24 09

TABULAR TASK
Screenshot 2022-11-23 at 16 45 21

  1. You can see predictions on a map (The following URL has been implemented for the specific task: https://disco-polygon.web.app/?cellIds=0,1&colors=274C78,FF0000)
    Screenshot 2022-11-22 at 13 56 18

  2. If the ground truth is not provided, you can only make predictions given a set of samples
    Screenshot 2022-11-22 at 10 25 44

@francesco98 francesco98 linked an issue Nov 15, 2022 that may be closed by this pull request
@action="inferModel()"
>
<template #title>
Infer your model
Copy link
Member

Choose a reason for hiding this comment

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

just a language thing: let's change to sth like Make predictions using your model. i would also change the code names (doing inference is fine, but infering the model in statistics means training the model, so this will be confusing later on)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Okay, sure!

@francesco98 francesco98 added feature New feature or request web client Related to the browser environment discojs Related to Disco.js labels Nov 22, 2022
@francesco98 francesco98 self-assigned this Nov 22, 2022
@s314cy s314cy force-pushed the 495-inference-feature-in-the-validation-ui-of-the-web-client branch from 1af65c6 to fa5711a Compare November 22, 2022 13:28
@francesco98 francesco98 marked this pull request as ready for review November 23, 2022 16:52
@francesco98 francesco98 force-pushed the 495-inference-feature-in-the-validation-ui-of-the-web-client branch from 1c67197 to 3b5e317 Compare November 24, 2022 14:36
Copy link
Contributor

@s314cy s314cy left a comment

Choose a reason for hiding this comment

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

excellent work @francesco98 ;)

@s314cy s314cy force-pushed the 495-inference-feature-in-the-validation-ui-of-the-web-client branch from d163baf to be2df2f Compare January 19, 2023 08:56
@s314cy s314cy merged commit 92fa64f into develop Jan 19, 2023
@s314cy s314cy deleted the 495-inference-feature-in-the-validation-ui-of-the-web-client branch January 19, 2023 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discojs Related to Disco.js feature New feature or request web client Related to the browser environment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Inference feature in the validation UI of the web client
3 participants