Yeah!
This file contains hidden or 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
| { | |
| "metadata": { | |
| "name": "NonStaRWCSUMReduce" | |
| }, | |
| "nbformat": 3, | |
| "nbformat_minor": 0, | |
| "worksheets": [ | |
| { | |
| "cells": [ | |
| { |
This file contains hidden or 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
| { | |
| "metadata": { | |
| "name": "DoD_other_example" | |
| }, | |
| "nbformat": 3, | |
| "nbformat_minor": 0, | |
| "worksheets": [ | |
| { | |
| "cells": [ | |
| { |
This file contains hidden or 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
| contractor | total | |
|---|---|---|
| Lockheed | 142.3628 | |
| McDonnell | 45.545622 | |
| Boeing | 35.795122 | |
| Mullen | 34.29804 | |
| ADI | 14.500 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
| ''' | |
| 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 |
This file contains hidden or 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
| # 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)) |
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: