Skip to content

Instantly share code, notes, and snippets.

View joseph-rickert's full-sized avatar

Joseph B. Rickert joseph-rickert

  • San Jose, CA
View GitHub Profile
Package Talk Speaker
AF 'AF' a new package for estimating the attributable fraction Dahlqwist
archivist How to use the archivist package to boost reproducibility of your research Biecek
argufy Tools for Robust R Packages Csárdi
assertive Run-time Testing Using assertive Cotton
bamdit bamdit: An R Package for Bayesian Meta-Analysis of Diagnostic Test Data Verde
bayesboot bayesboot: An R package for easy Bayesian bootstrapping Bååth
bayesDem United Nations World Population Projections with R Ševčíková
bayesLife United Nations World Population Projections with R Ševčíková
bayesmix Bayesian analysis of generalized linear mixed models with JAGS Plummer
@joseph-rickert
joseph-rickert / Efron_paper.R
Created April 25, 2016 21:42
Code for post on Reading with R
# Joseph Rickert
# April 2016
# Some code for reading:
# LOGISTIC REGRESSION, SURVIVL ANALYSIS, AND THE KAPLAN-MEIER CURVE
# by Bradley Efron (1987)
#https://statistics.stanford.edu/sites/default/files/BIO%20115.pdf
library(survival)
library(ggplot2)
#--------------------------------------
@joseph-rickert
joseph-rickert / AzureML_Excel
Last active March 15, 2016 22:12
Model code for blog post: Scoring R Models with Excel
# GBM Model from AsureML Vignette
# https://cran.r-project.org/web/packages/AzureML/vignettes/getting_started.html
library(AzureML)
library(MASS)
library(gbm)
# My Workspace Credentials
# Note my credentials are stored in a file
ws <- workspace(
config="azureml-settings.json"
set.seed(0)
actual = c('a','b','c')[runif(100, 1,4)] # actual labels
predicted = actual # predicted labels
predicted[runif(30,1,100)] = actual[runif(30,1,100)] # introduce incorrect predictions
cm = as.matrix(table(Actual = actual, Predicted = predicted)) # create the confusion matrix
cm
## Predicted
## Actual a b c
## a 24 2 1
## b 3 30 4
@joseph-rickert
joseph-rickert / BIG DATA with RevoScale R
Created February 8, 2013 22:39
Scripts for 2/14/13 Webinar Introduction to R for Data Mining
#------------------------------------------------------------
# REVOLUTION ANALYTICS WEBINAR: INTRODUCTION TO R FOR DATA MINING
# February 14, 2013
# Joseph B. Rickert
# Technical Marketing Manager
#
# BIG DATA with RevoScaleR
#
# Copyright: Revolution Analytics