Category Archives: Keras

Yes, TensorFlow is Dead

July 2022: the TensorFlow neural network code library is dead. OK, that statement is somewhat of a provocative exaggeration but bear with me. It’s impossible to get hard data about the usage of TensorFlow (and Keras) relative to the other … Continue reading

Posted in Keras, Machine Learning, PyTorch | 2 Comments

Installing Keras 2.8 on a MacBook Laptop

It had been several months since I used a MacOS machine for machine learning with Keras/TensorFlow so I decided to do some examples to make sure there were no significant breaking changes. I bought a refurbished MacBook Air from the … Continue reading

Posted in Keras, PAW | Leave a comment

IMDB Sentiment Classification Using Keras 2.8 on Windows 11

One of my standard neural network examples is sentiment classification on the IMDB Movie Review dataset. The goal is to predict the sentiment (0 = negative, 1 = positive) of a natural language movie review such as, “The movie was … Continue reading

Posted in Keras, PAW | Leave a comment

MNIST Image Classification Using Keras 2.8 on Windows 11

One of my standard neural network examples is image classification on the MNIST dataset. The full MNIST (modified National Institure of Standards and Technology) dataset has 60,000 images for training and 10,000 images for testing. Each image is a 28 … Continue reading

Posted in Keras, PAW | Leave a comment

Regression (Employee Income) Using Keras 2.8 on Windows 11

One of my standard neural network examples is to predict employee income from sex, age, city, and job-type. Predicting a single numeric value is usually called a regression problem. (Note: “logistic regression” predicts a single numeric probability value between 0.0 … Continue reading

Posted in Keras, PAW | Leave a comment

Autoencoder Anomaly Detection Using Keras 2.8 on Windows 11

Every few months I revisit my standard neural network examples to make sure that changes in the underlying code libraries (PyTorch, Keras/TensorFlow) haven’t introduced a breaking change(s). One of my standard examples is autoencoder anomaly detection. The idea is to … Continue reading

Posted in Keras, PAW | Leave a comment

The Boston Area Housing Problem Using Keras 2.8 on Windows 11

For the past few days I’ve been revisiting some of my standard neural network problems. One of these is the Boston Area House Price problem. The data has 506 data items. Each data item represents a town or village near … Continue reading

Posted in Keras | Leave a comment

Preparing a Machine for the 2022 Predictive Analytics World All-Day Workshop

I will be presenting an all-day, hands-on machine learning workshop at the 2022 Predictive Analytics World (PAW) and Machine Learning Week (MLW) events, on Monday, June 20, in Las Vegas. See https://www.predictiveanalyticsworld.com/machinelearningweek/. The PAW / MLW events have lots of … Continue reading

Posted in Keras, Machine Learning, PAW, PyTorch | Leave a comment

Installing Keras 2.8.0 on Windows 10/11

Keras is a neural network code library. Keras relies on another library called TensorFlow. If you install TensorFlow you also install Keras. Note: In older versions, you had to install TensorFlow and Keras separately. Prerequisites: A machine with a relatively … Continue reading

Posted in Keras, PAW | 1 Comment

Installing PyTorch 1.10.0 on Windows 10/11

PyTorch is a neural network code library. Note: These instructions also work for PyTorch versions 1.11.x and 1.12.x — just different .whl files (see below). Prerequisites: A machine with a relatively modern CPU (no older than 8 years old) running … Continue reading

Posted in Keras, PAW, PyTorch | 2 Comments