Skip to content

Instantly share code, notes, and snippets.

View MaxGhenis's full-sized avatar

Max Ghenis MaxGhenis

View GitHub Profile
@MaxGhenis
MaxGhenis / gist:2a9959a351d00b8bb31895c3eaca0afd
Created April 15, 2018 23:32
jupyter_nbextensions_configurator installation
(xenial)mghenis@localhost:~$ conda install -c conda-forge jupyter_nbextensions_configurator
Solving environment: done
==> WARNING: A newer version of conda exists. <==
current version: 4.4.10
latest version: 4.5.1
Please update conda by running
@MaxGhenis
MaxGhenis / white_elephant.R
Created December 23, 2013 04:01
White Elephant
# White elephant gift exchange
#
# Rules:
# 1) N players each bring one gift
# 2) Each round, a player
# 3) Gifts can not be stolen more than three times each
x <- 1 + 1
data.frame(x)
@MaxGhenis
MaxGhenis / brier_score_plot.R
Created December 21, 2013 00:31
analyze stuff blog post on visualizing binary prediction accuracy
mydata <- read.csv("http://www.ats.ucla.edu/stat/data/binary.csv")