Skip to content

Instantly share code, notes, and snippets.

View lbollar's full-sized avatar

Lyndon Ollar lbollar

  • Walmart Technology
View GitHub Profile
@lbollar
lbollar / PPC_Plots.ipynb
Created March 14, 2017 05:27
Test Notebook to demo plot behavior
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@lbollar
lbollar / regression.ipynb
Created March 28, 2017 04:52
Linear regression example using Pytorch.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@lbollar
lbollar / rd_graddescent.jl
Last active April 3, 2017 18:50
Julia ReverseDiff example with gradient descent for linear regression
using ReverseDiff: GradientTape, gradient, gradient!, compile
#=
Here I am using what I would consider classical stats style of having the
observations as rows. Julia is column major order, so it is often common
to see the observations as columns and variables as rows. With certain types
of operations, this can have major performance implications.
I was using Julia v0.5 at the time of writing this.
=#
@lbollar
lbollar / Login.R
Last active August 29, 2015 14:20 — forked from withr/server.R
#### Log in module ###
USER <- reactiveValues(Logged = Logged)
passwdInput <- function(inputId, label) {
tagList(
tags$label(label),
tags$input(id = inputId, type="password", value="")
)
}