Skip to content

Instantly share code, notes, and snippets.

Avatar

James Owers JamesOwers

View GitHub Profile
@JamesOwers
JamesOwers / data_exploration.ipynb
Last active September 28, 2020 11:10
AI Music Competition 2020 Notebooks
View data_exploration.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View get_results.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View check_expts.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View dqa.ipynb
Sorry, this is too big to display.
@JamesOwers
JamesOwers / p4p_scores.py
Last active March 12, 2019 11:20
p4p_scores.py
View p4p_scores.py
import pandas as pd
import numpy as np
from tqdm import tqdm
import seaborn as sns
import matplotlib.pyplot as plt
from glob import glob
def get_scores(true_df, gen_df, start_onset, increment=1.0, max_t=None):
"""
Calculates the inter-ontime interval scores. Returns a list of ioi
View fingerprint_data.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.