I hereby claim:
- I am mt-digital on github.
- I am mtdigital (https://keybase.io/mtdigital) on keybase.
- I have a public key ASASBKmQOvTG0ahXfQ0xmg8Ycb-RmK6rKT-QPylr9HmF_go
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# script for examples in Bayes@Lund2017 presentation | |
# joint model example | |
notes_max <- 10 | |
rate_max <- 5 | |
pm <- matrix( NA , nrow=rate_max+1 , ncol=notes_max+1 ) | |
for ( i in 1:(rate_max+1) ) | |
for ( j in 1:(notes_max+1) ) | |
pm[i,j] <- dpois( j-1 , lambda=i ) * (1/(rate_max+1)) |
''' | |
many of the colors in bcolors are not used, but kept for reference | |
''' | |
from difflib import Differ | |
def colored_string_diff(s1, s2): | |
""" Writes differences between strings s1 and s2 """ | |
d = Differ() | |
diff = d.compare(s1.splitlines(), s2.splitlines()) | |
diffList = [el for el in diff |
contractor | total | |
---|---|---|
Lockheed | 142.3628 | |
McDonnell | 45.545622 | |
Boeing | 35.795122 | |
Mullen | 34.29804 | |
ADI | 14.500 |
{ | |
"metadata": { | |
"name": "DoD_other_example" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ | |
{ |
{ | |
"metadata": { | |
"name": "NonStaRWCSUMReduce" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ | |
{ |