Skip to content

pombreda/gp.js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GP.js

Gaussian processes in the browser

gp.js contains the meat plot.js contains the seasoning (visualization)

Quickstart for JS API

How to instantiate a GP, covariance kernel, and evaluate a covariance matrix.

//Instantiate a new Gaussian process using a 'squared exponential' kernel gp = new george.GaussianProcess(george.kernels.exp_squared(1.0, 1.0))

//create a data array usingthe numeric.js library x = numeric.linspace(-5, 5, 50)

//use the kernel to create a covariance matrix var K_matrix = gp.get_kernel_matrix(x)

http://bost.ocks.org/mike/chart/

http://bost.ocks.org/mike/join/

How to plot a line:

https://www.dashingd3js.com/svg-paths-and-d3js

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 83.2%
  • HTML 16.8%