Keras 2.x Projects
eBook - ePub

Keras 2.x Projects

9 projects demonstrating faster experimentation of neural network and deep learning applications using Keras

Giuseppe Ciaburro

  1. 394 pages
  2. English
  3. ePUB (adapté aux mobiles)
  4. Disponible sur iOS et Android
eBook - ePub

Keras 2.x Projects

9 projects demonstrating faster experimentation of neural network and deep learning applications using Keras

Giuseppe Ciaburro

DĂ©tails du livre
Aperçu du livre
Table des matiĂšres
Citations

À propos de ce livre

Demonstrate fundamentals of Deep Learning and neural network methodologies using Keras 2.x

Key Features

  • Experimental projects showcasing the implementation of high-performance deep learning models with Keras.
  • Use-cases across reinforcement learning, natural language processing, GANs and computer vision.
  • Build strong fundamentals of Keras in the area of deep learning and artificial intelligence.

Book Description

Keras 2.x Projects explains how to leverage the power of Keras to build and train state-of-the-art deep learning models through a series of practical projects that look at a range of real-world application areas.

To begin with, you will quickly set up a deep learning environment by installing the Keras library. Through each of the projects, you will explore and learn the advanced concepts of deep learning and will learn how to compute and run your deep learning models using the advanced offerings of Keras. You will train fully-connected multilayer networks, convolutional neural networks, recurrent neural networks, autoencoders and generative adversarial networks using real-world training datasets. The projects you will undertake are all based on real-world scenarios of all complexity levels, covering topics such as language recognition, stock volatility, energy consumption prediction, faster object classification for self-driving vehicles, and more.

By the end of this book, you will be well versed with deep learning and its implementation with Keras. You will have all the knowledge you need to train your own deep learning models to solve different kinds of problems.

What you will learn

  • Apply regression methods to your data and understand how the regression algorithm works
  • Understand the basic concepts of classification methods and how to implement them in the Keras environment
  • Import and organize data for neural network classification analysis
  • Learn about the role of rectified linear units in the Keras network architecture
  • Implement a recurrent neural network to classify the sentiment of sentences from movie reviews
  • Set the embedding layer and the tensor sizes of a network

Who this book is for

If you are a data scientist, machine learning engineer, deep learning practitioner or an AI engineer who wants to build speedy intelligent applications with minimal lines of codes, then this book is the best fit for you. Sound knowledge of machine learning and basic familiarity with Keras library would be useful.

Foire aux questions

Comment puis-je résilier mon abonnement ?
Il vous suffit de vous rendre dans la section compte dans paramĂštres et de cliquer sur « RĂ©silier l’abonnement ». C’est aussi simple que cela ! Une fois que vous aurez rĂ©siliĂ© votre abonnement, il restera actif pour le reste de la pĂ©riode pour laquelle vous avez payĂ©. DĂ©couvrez-en plus ici.
Puis-je / comment puis-je télécharger des livres ?
Pour le moment, tous nos livres en format ePub adaptĂ©s aux mobiles peuvent ĂȘtre tĂ©lĂ©chargĂ©s via l’application. La plupart de nos PDF sont Ă©galement disponibles en tĂ©lĂ©chargement et les autres seront tĂ©lĂ©chargeables trĂšs prochainement. DĂ©couvrez-en plus ici.
Quelle est la différence entre les formules tarifaires ?
Les deux abonnements vous donnent un accĂšs complet Ă  la bibliothĂšque et Ă  toutes les fonctionnalitĂ©s de Perlego. Les seules diffĂ©rences sont les tarifs ainsi que la pĂ©riode d’abonnement : avec l’abonnement annuel, vous Ă©conomiserez environ 30 % par rapport Ă  12 mois d’abonnement mensuel.
Qu’est-ce que Perlego ?
Nous sommes un service d’abonnement Ă  des ouvrages universitaires en ligne, oĂč vous pouvez accĂ©der Ă  toute une bibliothĂšque pour un prix infĂ©rieur Ă  celui d’un seul livre par mois. Avec plus d’un million de livres sur plus de 1 000 sujets, nous avons ce qu’il vous faut ! DĂ©couvrez-en plus ici.
Prenez-vous en charge la synthÚse vocale ?
Recherchez le symbole Écouter sur votre prochain livre pour voir si vous pouvez l’écouter. L’outil Écouter lit le texte Ă  haute voix pour vous, en surlignant le passage qui est en cours de lecture. Vous pouvez le mettre sur pause, l’accĂ©lĂ©rer ou le ralentir. DĂ©couvrez-en plus ici.
Est-ce que Keras 2.x Projects est un PDF/ePUB en ligne ?
Oui, vous pouvez accĂ©der Ă  Keras 2.x Projects par Giuseppe Ciaburro en format PDF et/ou ePUB ainsi qu’à d’autres livres populaires dans Ciencia de la computaciĂłn et Inteligencia artificial (IA) y semĂĄntica. Nous disposons de plus d’un million d’ouvrages Ă  dĂ©couvrir dans notre catalogue.

Informations

Reuters Newswire Topics Classifier in Keras

Natural language processing (NLP) is the process of automatic processing of information written or spoken in a natural language using an electronic calculator. This is made particularly difficult and complex due to the intrinsic characteristics of the ambiguity of human language. When it's necessary to make the machine learn methods of interaction with the environment typical of man, the question isn't so much that of storing data, but that of letting the machine learn how this data can be translated simultaneously to create a concept. Natural language interacts with the environment generating predictive knowledge.
In this chapter, Keras layers are used to build a model to classify Reuter's newswire topics. Data is available from a dataset that contains 11,228 newswires from Reuters with 46 labeled topics. This dataset is from Keras, and each wire is encoded as a sequence of word indexes.
The following topics will be covered in this chapter:
  • Natural language processing
  • The Natural Language Toolkit
  • Corpora
  • Word and sentence tokenize
  • Implementing a DNN to label sentences
In this chapter, we'll learn how to analyze, understand, and generate texts using Natural Language Toolkit. Then, we will analyze the most frequent applications using natural language processing. We'll learn about Keras sequential layers and understand training and validation procedures. Finally, we will explore a practical case: how to label sentences contained in the Reuters newswire topics dataset using a Keras Deep Neural Network.

Natural language processing

NLP aims to implement IT tools to analyze, understand, and generate texts that people can understand naturally, as if they were communicating with another human interlocutor and not a computer. By natural language, we mean the language that we use in everyday life, such as English, Chinese, or Arabic, and that's synonymous with human language, mainly to distinguish it from formal language, including computer language. Natural language is the most natural and common form of communication, not only in its spoken version, but also in its written one. Compared to formal language, natural language is much more complex and often contains implications and ambiguities, which makes it very difficult to elaborate. Two goals can be pursued: text analysis and text generation. These characteristics define the following disciplines:
  • Natural language analysis (NLA): This aims to study the understanding of natural language by machines. Deals with the reduction of a text in natural language in a formal and univocal representation.
  • Natural language generation (NLG): This aims to study how machines can generate sentences in natural language. It deals with the construction of applications capable of producing correct sentences in a specific language.
These activities have a certain complexity and require different types of skills ranging from computer science to linguistics.

NLP phases

NLP involves several phases in the text analysis that make it a layered structure. The fundamental levels on which the analysis of a sentence is based are listed in the following:
  • Morphology analysis
  • Syntax analysis
  • Semantic analysis
  • Pragmatic analysis
Let's understand in depth about each layer.

Morphology analysis

The purpose of this phase is to subdivide the language input strings into sets of tokens corresponding to discrete words, sub-words, and punctuation forms. The text is then fragmented through a tokenization process, forming a series of tokens—each token is associated with a word of the text. In this phase, two terms assume relevance: stem and lemma. The stem is the root of a word, obtainable by removing from its flexed form (for example the conjugation of a verb or the plural of a noun) the ending. The lemma is instead the canonical form of the word, which is the one that's conventionally chosen to represent all of the inflected forms.
This phase has the task of identifying the stem and lemma of each word through two different operations, stemming and lemmatization respectively. This information will then be used in the subsequent analysis phases; in fact, it's much less expensive, in terms of memory, to maintain rules based on the parts that make up a word and how their combinations go to form certain inflected forms, rather than managing each word as an atomic element within a huge inventory.

Syntax analysis

To understand the meaning of a sentence, it's not enough to know the meaning of the words that compose it, but it's also essential to know how they relate to each other. This phase deals with the syntact...

Table des matiĂšres

  1. Title Page
  2. Copyright and Credits
  3. About Packt
  4. Contributors
  5. Preface
  6. Getting Started with Keras
  7. Modeling Real Estate Using Regression Analysis
  8. Heart Disease Classification with Neural Networks
  9. Concrete Quality Prediction Using Deep Neural Networks
  10. Fashion Article Recognition Using Convolutional Neural Networks
  11. Movie Reviews Sentiment Analysis Using Recurrent Neural Networks
  12. Stock Volatility Forecasting Using Long Short-Term Memory
  13. Reconstruction of Handwritten Digit Images Using Autoencoders
  14. Robot Control System Using Deep Reinforcement Learning
  15. Reuters Newswire Topics Classifier in Keras
  16. What is Next?
  17. Other Books You May Enjoy
Normes de citation pour Keras 2.x Projects

APA 6 Citation

Ciaburro, G. (2018). Keras 2.x Projects (1st ed.). Packt Publishing. Retrieved from https://www.perlego.com/book/868342/keras-2x-projects-9-projects-demonstrating-faster-experimentation-of-neural-network-and-deep-learning-applications-using-keras-pdf (Original work published 2018)

Chicago Citation

Ciaburro, Giuseppe. (2018) 2018. Keras 2.x Projects. 1st ed. Packt Publishing. https://www.perlego.com/book/868342/keras-2x-projects-9-projects-demonstrating-faster-experimentation-of-neural-network-and-deep-learning-applications-using-keras-pdf.

Harvard Citation

Ciaburro, G. (2018) Keras 2.x Projects. 1st edn. Packt Publishing. Available at: https://www.perlego.com/book/868342/keras-2x-projects-9-projects-demonstrating-faster-experimentation-of-neural-network-and-deep-learning-applications-using-keras-pdf (Accessed: 14 October 2022).

MLA 7 Citation

Ciaburro, Giuseppe. Keras 2.x Projects. 1st ed. Packt Publishing, 2018. Web. 14 Oct. 2022.