Skip to content

Instantly share code, notes, and snippets.

Avatar

Lyndon Ollar lbollar

  • Walmart Technology
View GitHub Profile
@lbollar
lbollar / rd_graddescent.jl
Last active Apr 3, 2017
Julia ReverseDiff example with gradient descent for linear regression
View rd_graddescent.jl
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 / regression.ipynb
Created Mar 28, 2017
Linear regression example using Pytorch.
View regression.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@lbollar
lbollar / PPC_Plots.ipynb
Created Mar 14, 2017
Test Notebook to demo plot behavior
View PPC_Plots.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View Login.R
#### Log in module ###
USER <- reactiveValues(Logged = Logged)
passwdInput <- function(inputId, label) {
tagList(
tags$label(label),
tags$input(id = inputId, type="password", value="")
)
}