automatic statistician projectThis is part of the
Gaussian Process Structure Search
Code for automatically searching through compositions of covariance functions for Gaussian process regression, described in
Structure Discovery in Nonparametric Regression through Compositional Kernel Search by David Duvenaud, James Robert Lloyd, Roger Grosse, Joshua B. Tenenbaum, Zoubin Ghahramani
Despite its importance, choosing the structural form of the kernel in nonparametric regression remains a black art. We define a space of kernel structures which are built compositionally by adding and multiplying a small number of base kernels. We present a method for searching over this space of structures which mirrors the scientific discovery process. The learned structures can often decompose functions into interpretable components and enable long-range extrapolation on time-series datasets. Our structure search method outperforms many widely used kernels and kernel combination methods on a variety of prediction tasks.
We welcome pull requests and feature suggestions!
You'll need Matlab and Python 2.7 with numpy.
You'll also need to create
source/cblparallel/config.py - follow the format of the example file in the same directory.
To check whether the framework runs, go to the source directory and run
There are some example experiment scripts
Many helper functions to summarize results are in
postprocessing.py. For example, to produce nice plots of your decomposition, call
If you have any questions about getting this running on your machine or cluster, please let us know.
If describe your problem to us, we'll also happy to give advice about running the method.
Windows users will need to make a change
- All strings in config files are not sanitized, therefore backslashes and other special characters should be delimited e.g.
Updated Repository and Paper:
Development on this project has now moved to https://github.com/jamesrobertlloyd/gpss-research/.
Further developments are described in the paper: Automatic Construction and Natural-Language Description of Nonparametric Regression Models by James Robert Lloyd, David Duvenaud, Roger Grosse, Joshua B. Tenenbaum and Zoubin Ghahramani, appearing in AAAI 2014.
This paper presents the beginnings of an automatic statistician, focusing on regression problems. Our system explores an open-ended space of statistical models to discover a good explanation of a data set, and then produces a detailed report with figures and natural-language text. Our approach treats unknown regression functions nonparametrically using Gaussian processes, which has two important consequences. First, Gaussian processes can model functions in terms of high-level properties (e.g. smoothness, trends, periodicity, changepoints). Taken together with the compositional structure of our language of models this allows us to automatically describe functions in simple terms. Second, the use of flexible nonparametric models and a rich language for composing them in an open-ended manner also results in state-of-the-art extrapolation performance evaluated over 13 real time series data sets from various domains.