Skip to content

Instantly share code, notes, and snippets.

View chrswt's full-sized avatar

Christopher Tham chrswt

  • San Francisco, CA
View GitHub Profile
@chrswt
chrswt / toolbox_week2.md
Created February 23, 2017 05:26
Algorithmic Toolbox Week Two

Back to Overview of Toolbox


Fibonacci numbers

Problem overview

The fibonacci series is a classic series of numbers where the 0th element is 0, the 1st element is 1, and from thereon, each element is the sum of the previous two elements. For example, the following represents a fibonacci series: 0, 1, 1, 2, 3, 5, 8, 13, 34, ...

Naive algorithm

@chrswt
chrswt / python_notes.md
Created February 22, 2017 04:06
Notes and resources for learning Python
---
title: "NBA Daily Fantasy"
output: pdf_document
---
```{r}
library(plyr)
library(TTR)
library(tree)
@chrswt
chrswt / citibike.rmd
Created February 21, 2016 23:23
Tartan Data Science Cup Ep. 1 - Citibike NYC
---
title: "Tartan Data Science Cup Episode 1"
author: "Christopher Tham (ctham), Eddy Yeo (eyeo), Kevin Ku (kku)"
output: html_document
---
```{r, include=FALSE}
library(animation)
library(ggmap)
library(ggplot2)