Category Archives: Keras

Managing Neural Network Library Versions

I regularly use four neural network code libraries: TensorFlow, Keras, PyTorch, and CNTK. The libraries require Python. Managing all the different versions of these libraries is an annoying detail that has to be taken care of very carefully. I recently … Continue reading

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

Binary Classification Using Keras

I wrote an article titled “How to do Neural Binary Classification Using Keras” in the August 2018 issue of Visual Studio Magazine. See https://visualstudiomagazine.com/articles/2018/08/30/neural-binary-classification-keras.aspx. The goal of a binary classification problem is to make a prediction for a problem where … Continue reading

Posted in Keras, Machine Learning

Neural Regression using Keras

I wrote an article titled “Neural Regression using Keras” in the July 2018 issue of Visual Studio Magazine. See https://visualstudiomagazine.com/articles/2018/07/23/neural-regression-using-keras.aspx. The goal of a regression problem is to make a prediction of a numeric value. For example, you might want … Continue reading

Posted in Keras, Machine Learning

Displaying an MNIST Digit Yet Once Again

It seems like there are some mini-problems that I do over and over. Displaying an MNIST digit is one such mini-problem. I’m in the process of writing an article for Visual Studio Magazine ( https://visualstudiomagazine.com/Home.aspx ) and the topic is … Continue reading

Posted in Keras, Machine Learning

The Keras MNIST Example using Model Instead of Sequential

Just for fun, I decided to code up the classic MNIST image recognition example using Keras. I started by doing an Internet search. I found the EXACT same code repeated over and over by multiple people. The original code comes … Continue reading

Posted in Keras, Machine Learning | 1 Comment

A Denoising Autoencoder

A neural autoencoder accepts input, compresses it, and then reconstructs the original input. One use of an autoencoder is to denoise image or document data. The idea is that during the compression stage, unnecessary information is discarded. I coded up … Continue reading

Posted in Keras, Machine Learning | 1 Comment

DNN Image Classification Using Keras

I wrote an article titled “DNN Image Classification Using Keras” in the June 2018 issue of Visual Studio Magazine. See https://visualstudiomagazine.com/articles/2018/06/21/dnn-image-classification-using-keras.aspx. The goal of image classification is to examine a picture of some kind and predict something about it. For … Continue reading

Posted in Keras, Machine Learning