Skip to content

Instantly share code, notes, and snippets.

View bdeonovic's full-sized avatar

Benjamin Deonovic bdeonovic

View GitHub Profile
bdeonovic / example.jl
Last active September 21, 2018 17:55
Conditional Maximum Likelihood for Rasch Model
using Optim
using DelimitedFiles
using ForwardDiff
X = readdlm("lsat.txt");
n, m = size(X)
r = vec(mapslices(sum, X, dims=2))
s = vec(mapslices(sum, X, dims=1))
f = [sum(r.==j) for j in 1:m]
bdeonovic / master.vim
Created August 18, 2017 18:20 — forked from gmccreight/master.vim
A script that gives you a playground for mastering vim
" copy all this into a vim buffer, save it, then...
" source the file by typing :so %
" Now the vim buffer acts like a specialized application for mastering vim
" There are two queues, Study and Known. Depending how confident you feel
" about the item you are currently learning, you can move it down several
" positions, all the way to the end of the Study queue, or to the Known
" queue.
" type ,, (that's comma comma)