## NFL 2022 Week 21 (Conference Championships) Predictions – Zoltar Likes the 49ers More Than Las Vegas Does

Zoltar is my NFL football prediction computer program. It uses reinforcement learning and a neural network. Here are Zoltar’s predictions for week #21 (conference championship games) of the 2022 season. Zoltar: fortyniners by 0 dog = eagles Vegas: eagles by … Continue reading

## Revisiting Binary Classification Using scikit Logistic Regression

It had been a while since I looked at logistic regression using the scikit-learn (scikit or sklearn for short) machine learning library. Like any kind of skill, it’s important to stay in practice. I used one of my standard datasets … Continue reading

Posted in Scikit | 1 Comment

## Getting Ready for the PyTorch 2.0 Neural Network Library

The PyTorch web site announced that PyTorch 2.0 is scheduled to be released sometime in March 2023. This is a big deal because major versions (1.0, 2.0, 3.0, etc.) only appear once every few years. I figured I’d investigate version … Continue reading

## “Multi-Class Classification Accuracy by Class Using PyTorch” in Microsoft Visual Studio Magazine

I wrote an article titled “Multi-Class Classification Accuracy by Class Using PyTorch” in the January 2023 edition of Microsoft Visual Studio Magazine. See https://visualstudiomagazine.com/articles/2023/01/03/accuracy-by-class.aspx. A multi-class classification problem is one where the goal is to predict a discrete value where … Continue reading

## The Titanic Survival Example Using PyTorch

A well-known example of a binary classification problem is the Titanic survival dataset. The raw data has 1309 rows and 14 columns: pclass, survived, name, sex, age, sibsp, parch, ticket, fare, cabin, embarked, boat, body, dest. To predict if someone … Continue reading

## NFL 2022 Week 20 (Division Championships) Predictions – Zoltar Agrees Closely with Las Vegas

Zoltar is my NFL football prediction computer program. It uses reinforcement learning and a neural network. Here are Zoltar’s predictions for week #20 (division championship games) of the 2022 season. Zoltar: chiefs by 10 dog = jaguars Vegas: chiefs by … Continue reading

## Preparing the Titanic Dataset for PyTorch

One rainy Pacific Northwest weekend, I decided to take a look at the Titanic dataset. The goal is to predict if a passenger survived (1) or died (0) based on predictor variables such as passenger-class (1st, 2nd, 3rd), sex, age, … Continue reading

## Loading Custom Weight Values Into a PyTorch Network

I’ve been exploring the idea of training a PyTorch neural network using an evolutionary algorithm. The basic idea is to create a population of solutions (here, a set of neural weights and biases) and then repeatedly combine two solutions to … Continue reading