Skip to content

Instantly share code, notes, and snippets.

View steven-tey's full-sized avatar
👷
building infra for the next trillion links on the web @dubinc

Steven Tey steven-tey

👷
building infra for the next trillion links on the web @dubinc
View GitHub Profile
@steven-tey
steven-tey / gist:8e08842e84b95bfc41db97e91301616d
Created January 25, 2019 17:19
CS112 Assignment 1 - R Competency and The Drivetrain Approach to Decision Making
#Question 1a
foo <- read.csv("https://tinyurl.com/yb4phxx8")
names(foo)
dim(foo)
head(foo)
data.columns = c(11, 12, 14, 15, 16, 17, 18, 25)
for(i in data.columns)
{
@steven-tey
steven-tey / gist:dbdf78992dfd7805c46016ec3bb1dbdc
Created April 9, 2019 17:20
CS112 Assignment 4 - Causal Inference
##########################
# QUESTION 1 - Debugging #
##########################
# (1a)
# genout <- GenMatch(Tr=treat, X=X)
# summary(mout)
@steven-tey
steven-tey / CS110 Session 1.2 PCW
Created September 11, 2019 16:08
CS110 Session 1.2 PCW
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Before you turn this problem in, make sure everything runs as expected. First, **restart the kernel** (in the menubar, select Kernel$\\rightarrow$Restart) and then **run all cells** (in the menubar, select Cell$\\rightarrow$Run All).\n",
"\n",
"Make sure you fill in any place that says `YOUR CODE HERE` or \"YOUR ANSWER HERE\", as well as your name and collaborators below:"
]
@steven-tey
steven-tey / CS166 PCW.ipynb
Created September 12, 2019 15:42
CS166 Session 1.2 PCW
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@steven-tey
steven-tey / CS166 PCW.ipynb
Created September 12, 2019 15:42
CS166 Session 1.2 PCW
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@steven-tey
steven-tey / CS166 PCW.ipynb
Created September 12, 2019 15:42
CS166 Session 1.2 PCW
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@steven-tey
steven-tey / CS146 Assignment 1 Code.ipynb
Last active September 13, 2019 21:51
CS146 Assignment 1 Code
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@steven-tey
steven-tey / CS110 Session 2.1 PCW.ipynb
Created September 16, 2019 13:56
CS110 Session 2.1 PCW
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@steven-tey
steven-tey / CS146 Session 2.1 Pre-Class Work.ipynb
Created September 16, 2019 18:42
CS146 Session 2.1 Pre-Class Work
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@steven-tey
steven-tey / CS110 Session 2.2 PCW.ipynb
Created September 18, 2019 13:55
CS110 Session 2.2 PCW
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.