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

469 generalise the data representation #485

Merged
merged 32 commits into from
May 22, 2024

Conversation

r59q
Copy link
Collaborator

@r59q r59q commented May 22, 2024

  • Adds a LiveDataVector interface that live data values should implement. It exposes a getVector(): number[] function that is used for generalization
  • Combines all stores in stores.ts into one Stores object. This allows for setting stores at a later point such as stores.setLiveData(...) useful for specifying LiveData store objects which now could be differently sized
  • Improves the state of logging, adding a welcome message and stack trace to logging messages
    image
    This message appears the first time vite refreshes and only the first time. You can disable stack traces by typing ds() in the console
    image
  • Added Dockerfile and a docker-compose file for easy deployment. This allows users to run docker-compose up to quickly setup a local version on port 5174, without having to worry about node versions, etc.
    • Additionally added an express server (public/main.cjs) for hosting the production builds
    • Hopefully this lowers the barrier to contribution and distribution of the project
  • Removed LiveGraphHighlighted, as it has become redundant
  • Loss-Graph is now linear instead of logarithmic
    image

A view of the liveGraph with more than 3 axes
image

Progress

  • Add interface
  • Add size to interface
  • Add labels to interface and use them in live graph
  • use the live data synthesizer to test more than 3 Axes
  • fix live graph when microbit is reconnecting
  • Use key to remove multiple instances of LiveGraph and delete LiveGraphHighlighted
  • Make a LiveData wrapper for liveData store, so that it may be changed. LiveData.getStore() and LiveData.setStore(store)
  • the store should be created when a microbit is connected, to ensure that the stores file doesn't know the implementation details
  • Fix the issue where axes can't be selected
  • make sure stores update in playground
  • Be able to switch from KNN to NN model without problems
    • Maybe select more filters?
    • Make sure axis highlighting gets disabled
  • Check compatibility with no-name connections

Copy link

A deployment is being made to https://ml-machine-485.r59q.com/. This site will be continuously updated as changes are made to this PR.

@r59q r59q requested a review from Karlo-Emilo May 22, 2024 17:58
@r59q r59q merged commit 28f8c33 into v3.2 May 22, 2024
@r59q r59q deleted the 469-generalise-the-data-representation branch October 25, 2024 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant