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
import numpy as np | |
import pandas as pd | |
import matplotlib.pyplot as plt | |
%matplotlib inline | |
import seaborn | |
from scipy.signal import savgol_filter | |
pop_data = pd.read_csv('world_population.csv') # Note, this is the file located at https://github.com/Brideau/GeospatialLineGraphs/tree/master/GeneratedData |
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
{ | |
"cells": [ | |
{ | |
"cell_type": "code", | |
"execution_count": 44, | |
"metadata": { | |
"collapsed": true | |
}, | |
"outputs": [], | |
"source": [ |
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
'''Trains a simple convnet on the MNIST dataset. | |
Does flat increment from T. Xiao "Error-Driven Incremental Learning in Deep Convolutional | |
Neural Network for Large-Scale Image Classification" | |
Starts with just 3 classes, trains for 12 epochs then | |
incrementally trains the rest of the classes by reusing | |
the trained weights. | |
''' | |
from __future__ import print_function | |
import numpy as np |