Giter Site home page Giter Site logo

dynamicgenetics / the-learning-machine Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 1.0 138.39 MB

Public engagement project using interactive human-in-the-loop online machine learning to teach machines to recognise human emotion (in development)

License: GNU General Public License v3.0

Python 99.14% JavaScript 0.23% HTML 0.64%

the-learning-machine's Issues

Backend: Add `stats` JSON object to `BackendResponse`

Continuing in this issue the conversation started in the latest PR

(@OliverDavis comment)

How about this as a return object for both the annotate and forget endpoints?

{ "data": [current return object], "stats": {name, value for model fit stats} }

RE: I think that makes lots of sense. Also, appending the new stats objects to the current backend response is super quick to do too.

I think we should just decide what the stats object should contain, and which metric we want to calculate.

One first hypothesis can be to generate a per-class score (e.g. per-class precision), along with an overall score for all the faces currently on the board.

In other words, the stats object can have the following structure:

{
  stats: { 
      happy: happy score in [0, 1]
      sad: sad score  in [0, 1]
      angry: angry score  in [0, 1]
      disgust: disgust score  in [0, 1]
      fear: fear score  in [0, 1]
      surprise: surprise score  in [0, 1]
      overall: overall global score  in [0, 1]
}

When a new face will come in, updated scores for old 24 + 1 faces on the board will be returned.

Would that make any sense?

Donuts do not update in Frontend for images on board

The donuts do not change nor updates after image annotation, despite values from backend are passed to frontend changed.

This is particularly easy to spot if default number of images is decreased (e.g. to 2 ) and a non-retrained model is used (as it's the case of having heavy shifts in performance)

After a quick check, I noticed that the refreshNodeArray function in d8r.js updates links from server response, but doesn't do anything with donuts.

Isn't there were the donut update should be performed ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.