This file contains hidden or 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
| # -- assignment 1 -- | |
| import numpy as np | |
| from urllib import request | |
| import gzip | |
| import pickle | |
| import os | |
| def load_synth(num_train=60_000, num_val=10_000, seed=0): | |
| """ | |
| Load some very basic synthetic data that should be easy to classify. Two features, so that we can plot the |