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
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) |
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 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'] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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): |
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
# 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 |
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
# 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 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder