Skip to content

Instantly share code, notes, and snippets.

Avatar

Nick Strayer nstrayer

View GitHub Profile
@nstrayer
nstrayer / Backprop in JS.ipynb
Created Oct 24, 2017
A quick and dirty demo of a neural network implemented in vanilla javascript (plus statdists.js).
View Backprop in JS.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View file64ed6fa4e47f.R
library(tidyverse)
data_frame(
x = 1:100,
y = rnorm(100)
) %>%
mutate( y_quartile = ntile(y, 4) ) %>%
head(5)
# # A tibble: 5 x 3
View file64ed6498dde8.R
library(tidyverse)
data_frame(
x = 1:100,
y = rnorm(100)
) %>%
mutate( y_quartile = ntile(y, 4) ) %>%
head(5)
# # A tibble: 5 x 3
View file64ed59725ca3.R
library(tidyverse)
data_frame(
x = 1:20,
y = rnorm(20)
) %>%
mutate( y_tertile = ntile(y, 3) )
@nstrayer
nstrayer / README.md
Last active Aug 29, 2017
slid3r demo
View README.md

Simple slid3r.

This is a minimum use case example of the javascript library slid3r. It appends a slider into any SVG context you desire. See the library's main repo for more information.

@nstrayer
nstrayer / .block
Last active Nov 23, 2016 — forked from nbremer/.block
Stretched Chord - The Final Result
View .block
height: 660
@nstrayer
nstrayer / README.md
Last active Nov 9, 2016
Playing with a new intro to my website
View README.md

An animated random walk using a uniform distribution to decide the angle of departure.

@nstrayer
nstrayer / .block
Last active Nov 7, 2016 — forked from StudioLE/.block
Hive Plot (Links)
View .block
license: gpl-3.0
@nstrayer
nstrayer / .block
Last active Nov 26, 2017
Kaplin-Meier Survival Curve with Left-Truncated Data.
View .block
license: gpl-3.0
@nstrayer
nstrayer / .block
Created Sep 19, 2016 — forked from tonyhschu/.block
Small Scroll-linked Animation Demo
View .block
scrolling: yes
license: MIT