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.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.
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
#!/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 |