Skip to content

Instantly share code, notes, and snippets.

View brennonbrimhall's full-sized avatar

Brennon Brimhall brennonbrimhall

View GitHub Profile
@brennonbrimhall
brennonbrimhall / learn.py
Created December 27, 2018 23:48
Predicting Robot Awards
from sklearn.linear_model import LogisticRegression
train = [x for x in output if x[2] <= 2018]
test = [x for x in output if x[2] == 2018]
x_train = [x[0] for x in train]
x_test = [x[0] for x in test]
models = []
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#!/usr/bin/env bash
# Store your private GPG keys in a QR-encoded image for disaster recovery.
# You'll want to print the generated image, verify that it works as intended,
# and then securely deleting the generated image (shred is a good choice).
# Note that montage defaults to placing consecutive images from top left to top
# right, then the bottom left to bottom right (row-major order).
if [ -z "$1" ]; then