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
# This short script ues some hypothetical numbers to calculate whether or not | |
# to operate on a possibly-cancerous lump, given the results of a screening test | |
u = { | |
"healthy":100.0, | |
"late-stage cancer":-10000.0, | |
"surgery": -50.0, | |
} |
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 heapq | |
from urllib.request import urlopen | |
import shutil | |
import gzip | |
import os | |
from collections import defaultdict | |
from bitarray import bitarray | |
import pickle | |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
###################### | |
# Speech recognition # | |
###################### | |
# 1. Work through the following resources: | |
# Viterbi algorithm. (n.d.). In Wikipedia. Retrieved November 9, 2016, from | |
# https://en.wikipedia.org/wiki/Viterbi_algorithm | |
# The 44 Phonemes in English. (n.d.). Retrieved November 9, 2016, from | |
# http://www.dyslexia-reading-well.com/44-phonemes-in-english.html |
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
Verifying that +sterne is my blockchain ID. https://onename.com/sterne |