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 fetch_openml | |
from sklearn.utils import check_random_state | |
from sklearn.model_selection import train_test_split | |
from sklearn.preprocessing import StandardScaler | |
def fetch_data(test_size=10000, randomize=False, standardize=True): | |
X, y = fetch_openml('mnist_784', version=1, return_X_y=True) | |
if randomize: | |
random_state = check_random_state(0) |
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 python | |
""" | |
Clone all public and private repositories from a GitHub user or organization. | |
Copyright (c) 2018 Yuriy Guts | |
usage: github-clone-all.py [-h] [--auth-user AUTH_USER] | |
[--auth-password AUTH_PASSWORD] [--clone-user USER] | |
[--clone-org ORG] |