All Posts

Getting Started with GPU-Accelerated Machine Learning on AWS EC2 using R and TensorFlow

Getting Started with GPU-Accelerated Machine Learning on AWS EC2 using R and TensorFlow

Introduction I’ve been looking for an all-in-one place to explain how to start from nothing to having a GPU-accelerated machine learning platform that runs RStudio Server with TensorFlow through reticulate. In this post, I will explain how to… Set up an EC2 instance in AWS with GPU capabilities Install RStudio Server with the latest versions of R Install the correct versions of Python with Recitulate Install TensorFlow and Keras to run deep learning models Set up an EC2 instance Log in to AWS For a new account, select “Root User”.

Quick Start Guide to Neural Networks in R with Keras and Tensorflow

Quick Start Guide to Neural Networks in R with Keras and Tensorflow

Quick Start Guide to Neural Networks in R with Keras and Tensorflow I’ve been working with neural networks lately and have struggled to find any quick start resources for getting up and running in R. To help others in a similar situation, I’m providing this quick start guide. It’s designed to help you get your first model up and going, enabling you to iterate quickly with your own data.

Fitbit and R Part 1: Accessing Data with the Fitbit API

Fitbit and R Part 1: Accessing Data with the Fitbit API

Introduction In part 1 of this series, I will demonstrate how to interact with the Fitbit API in R. Huge credit to Matt Kaye for creating the fitbitr package that provides an interface between R and the Fitbit API. If you are familiar with R and you have a Fitbit, you should have success following what I have laid out below. Install the fitbitr package From CRAN: install.packages("fitbitr") Or the development version from github:

Advent of Code 2021

Advent of Code 2021

Every year, the great team at Advent of Code lead by ericwastl develops an “Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like.” Well, I like R, so in this post I will provide my solutions to the puzzles each day. I plan on using this post to learn and teach and hopefully I am able to stay up-to-date!

Blog Reboot

Blog Reboot

Friends - you may notice my blog if missing a few historical posts. The underlying open source software I’m using to build this blog undertook enough updates (for the better) that my patchwork site built on a house of cards came tumbling down. I learned a lot in the process (which is the reason for even having a blog) and I’m reviving it. I’m removing some pages that I just can’t resussatate and consolodating some others (namly those about presentations).

The Peloton API Part 2: A Peloton Data Tribute to my Wife

The Peloton API Part 2: A Peloton Data Tribute to my Wife

Peloton R In part 1 of my Peloton API post, I explored the pelotonR created by Ben Weiher’s. It’s a great package for accessing your Peloton data and I recommend it. In part 2, I’ll explore a different pelotonR package from Laura Ellis. She provides a great tutorial to display the functionality. I recommend this one too! Objectives The objectives for this post are to… Show how awesome my wife is.

Winning "Pay The Rent" on The Price Is Right

Winning "Pay The Rent" on The Price Is Right

As I mentioned in a previous blog post, my family and I have found different activities to do as all our other activities are on hold due to the COVID-19 lockdown. In that post, I looked at first player’s strategy when spinning the big wheel prior to the showcase showdown. In this post, I’ll explore the rarely won game, Pay the Rent Pay The Rent Pay The Rent Pay The Rent is a challenging game.

ESPN Fantasy Football 2020 Part 1: Accessing the API

ESPN Fantasy Football 2020 Part 1: Accessing the API

Its that time of year! Its that time of year again. The time when we dust off the old ESPN fantasy football API R code and fix everything that broke in the last year. Here’s what I hope to show over the next few posts. How to access your ESPN public fantasy football league’s data. How to organize that data and create a few interesting displays. How to create a dashboard to supplement your league’s fun.

The Peloton API Part 1: Accessing and Exploring

The Peloton API Part 1: Accessing and Exploring

In 2018, my wife and I were fortunate enough to find a deeply discounted Peloton on an online garage sale. Since then, she’s been going hard and I have been trying to keep up when the weather is bad or injuries keep me from running. Jill Smiling After Her 600th Ride (and new record)! Over the last few months, a few works projects have taught me a lot about purrr, functional programming, collaborative projects, and APIs.

Wheel Spin Strategy On The Price Is Right

Wheel Spin Strategy On The Price Is Right

Motivation Like many, COVID-19 completely altered our lives as the virus spread across the country and became a mainstay in our society. Though my family and I have been spared of tragedy, we’ve had to find ways to replace kid’s activities, work routines, and social interactions with other (hopefully) enriching activities… Like family games. Ticket to Ride caused a lot of strife between my kids :) One thing that we’ve added to our new normal is watching “The Price is Right” after dinner.