CI Keras
CI Keras
Introduction to Keras
Keras:
• Follows best practices for reducing cognitive load
• Offers consistent and simple APIs.
• Minimizes the number of user actions required for common use
cases.
• Provides a clear feedback upon user errors.
• More productive than many other frameworks.
• Integrates with lower-level Deep Learning languages like
TensorFlow or Theano.
• Implements everything which was built in base language, e.g.
TensorFlow.
• Produces models using GPU acceleration for various system like
Windows, Linux, Android, iOS, Raspberry Pi.
Working Principle
Each image in the MNIST dataset is 28x28 pixels and contains a centred,
grayscale digit form 0 to 9. Our goal is to classify these images to one of the ten
classes using ten output neurons of the CNN network.
Simple CNN for MNIST classification
Simple CNN for MNIST classification
Results of CNN MNIST classification
Let’s start with powerful computations!
✓ Questions?
✓ Remarks?
✓ Suggestions?
✓ Wishes?
Bibliography and Literature
1. https://www.youtube.com/watch?v=XNKeayZW4dY
2. https://victorzhou.com/blog/keras-cnn-tutorial/
3. https://github.com/keras-team/keras/tree/master/examples
4. https://medium.com/@margaretmz/anaconda-jupyter-notebook- Adrian Horzyk
tensorflow-and-keras-b91f381405f8 [email protected]
5. https://blog.tensorflow.org/2019/09/tensorflow-20-is-now- Google: Horzyk
available.html
6. http://coursera.org/specializations/tensorflow-in-practice
7. https://udacity.com/course/intro-to-tensorflow-for-deep-learning
University of Science
and Technology
in Krakow, Poland
XXX
xxx
Summary
xxx
Use-Case with Keras
Let’s try to predict the price of a bottle of wine just from its
description and variety using wide and deep networks using Keras.
We will use Wine dataset from kaggle.com:
Input sample:
You can try to follow the use-case for the Wine dataset
prediction.