Category Archives: Keras

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 | Leave a comment

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

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

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 CNTK, Keras, Machine Learning, PyTorch

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