Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pyPdf import PdfFileReader, PdfFileWriter | |
import sys, os | |
if len(sys.argv)>1: | |
output_name = sys.argv[1] | |
else: | |
output_name = "all.pdf" | |
pdfs = filter(lambda f: os.path.splitext(f)[1]=='.pdf', os.walk(".").next()[2]) | |
pdfs.sort() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Demo of Gaussian process regression with R | |
# James Keirstead | |
# 5 April 2012 | |
# Chapter 2 of Rasmussen and Williams's book `Gaussian Processes | |
# for Machine Learning' provides a detailed explanation of the | |
# math for Gaussian process regression. It doesn't provide | |
# much in the way of code though. This Gist is a brief demo | |
# of the basic elements of Gaussian process regression, as | |
# described on pages 13 to 16. |