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 matplotlib.pyplot as plt | |
# Plot model history more easily | |
# when plotting, smooth out the points by some factor (0.5 = rough, 0.99 = smooth) | |
# method taken from `Deep Learning with Python` by François Chollet | |
def smooth_curve(points, factor=0.75): | |
smoothed_points = [] | |
for point in points: |