R code for scraping Congress job approval data from RealClearPolitics and training a Gaussian process. Predictions are then compared to those on PredictIt to make bets. Used to generate plots for blog post Betting on Politics with Gaussian Processes.
Also includes Python code for sampling from a Gaussian process, which generated plot for blog post GP Tutorial.