The codes of a demo example and the first two examples discussed in  Shi, J.Q., B. Wang, Murray-Smith, R. and Titterington, D.M. (2005).

The following files are stored in .../gpfr/

demo.m      --- A demo example. The train and test data are stored in train_data.mat and test_data.mat.
demo_2d.m   --- A demo example with 2-d inputs. The train and test data are stored in train_data_2d.mat
                and test_data_2d.mat.
example1.m  --- The first example discussed in Shi et al (2005). The results are saved at '.../gpfr/figs'.
examkstep.m --- The k-step-ahead forcasting example discussed in Shi et al (2005). The results are saved 
                at '.../gpfr/figs'.


fda: J.O.Ramsay's FDA codes with minor changes
gpfr: Gaussian Process functional regression


Refereences:

Ramsay, J. O. and Silverman, B. W. (1997) Functional data analysis. Spring-Verlag.
  
Shi, J.Q., B. Wang, Murray-Smith, R. and Titterington, D.M. (2005).
Gaussian process functional regression modeling for batch data. (available at
http://www.staff.ncl.ac.uk/j.q.shi/publication.html)

Note: It is free for download and use for scientific research, but the codes have not been
      checked carefully. The authors will not take any responsibilities for any errors in 
      using the codes. It cannot be used for commercial purpose. 

J. Q. Shi and B. Wang, 2005.  