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
# Adapted from https://github.com/SkalskiP/ILearnDeepLearning.py/blob/master/01_mysteries_of_neural_networks/03_numpy_neural_net/Numpy%20deep%20neural%20network.ipynb | |
import numpy as np | |
import matplotlib.pyplot as plt | |
np.random.seed(42) | |
# Define a sample function to sample a dataset of 2 dimensional points | |
def get_data(N = 300): | |
# Generate a dataset of 2 dimensional points |
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
import numpy as np | |
import torch | |
import torchvision.datasets as datasets | |
import logging | |
import os | |
from os import path | |
from sklearn.model_selection import KFold | |
import pandas as pd | |
import zipfile | |
import urllib.request |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.