Posts by Tag

R

TriPeaks Solver

11 minute read

During COVID-19 brain fog, I had just enough mental capacity to play a lot of Microsoft Solitaire games. I found that TriPeaks on master and grandmaster diff...

Maze Generator

7 minute read

This generative art seems less artsy to me, but the idea of generating a maze was interesting. I found the mazegenerator GitHub repo that described the algor...

KNN Art

4 minute read

The generative art journey continues with images produced from machine learning models. In this post, I’ll use k-nearest neighbors to produce two types of ar...

Perlin Noise Flow Fields

8 minute read

In this post, I’ll generate art based on the idea of a material flowing through an area. Again this was inspired by the the aRtsy package, which has a canvas...

Space Colonization

8 minute read

Continuing the series of generative art posts, I liked the look of the canvas_petri() images from the aRtsy package. That led me to this article that describ...

The Recaman Sequence

3 minute read

The next stop on my generative art journey took me to the Recaman Sequence. As opposed to many other algorithms, there’s no randomness in this sequence - the...

The Collatz Conjecture

6 minute read

The inspiration for a series of posts on generative art was a post I read announcing the aRtsy package for producing generative art. A number of the example ...

Best Wordle Starting Word

10 minute read

I was scrolling through the RStudio blog page, and a post by Arthur Holtz caught my attention. He wrote some code to identify what the optimal starting word ...

Neural Network Regression

17 minute read

The following is a subsection of a tutorial I co-authored that I wanted to reproduce here to work out how to get the figures to render properly. Plus, it nev...

College Football Predictions

44 minute read

Continuing with the streak of posts about college football posts, here I finally get into developing some models to predict the winning team and margin of vi...

Plotly & Markdown

4 minute read

In a previous post, I created a scatterplot using ggplot2 that displayed college football team logos as the markers using geom_image() from the ggimage packa...

Simple Rating System

10 minute read

This, to me, is the coolest part. I had no idea this is how some rating systems work, and it’s pretty slick. It’s just one big system of equations that you s...

Oregon Football

20 minute read

I’m not a huge football fan. I can’t even remember the last time I watched an NFL game. However, I do sort of follow college football. And being from Oregon,...

Resolution 5 Fractional Factorial Designs

12 minute read

At work, I needed to create a resolution V (R5) fractional factorial design for use in a study of the relative effectiveness of various modernization programs.

Kaggle Housing Prices Competition

10 minute read

This notebook was written to document the steps and techniques used to achieve a top 2% ranking on Kaggle’s Housing Prices Competition.

Random Forests

25 minute read

As with support vector machines, and as the name implies, classification and regression trees (CART) can be used for either classification or regression task...

Support Vector Machines

9 minute read

Support Vector Regression (SVR) attempts to include as many data points as possible in the area between two lines. The following figure demonstrates this usi...

Generalized Additive Models

6 minute read

Recall that if there is a non-linear relationship between predictor and response, we can attempt to transform the predictor using a known function (log, reci...

Non-Parametric Analysis Of Variance

6 minute read

As we’ve seen in the last few posts, linear models can be successfully applied to many data sets. However, there may be times when even after transforming va...

Advanced Experimental Designs

25 minute read

So far, we have considered designs with just two levels per factor, which is fine for inherently binary factors. However, if our study requires us to include...

Logistic Regression

7 minute read

So far, we’ve seen regression techniques for continuous and categorical response variables. There is a different form of regression called logistic regressio...

Transforming Non-Linear Variables

8 minute read

If we have data that includes factors with more than two levels, we have the ability to evaluate non-linear relationships between predictor and response vari...

Model Selection

20 minute read

This post presents methods for finding a balance between under fitting and over fitting a model. Under fitting is when the model is a poor predictor of the r...

Multiple Linear Regression

16 minute read

In the previous section we considered just one predictor and one response. The linear model can be expanded to include multiple predictors by simply adding t...

Simple Linear Regression

7 minute read

The purpose of regression is to describe a relationship that explains one variable (the response, or the “y” variable) based on one or more other variables (...

COVID-19 Visualizations

3 minute read

I recently found the GitHub repository for the Johns Hopkins University Center for Systems Science and Engineering online dashboard, so I thought I’d do a li...

Back to Top ↑

AI

TriPeaks Solver

11 minute read

During COVID-19 brain fog, I had just enough mental capacity to play a lot of Microsoft Solitaire games. I found that TriPeaks on master and grandmaster diff...

Neural Network Regression

17 minute read

The following is a subsection of a tutorial I co-authored that I wanted to reproduce here to work out how to get the figures to render properly. Plus, it nev...

Random Forests

25 minute read

As with support vector machines, and as the name implies, classification and regression trees (CART) can be used for either classification or regression task...

Support Vector Machines

9 minute read

Support Vector Regression (SVR) attempts to include as many data points as possible in the area between two lines. The following figure demonstrates this usi...

Generalized Additive Models

6 minute read

Recall that if there is a non-linear relationship between predictor and response, we can attempt to transform the predictor using a known function (log, reci...

Non-Parametric Analysis Of Variance

6 minute read

As we’ve seen in the last few posts, linear models can be successfully applied to many data sets. However, there may be times when even after transforming va...

Advanced Experimental Designs

25 minute read

So far, we have considered designs with just two levels per factor, which is fine for inherently binary factors. However, if our study requires us to include...

Logistic Regression

7 minute read

So far, we’ve seen regression techniques for continuous and categorical response variables. There is a different form of regression called logistic regressio...

Transforming Non-Linear Variables

8 minute read

If we have data that includes factors with more than two levels, we have the ability to evaluate non-linear relationships between predictor and response vari...

Model Selection

20 minute read

This post presents methods for finding a balance between under fitting and over fitting a model. Under fitting is when the model is a poor predictor of the r...

Multiple Linear Regression

16 minute read

In the previous section we considered just one predictor and one response. The linear model can be expanded to include multiple predictors by simply adding t...

Simple Linear Regression

7 minute read

The purpose of regression is to describe a relationship that explains one variable (the response, or the “y” variable) based on one or more other variables (...

PyTorch DQN Solves LunarLander-v2

4 minute read

A couple of weeks ago, I attempted to install the GPU version of TensorFlow and failed miserably. I should have set up a new virtual environment for it, but ...

Driving Up A Mountain Faster

7 minute read

The DeepMind researchers developed the Double Deep Q-Network after observing that the DQN target network is prone to overestimating Q-Values.

Driving Up A Mountain

13 minute read

A while back, I found OpenAI’s Gym environments and immediately wanted to try to solve one of their environments. I didn’t really know what I was doing at th...

Deep Q-Networks

8 minute read

In a previous post on Q-learning, I demonstrated how to train an agent to play tic-tac-toe. One of the challenges with Q-learning is that it doesn’t scale we...

Q-Learning

8 minute read

I’ve been reading some books on machine learning, and recently started going through Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow by Au...

Back to Top ↑

machine learning

KNN Art

4 minute read

The generative art journey continues with images produced from machine learning models. In this post, I’ll use k-nearest neighbors to produce two types of ar...

Neural Network Regression

17 minute read

The following is a subsection of a tutorial I co-authored that I wanted to reproduce here to work out how to get the figures to render properly. Plus, it nev...

College Football Predictions

44 minute read

Continuing with the streak of posts about college football posts, here I finally get into developing some models to predict the winning team and margin of vi...

Kaggle Housing Prices Competition

10 minute read

This notebook was written to document the steps and techniques used to achieve a top 2% ranking on Kaggle’s Housing Prices Competition.

Random Forests

25 minute read

As with support vector machines, and as the name implies, classification and regression trees (CART) can be used for either classification or regression task...

Support Vector Machines

9 minute read

Support Vector Regression (SVR) attempts to include as many data points as possible in the area between two lines. The following figure demonstrates this usi...

Generalized Additive Models

6 minute read

Recall that if there is a non-linear relationship between predictor and response, we can attempt to transform the predictor using a known function (log, reci...

Non-Parametric Analysis Of Variance

6 minute read

As we’ve seen in the last few posts, linear models can be successfully applied to many data sets. However, there may be times when even after transforming va...

Advanced Experimental Designs

25 minute read

So far, we have considered designs with just two levels per factor, which is fine for inherently binary factors. However, if our study requires us to include...

Logistic Regression

7 minute read

So far, we’ve seen regression techniques for continuous and categorical response variables. There is a different form of regression called logistic regressio...

Transforming Non-Linear Variables

8 minute read

If we have data that includes factors with more than two levels, we have the ability to evaluate non-linear relationships between predictor and response vari...

Model Selection

20 minute read

This post presents methods for finding a balance between under fitting and over fitting a model. Under fitting is when the model is a poor predictor of the r...

Multiple Linear Regression

16 minute read

In the previous section we considered just one predictor and one response. The linear model can be expanded to include multiple predictors by simply adding t...

Simple Linear Regression

7 minute read

The purpose of regression is to describe a relationship that explains one variable (the response, or the “y” variable) based on one or more other variables (...

Q-Learning

8 minute read

I’ve been reading some books on machine learning, and recently started going through Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow by Au...

Back to Top ↑

data visualization

TriPeaks Solver

11 minute read

During COVID-19 brain fog, I had just enough mental capacity to play a lot of Microsoft Solitaire games. I found that TriPeaks on master and grandmaster diff...

Maze Generator

7 minute read

This generative art seems less artsy to me, but the idea of generating a maze was interesting. I found the mazegenerator GitHub repo that described the algor...

KNN Art

4 minute read

The generative art journey continues with images produced from machine learning models. In this post, I’ll use k-nearest neighbors to produce two types of ar...

Perlin Noise Flow Fields

8 minute read

In this post, I’ll generate art based on the idea of a material flowing through an area. Again this was inspired by the the aRtsy package, which has a canvas...

Space Colonization

8 minute read

Continuing the series of generative art posts, I liked the look of the canvas_petri() images from the aRtsy package. That led me to this article that describ...

The Recaman Sequence

3 minute read

The next stop on my generative art journey took me to the Recaman Sequence. As opposed to many other algorithms, there’s no randomness in this sequence - the...

The Collatz Conjecture

6 minute read

The inspiration for a series of posts on generative art was a post I read announcing the aRtsy package for producing generative art. A number of the example ...

Best Wordle Starting Word

10 minute read

I was scrolling through the RStudio blog page, and a post by Arthur Holtz caught my attention. He wrote some code to identify what the optimal starting word ...

College Football Predictions

44 minute read

Continuing with the streak of posts about college football posts, here I finally get into developing some models to predict the winning team and margin of vi...

Plotly & Markdown

4 minute read

In a previous post, I created a scatterplot using ggplot2 that displayed college football team logos as the markers using geom_image() from the ggimage packa...

Simple Rating System

10 minute read

This, to me, is the coolest part. I had no idea this is how some rating systems work, and it’s pretty slick. It’s just one big system of equations that you s...

Oregon Football

20 minute read

I’m not a huge football fan. I can’t even remember the last time I watched an NFL game. However, I do sort of follow college football. And being from Oregon,...

GDELT Tutorial

12 minute read

GDELT claims to be the largest, most comprehensive, and highest resolution open database of human society ever created.

COVID-19 Visualizations

3 minute read

I recently found the GitHub repository for the Johns Hopkins University Center for Systems Science and Engineering online dashboard, so I thought I’d do a li...

Back to Top ↑

ggplot2

TriPeaks Solver

11 minute read

During COVID-19 brain fog, I had just enough mental capacity to play a lot of Microsoft Solitaire games. I found that TriPeaks on master and grandmaster diff...

Maze Generator

7 minute read

This generative art seems less artsy to me, but the idea of generating a maze was interesting. I found the mazegenerator GitHub repo that described the algor...

KNN Art

4 minute read

The generative art journey continues with images produced from machine learning models. In this post, I’ll use k-nearest neighbors to produce two types of ar...

Perlin Noise Flow Fields

8 minute read

In this post, I’ll generate art based on the idea of a material flowing through an area. Again this was inspired by the the aRtsy package, which has a canvas...

Space Colonization

8 minute read

Continuing the series of generative art posts, I liked the look of the canvas_petri() images from the aRtsy package. That led me to this article that describ...

The Recaman Sequence

3 minute read

The next stop on my generative art journey took me to the Recaman Sequence. As opposed to many other algorithms, there’s no randomness in this sequence - the...

The Collatz Conjecture

6 minute read

The inspiration for a series of posts on generative art was a post I read announcing the aRtsy package for producing generative art. A number of the example ...

Best Wordle Starting Word

10 minute read

I was scrolling through the RStudio blog page, and a post by Arthur Holtz caught my attention. He wrote some code to identify what the optimal starting word ...

Plotly & Markdown

4 minute read

In a previous post, I created a scatterplot using ggplot2 that displayed college football team logos as the markers using geom_image() from the ggimage packa...

COVID-19 Visualizations

3 minute read

I recently found the GitHub repository for the Johns Hopkins University Center for Systems Science and Engineering online dashboard, so I thought I’d do a li...

Back to Top ↑

regression

Neural Network Regression

17 minute read

The following is a subsection of a tutorial I co-authored that I wanted to reproduce here to work out how to get the figures to render properly. Plus, it nev...

Oregon Football

20 minute read

I’m not a huge football fan. I can’t even remember the last time I watched an NFL game. However, I do sort of follow college football. And being from Oregon,...

Kaggle Housing Prices Competition

10 minute read

This notebook was written to document the steps and techniques used to achieve a top 2% ranking on Kaggle’s Housing Prices Competition.

Advanced Experimental Designs

25 minute read

So far, we have considered designs with just two levels per factor, which is fine for inherently binary factors. However, if our study requires us to include...

Logistic Regression

7 minute read

So far, we’ve seen regression techniques for continuous and categorical response variables. There is a different form of regression called logistic regressio...

Transforming Non-Linear Variables

8 minute read

If we have data that includes factors with more than two levels, we have the ability to evaluate non-linear relationships between predictor and response vari...

Model Selection

20 minute read

This post presents methods for finding a balance between under fitting and over fitting a model. Under fitting is when the model is a poor predictor of the r...

Multiple Linear Regression

16 minute read

In the previous section we considered just one predictor and one response. The linear model can be expanded to include multiple predictors by simply adding t...

Simple Linear Regression

7 minute read

The purpose of regression is to describe a relationship that explains one variable (the response, or the “y” variable) based on one or more other variables (...

Back to Top ↑

python

GDELT Tutorial

12 minute read

GDELT claims to be the largest, most comprehensive, and highest resolution open database of human society ever created.

PyTorch DQN Solves LunarLander-v2

4 minute read

A couple of weeks ago, I attempted to install the GPU version of TensorFlow and failed miserably. I should have set up a new virtual environment for it, but ...

Driving Up A Mountain Faster

7 minute read

The DeepMind researchers developed the Double Deep Q-Network after observing that the DQN target network is prone to overestimating Q-Values.

Driving Up A Mountain

13 minute read

A while back, I found OpenAI’s Gym environments and immediately wanted to try to solve one of their environments. I didn’t really know what I was doing at th...

Deep Q-Networks

8 minute read

In a previous post on Q-learning, I demonstrated how to train an agent to play tic-tac-toe. One of the challenges with Q-learning is that it doesn’t scale we...

Q-Learning

8 minute read

I’ve been reading some books on machine learning, and recently started going through Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow by Au...

Decrypting Substitution Cyphers

18 minute read

Stanford professor Persi Diaconis described an event when a psychologist from the California prison system brought encoded messages obtained from inmates to ...

Back to Top ↑

reinforcement learning

PyTorch DQN Solves LunarLander-v2

4 minute read

A couple of weeks ago, I attempted to install the GPU version of TensorFlow and failed miserably. I should have set up a new virtual environment for it, but ...

Driving Up A Mountain Faster

7 minute read

The DeepMind researchers developed the Double Deep Q-Network after observing that the DQN target network is prone to overestimating Q-Values.

Driving Up A Mountain

13 minute read

A while back, I found OpenAI’s Gym environments and immediately wanted to try to solve one of their environments. I didn’t really know what I was doing at th...

Deep Q-Networks

8 minute read

In a previous post on Q-learning, I demonstrated how to train an agent to play tic-tac-toe. One of the challenges with Q-learning is that it doesn’t scale we...

Q-Learning

8 minute read

I’ve been reading some books on machine learning, and recently started going through Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow by Au...

Back to Top ↑

neural network

Neural Network Regression

17 minute read

The following is a subsection of a tutorial I co-authored that I wanted to reproduce here to work out how to get the figures to render properly. Plus, it nev...

College Football Predictions

44 minute read

Continuing with the streak of posts about college football posts, here I finally get into developing some models to predict the winning team and margin of vi...

Driving Up A Mountain Faster

7 minute read

The DeepMind researchers developed the Double Deep Q-Network after observing that the DQN target network is prone to overestimating Q-Values.

Driving Up A Mountain

13 minute read

A while back, I found OpenAI’s Gym environments and immediately wanted to try to solve one of their environments. I didn’t really know what I was doing at th...

Deep Q-Networks

8 minute read

In a previous post on Q-learning, I demonstrated how to train an agent to play tic-tac-toe. One of the challenges with Q-learning is that it doesn’t scale we...

Back to Top ↑

API

College Football Predictions

44 minute read

Continuing with the streak of posts about college football posts, here I finally get into developing some models to predict the winning team and margin of vi...

Plotly & Markdown

4 minute read

In a previous post, I created a scatterplot using ggplot2 that displayed college football team logos as the markers using geom_image() from the ggimage packa...

Simple Rating System

10 minute read

This, to me, is the coolest part. I had no idea this is how some rating systems work, and it’s pretty slick. It’s just one big system of equations that you s...

Oregon Football

20 minute read

I’m not a huge football fan. I can’t even remember the last time I watched an NFL game. However, I do sort of follow college football. And being from Oregon,...

Back to Top ↑

college football

College Football Predictions

44 minute read

Continuing with the streak of posts about college football posts, here I finally get into developing some models to predict the winning team and margin of vi...

Plotly & Markdown

4 minute read

In a previous post, I created a scatterplot using ggplot2 that displayed college football team logos as the markers using geom_image() from the ggimage packa...

Simple Rating System

10 minute read

This, to me, is the coolest part. I had no idea this is how some rating systems work, and it’s pretty slick. It’s just one big system of equations that you s...

Oregon Football

20 minute read

I’m not a huge football fan. I can’t even remember the last time I watched an NFL game. However, I do sort of follow college football. And being from Oregon,...

Back to Top ↑

nonparametric regression

Random Forests

25 minute read

As with support vector machines, and as the name implies, classification and regression trees (CART) can be used for either classification or regression task...

Support Vector Machines

9 minute read

Support Vector Regression (SVR) attempts to include as many data points as possible in the area between two lines. The following figure demonstrates this usi...

Generalized Additive Models

6 minute read

Recall that if there is a non-linear relationship between predictor and response, we can attempt to transform the predictor using a known function (log, reci...

Non-Parametric Analysis Of Variance

6 minute read

As we’ve seen in the last few posts, linear models can be successfully applied to many data sets. However, there may be times when even after transforming va...

Back to Top ↑

tensorflow

Driving Up A Mountain Faster

7 minute read

The DeepMind researchers developed the Double Deep Q-Network after observing that the DQN target network is prone to overestimating Q-Values.

Driving Up A Mountain

13 minute read

A while back, I found OpenAI’s Gym environments and immediately wanted to try to solve one of their environments. I didn’t really know what I was doing at th...

Deep Q-Networks

8 minute read

In a previous post on Q-learning, I demonstrated how to train an agent to play tic-tac-toe. One of the challenges with Q-learning is that it doesn’t scale we...

Back to Top ↑

OpenAI

PyTorch DQN Solves LunarLander-v2

4 minute read

A couple of weeks ago, I attempted to install the GPU version of TensorFlow and failed miserably. I should have set up a new virtual environment for it, but ...

Driving Up A Mountain Faster

7 minute read

The DeepMind researchers developed the Double Deep Q-Network after observing that the DQN target network is prone to overestimating Q-Values.

Driving Up A Mountain

13 minute read

A while back, I found OpenAI’s Gym environments and immediately wanted to try to solve one of their environments. I didn’t really know what I was doing at th...

Back to Top ↑

gym

PyTorch DQN Solves LunarLander-v2

4 minute read

A couple of weeks ago, I attempted to install the GPU version of TensorFlow and failed miserably. I should have set up a new virtual environment for it, but ...

Driving Up A Mountain Faster

7 minute read

The DeepMind researchers developed the Double Deep Q-Network after observing that the DQN target network is prone to overestimating Q-Values.

Driving Up A Mountain

13 minute read

A while back, I found OpenAI’s Gym environments and immediately wanted to try to solve one of their environments. I didn’t really know what I was doing at th...

Back to Top ↑

plotly

The Recaman Sequence

3 minute read

The next stop on my generative art journey took me to the Recaman Sequence. As opposed to many other algorithms, there’s no randomness in this sequence - the...

The Collatz Conjecture

6 minute read

The inspiration for a series of posts on generative art was a post I read announcing the aRtsy package for producing generative art. A number of the example ...

Plotly & Markdown

4 minute read

In a previous post, I created a scatterplot using ggplot2 that displayed college football team logos as the markers using geom_image() from the ggimage packa...

Back to Top ↑

design of experiments

Resolution 5 Fractional Factorial Designs

12 minute read

At work, I needed to create a resolution V (R5) fractional factorial design for use in a study of the relative effectiveness of various modernization programs.

Advanced Experimental Designs

25 minute read

So far, we have considered designs with just two levels per factor, which is fine for inherently binary factors. However, if our study requires us to include...

Back to Top ↑

linear algebra

Simple Rating System

10 minute read

This, to me, is the coolest part. I had no idea this is how some rating systems work, and it’s pretty slick. It’s just one big system of equations that you s...

Resolution 5 Fractional Factorial Designs

12 minute read

At work, I needed to create a resolution V (R5) fractional factorial design for use in a study of the relative effectiveness of various modernization programs.

Back to Top ↑

tidymodels

College Football Predictions

44 minute read

Continuing with the streak of posts about college football posts, here I finally get into developing some models to predict the winning team and margin of vi...

Back to Top ↑

MCMC

Decrypting Substitution Cyphers

18 minute read

Stanford professor Persi Diaconis described an event when a psychologist from the California prison system brought encoded messages obtained from inmates to ...

Back to Top ↑

cryptology

Decrypting Substitution Cyphers

18 minute read

Stanford professor Persi Diaconis described an event when a psychologist from the California prison system brought encoded messages obtained from inmates to ...

Back to Top ↑

pytorch

PyTorch DQN Solves LunarLander-v2

4 minute read

A couple of weeks ago, I attempted to install the GPU version of TensorFlow and failed miserably. I should have set up a new virtual environment for it, but ...

Back to Top ↑

h2o

Kaggle Housing Prices Competition

10 minute read

This notebook was written to document the steps and techniques used to achieve a top 2% ranking on Kaggle’s Housing Prices Competition.

Back to Top ↑

GDELT

GDELT Tutorial

12 minute read

GDELT claims to be the largest, most comprehensive, and highest resolution open database of human society ever created.

Back to Top ↑

geohash

GDELT Tutorial

12 minute read

GDELT claims to be the largest, most comprehensive, and highest resolution open database of human society ever created.

Back to Top ↑

markdown

Plotly & Markdown

4 minute read

In a previous post, I created a scatterplot using ggplot2 that displayed college football team logos as the markers using geom_image() from the ggimage packa...

Back to Top ↑

GitHub Pages

Plotly & Markdown

4 minute read

In a previous post, I created a scatterplot using ggplot2 that displayed college football team logos as the markers using geom_image() from the ggimage packa...

Back to Top ↑

predictive modeling

College Football Predictions

44 minute read

Continuing with the streak of posts about college football posts, here I finally get into developing some models to predict the winning team and margin of vi...

Back to Top ↑