Skip to content

Instantly share code, notes, and snippets.

View lucasghelal's full-sized avatar

Lucas Georges Helal lucasghelal

View GitHub Profile
import matplotlib.pyplot as plt
def plot_model_history(h, mode="loss"):
legend = [mode]
x = range(len(h[mode]))
plt.plot(x, h[mode], marker='.')
if "val_" + mode in h:
legend.append("val_" + mode)
@PurpleBooth
PurpleBooth / README-Template.md
Last active June 30, 2024 00:35
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites