GithubHelp home page GithubHelp logo

gp-visual-tool's Introduction

Gaussian Processes Visual Tool

Powered by (G)PyTorch, Flask, D3.js and Svelte. Check the related paper for more information.

By Eduardo Adame.

Special thanks to @juanbelieni for the help with the implementation of the Svelte app.

Instructions

Installation

  1. Clone this repository and cd to src/
  2. Install the requirements for Python: cd gp && pip install -r requirements.txt
  3. Install the requirements for Node: cd ../web && npm install

Even though you installed the requirements for Python, it may not work. It happens because of Torch. If you have problems, try to install it manually. You can find the instructions here.

Personally, I create a virtual environment with conda and install the requirements there. It works for me. Just using:

conda create -n gpvt &
conda activate gpvt &
conda install pytorch torchvision torchaudio pytorch-cuda=11.7 -c pytorch -c nvidia &
conda install -c conda-forge pip &
pip install -r requirements.txt

Run

  1. cd to src/
  2. Keep the server running: cd gp/ && python server.py
  3. Run the client: cd ../web/ && npm run dev

Code is now kinda messy, but I'll try to clean it up soon. I'm also planning to add more features, like the possibility to change the kernel, the likelihood, the optimizer, etc.

gp-visual-tool's People

Contributors

adamesalles avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

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.