Category Archives: Keras

Converting MNIST Binary Files to Text Files

PyTorch and Keras/TensorFlow have built-in ways to load the MNIST dataset into memory, but in many situations you just want MNIST data as simple text files. Source MNIST data files are in a proprietary binary format, so if you want … Continue reading

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

Installing Keras on Windows – January 2021

I’m a big fan of both the Keras and PyTorch neural network libraries. I tend to use one library for several months, and then switch to the other for several months, depending on the project I’m working on. It’s possible, … Continue reading

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

Installing TensorFlow 2.1.0 with Keras 2.2.4 for CPU on Windows 10 with Anaconda 5.2.0 for Python 3.6.5

Installing TensorFlow (which contains Keras) is a minor software nightmare — due mostly to version incompatibilities with the over 500 packages and over 50,000 files involved. I spent several days exploring exactly how to install TensorFlow with Keras on Windows … Continue reading

Posted in Keras, Machine Learning | 2 Comments

I Give a Talk on Binary Classification Using Keras

I recently gave a short workshop/talk at the tech company I work for on binary classification using the Keras neural network code library. The goal of a binary classification problem is to predict something that can take on one of … Continue reading

Posted in Keras, Machine Learning | 1 Comment

Neural Anomaly Detection Using Keras

I wrote an article titled “Neural Anomaly Detection Using Keras” in the March 2019 issue of Visual Studio Magazine. See https://visualstudiomagazine.com/articles/2019/03/01/neural-anomaly-detection-using-keras.aspx. Anomaly detection, also called outlier detection, is the process of finding rare items in a dataset. Examples include finding … Continue reading

Posted in Keras, Machine Learning | 3 Comments

Image Classification Using Keras

I wrote an article titled “Image Classification Using Keras” in the December 2018 issue of Visual Studio Magazine. See https://visualstudiomagazine.com/articles/2018/12/01/image-classification-keras.aspx. Keras is a neural network library. Keras actually is a layer of abstraction on top of the TensorFlow library. The … Continue reading

Posted in Keras | Comments Off on Image Classification Using Keras

Neural Network Library Training Algorithms

For people who are new to neural network libraries such as Keras, CNTK, PyTorch, and TensorFlow, selecting a training algorithm can be a bit confusing. All the libraries support the five main algorithms: stochastic gradient descent (SGD), Adagrad, Adadelta, Adam, … Continue reading

Posted in CNTK, Keras, Machine Learning, PyTorch | Comments Off on Neural Network Library Training Algorithms

Sentiment Analysis Using the Keras Library

I wrote an article titled “Sentiment Analysis Using Keras” in the November 2018 issue of Visual Studio Magazine. See https://visualstudiomagazine.com/articles/2018/11/01/sentiment-analysis-using-keras.aspx. In the article, I use the standard IMDB movie review dataset and create a prediction model that will accept the … Continue reading

Posted in Keras, Machine Learning | 1 Comment

Installing TensorFlow and Keras on Windows without a Live Internet Connection

I’ve taught workshops on TensorFlow and Keras several times. I always like to start by going through the installation process because it’s not trivial and the process reveals several ideas that are very important. I’ve got a workshop coming up … Continue reading

Posted in Keras, Machine Learning | Comments Off on Installing TensorFlow and Keras on Windows without a Live Internet Connection

Free “Keras Succinctly” Book

I wrote a short book titled “Keras Succinctly” that was published a few days ago. You can get the book in PDF format for free. See https://www.syncfusion.com/ebooks/cntk-succinctly. Book Web site The book has seven chapters, and each chapter describes how … Continue reading

Posted in Keras, Machine Learning | 2 Comments