Category Archives: Keras

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

A Look at CNTK v2.6 and the Iris Dataset

Version 2.6 of CNTK was released a few weeks ago so I figured I’d update my system and give it a try. CNTK (“Cognitive Network Tool Kit”) is Microsoft’s neural network code library. Primary alternatives include Google’s TensorFlow and Keras … Continue reading

Posted in Keras, Machine Learning, Miscellaneous, PyTorch | Comments Off on A Look at CNTK v2.6 and the Iris Dataset

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 Keras, Machine Learning, Miscellaneous, PyTorch | Comments Off on Managing Neural Network Library Versions

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 | Comments Off on Binary Classification Using Keras

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 | Comments Off on Neural Regression using Keras

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 | Comments Off on Displaying an MNIST Digit Yet Once Again

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