Skip to content

Instantly share code, notes, and snippets.

@npielawski
npielawski / perceptive.py
Created November 24, 2019 12:13
Perceptive Probability
import numpy as np
def perceptive_probability(probability, average="median"):
""" This function translates a probability [0;100] to a human readable string (phrase).
The readable probabilities have been computed from data taken from the
following github repository: https://github.com/zonination/perceptions/
The repository contains a poll where people assigned a numerical probability
to phrases. This data was used to find different types of averages of the
distributions for each phrase.
@npielawski
npielawski / HannWindowForDeepLearning.ipynb
Last active October 18, 2023 18:45
Boilerplate code to get started with patch interpolation
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.