Skip to content

willisk/gaussian_processes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gaussian processes for data regression and sampling

This code showcases the different parameters used for gaussian process regression.

Following Machine Learning and Pattern Recognition (Bishop) I implemented GPR in python along with a small widget using matplotlib to be able to see the effect of the hyperparameters on the regression.

Alt text

Sampling from the computed distribution:

Alt text

Using a different kernel (and effectively modelling the stock market):

Alt text

Requirements:

numpy
matplotlib

Using gpr.py:

import, fit:

import gpr
gp = gpr.GP()
gp.fit(data_x, data_y)

predict:

gp.predict(pred_x)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages