Skip to content

Instantly share code, notes, and snippets.

Randy Olson rhiever

Block or report user

Report or block rhiever

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@rhiever
rhiever / tpot-benchmark-stat-sig-diff-27-benchmarks.txt
Created Jun 16, 2016
List of pipelines optimized by TPOT v0.3 for the TPOT benchmarking paper to be presented at the ICML 2016 AutoML workshop
View tpot-benchmark-stat-sig-diff-27-benchmarks.txt
Dataset Pipeline
collins _random_forest(ARG0, 25, sub(62, 45))
collins _random_forest(ARG0, 36, 20)
collins _decision_tree(ARG0, 25, 81)
collins _decision_tree(ARG0, 16, 54)
collins _xgradient_boosting(ARG0, 0.01, 98, 36)
collins _xgradient_boosting(ARG0, 0.1, 32, 14)
collins _xgradient_boosting(ARG0, 1.0, 54, 39)
collins _decision_tree(ARG0, 94, 24)
collins _random_forest(ARG0, 100, 41)
@rhiever
rhiever / tpot-individual-creation.ipynb
Created Apr 19, 2016
How to create TPOT individuals
View tpot-individual-creation.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View ba-vs-mar.py
from sklearn.datasets import load_digits
from sklearn.ensemble import RandomForestClassifier
from sklearn.cross_validation import train_test_split
from sklearn.metrics import recall_score
import numpy as np
import pandas as pd
digits = load_digits(10)
features, labels = digits['data'], digits['target']
View scikit-learn-feature-order-bug.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rhiever
rhiever / predict-gender-from-trivia-performance.ipynb
Created Jul 31, 2015
This notebook uses a random forest classifier to predict a player's gender based on their trivia question performance.
View predict-gender-from-trivia-performance.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View bom-scraper.py
import urllib2
import time
import os
# Make a directory to store all of the HTML pages
os.system("mkdir pages")
# Download the raw HTML of all pages
for year in range(1982, 2015):
for week in range(1, 53):
View tableau10.mplstyle
# Author: Randal S. Olson (randalolson.com / @randal_olson)
# Uses Tableau's Tableau10 color scheme
figure.figsize: 12, 7
figure.edgecolor: white
figure.facecolor: white
lines.linewidth: 2.5
lines.markeredgewidth: 0
lines.markersize: 10
View tableau20.mplstyle
# Author: Randal S. Olson (randalolson.com / @randal_olson)
# Uses Tableau's Tableau20 color scheme
figure.figsize: 12, 7
figure.edgecolor: white
figure.facecolor: white
lines.linewidth: 2.5
lines.markeredgewidth: 0
lines.markersize: 10
@rhiever
rhiever / Quick and dirty web scraping with Python.ipynb
Created Jan 14, 2014
Quick and dirty web scraping with Python
View Quick and dirty web scraping with Python.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rhiever
rhiever / Plot average and SEM of multiple data files.ipynb
Created Nov 20, 2013
Plot average and SEM of multiple data files
View Plot average and SEM of multiple data files.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
You can’t perform that action at this time.