Please follow the instructions below and you will be rewarded with Keras with Tenserflow backend and, most importantly, GPU support. Step 1. Linux Update apt repositories and install the linux -image-extra-virtual package. This package includes the kernel module that’s required by the NVIDIA drivers. sudo apt-get update sudo apt-get install -y linux-image-extra-virtual Install the version of the headers that matches the freshly installed […]

# CNN KeRas (TensorFlow) Example with Cifar10 & Quick CNN in Theano

We will use cifar10 dataset from Toronto Uni for another Keras example. We used this dataset for another CNN model with more detailed process here. You can find more details on Valentino Zocca, Gianmario Spacagna, Daniel Slater’s book Python Deep Learning. ###the cifar10 dataset is comprised of 10 classes of objects: airplanes, automobiles, ###birds, cats, […]

# DNN and CNN of Keras with MNIST Data in Python

We talked about some examples of CNN application with KeRas for Image Recognition and Quick Example of CNN with KeRas with Iris Data. Actually, TensorFlow itself in Python is mature enough to conduct deep learning activities and KeRas is even faster and more simple to train with than TensorFlow only in deep learning activities. You […]

# CNN Model of Image Detection in Keras (TensorFlow) in Python3

This article covers the basic application of Keras and CNN in Python3, with Sublime text3 and Ipython Notebook as IDE. More details of the following code can be found in Robert Layton’s book here: https://www.goodreads.com/book/show/26019855-learning-data-mining-with-python?from_search=true ###The book above said that we will build a system that will take an image as an input ###and give […]

# Keras in Python, Backend TensorFlow, with Iris data to Build Deep Learning Model

We talked about Deep Learning Modeling in TensorFlow in Python&R: https://charleshsliao.wordpress.com/2017/06/06/rnn-in-tensorflow-in-pythonr-with-mnist/ We also mentioned Keras application in R: https://charleshsliao.wordpress.com/2017/04/24/cnndnn-of-keras-in-r-backend-tensorflow-for-mnist/ This article covers the basic application of Keras and TensorFlow in Python3, with Sublime text3 and Ipython Notebook as IDE. More details of the following code can be found in Robert Layton’s book here: https://www.goodreads.com/book/show/26019855-learning-data-mining-with-python?from_search=true ###This […]

# XOR Revisited: Keras and TensorFlow

A few weeks ago, it was announced that Keras would be getting official Google support and would become part of the TensorFlow machine learning library. Keras is a collection of high-level APIs in Python for creating and training neural networks, using either Theano or TensorFlow as the underlying engine. Given my previous posts on implementing an […]

# TalkingData Mobile User Demographics Competition, Winners’ Interview: 3rd Place, Team utc(+1,-3) | Danijel & Matias

The TalkingData Mobile User Demographics competition ran on Kaggle from July to September 2016. Nearly two-thousand players formed 1689 teams who competed to predict the gender of mobile users based on their app usage, geolocation, and mobile device properties. In this interview, Kagglers Danijel Kivaranovic and Matias Thayer, whose team utc(+1,-3) came in third place, […]

# Just upgraded Tensorflow 1.0.1 and Keras 2.0.1

$ pip install –upgrade keras –user Collecting keras Downloading Keras-2.0.1.tar.gz (192kB) 100% |████████████████████████████████| 194kB 2.9MB/s Requirement already up-to-date: theano in ./.local/lib/python2.7/site-packages (from keras) Requirement already up-to-date: pyyaml in ./.local/lib/python2.7/site-packages (from keras) Requirement already up-to-date: six in ./.local/lib/python2.7/site-packages (from keras) Requirement already up-to-date: numpy>=1.7.1 in /usr/local/lib/python2.7/dist-packages (from theano->keras) Collecting scipy>=0.11 (from theano->keras) Downloading scipy-0.19.0-cp27-cp27mu-manylinux1_x86_64.whl (45.0MB) 100% […]

# Deep Learning session from Google Next 2017

TensorFlow and Deep Learning without a PhD: With TensorFlow, deep machine learning transitions from an area of research to mainstream software engineering. In this video, Martin Gorner demonstrates how to construct and train a neural network that recognizes handwritten digits. Along the way, he’ll describe some “tricks of the trade” used in neural network design, […]

# R vs Python vs Scala vs Spark vs TensorFlow… The quantitative answer!

In this blog, we will finally give an answer to THE question: R, Python, Scala, Spark, Tensorflow, etc… What is the best one to answer data science questions? The question itself is totally absurd, but they are so many people asking it on social network that we find it worth to finally answer the recurrent […]