View formula.jl
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
using StatsModels | |
macro echotime(ex) | |
println(ex) | |
esc(:(@time $ex)) | |
end | |
@formula(y ~ 1+x) | |
exs = [ |
View tech-support.py
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 | |
import json, argparse, os, csv | |
import boto3 | |
mturk = boto3.client('mturk') | |
def main(): | |
parser = argparse.ArgumentParser(description="Technical Support for MTurk workers") | |
parser.add_argument( | |
"--qualification_id", |
View Manifest.toml
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 file is machine-generated - editing it directly is not advised | |
[[AbstractFFTs]] | |
deps = ["Compat", "LinearAlgebra"] | |
git-tree-sha1 = "8d59c3b1463b5e0ad05a3698167f85fac90e184d" | |
uuid = "621f4979-c628-5d54-868e-fcf4e3e8185c" | |
version = "0.3.2" | |
[[AssetRegistry]] | |
deps = ["Distributed", "JSON", "Pidfile", "SHA", "Test"] |
View Mahalanobis outlier detection.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View nix2-mode.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View talker-variability.bcf
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
<?xml version="1.0" encoding="UTF-8"?> | |
<bcf:controlfile version="3.4" bltxversion="3.8" xmlns:bcf="https://sourceforge.net/projects/biblatex"> | |
<!-- BIBER OPTIONS --> | |
<bcf:options component="biber" type="global"> | |
<bcf:option type="singlevalued"> | |
<bcf:key>output_encoding</bcf:key> | |
<bcf:value>utf8</bcf:value> | |
</bcf:option> | |
<bcf:option type="singlevalued"> | |
<bcf:key>input_encoding</bcf:key> |
View tasknet.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View gibbs.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View config-setup.sh
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
git clone --bare git@github.com:kleinschmidt/dotfiles.git $HOME/.cfg | |
function config { | |
/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME $@ | |
} | |
mkdir -p .config-backup | |
config checkout $* | |
if [ $? = 0 ]; then | |
echo "Checked out config."; | |
else | |
echo "Backing up pre-existing dot files."; |
View formula.jl.mem
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
- # Formulas for representing and working with linear-model-type expressions | |
- # Original by Harlan D. Harris. Later modifications by John Myles White | |
- # and Douglas M. Bates. | |
- | |
- ## Formulas are written as expressions and parsed by the Julia parser. | |
- ## For example :(y ~ a + b + log(c)) | |
- ## In Julia the & operator is used for an interaction. What would be written | |
- ## in R as y ~ a + b + a:b is written :(y ~ a + b + a&b) in Julia. | |
- ## The equivalent R expression, y ~ a*b, is the same in Julia | |
- |
NewerOlder