Professional Documents
Culture Documents
Artificial Intelligence by Example Develop Machine Intelligence From Scratch Using Real Artificial Intelligence Use Cases Denis Rothman
Artificial Intelligence by Example Develop Machine Intelligence From Scratch Using Real Artificial Intelligence Use Cases Denis Rothman
https://textbookfull.com/product/artificial-intelligence-for-big-
data-complete-guide-to-automating-big-data-solutions-using-
artificial-intelligence-techniques-anand-deshpande/
https://textbookfull.com/product/understanding-artificial-
intelligence-fundamentals-use-cases-and-methods-for-a-corporate-
ai-journey-management-for-professionals-kreutzer/
https://textbookfull.com/product/artificial-intelligence-and-
robotics-huimin-lu/
https://textbookfull.com/product/practical-artificial-
intelligence-machine-learning-bots-and-agent-solutions-
using-c-1st-edition-arnaldo-perez-castano/
Oracle Business Intelligence with Machine Learning :
Artificial Intelligence Techniques in OBIEE for
Actionable BI 1st Edition Rosendo Abellera
https://textbookfull.com/product/oracle-business-intelligence-
with-machine-learning-artificial-intelligence-techniques-in-
obiee-for-actionable-bi-1st-edition-rosendo-abellera/
https://textbookfull.com/product/playing-smart-on-games-
intelligence-and-artificial-intelligence-1st-edition-julian-
togelius/
https://textbookfull.com/product/ai-meets-bi-artificial-
intelligence-and-business-intelligence-1st-edition-lakshman-
bulusu/
https://textbookfull.com/product/agriculture-5-0-artificial-
intelligence-iot-and-machine-learning-1st-edition-latief-ahmad/
https://textbookfull.com/product/prolog-programming-for-
artificial-intelligence-ivan-bratko/
Artificial Intelligence
By Example
Denis Rothman
BIRMINGHAM - MUMBAI
Artificial Intelligence By
Example
Copyright © 2018 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any
form or by any means, without the prior written permission of the publisher, except in the case of brief
quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information
presented. However, the information contained in this book is sold without warranty, either express or implied.
Neither the author, nor Packt Publishing or its dealers and distributors, will be held liable for any damages
caused or alleged to have been caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products
mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the
accuracy of this information.
ISBN 978-1-78899-054-7
www.packtpub.com
To my family and friends for bringing me joy on the good days
and comfort on the bad ones.
-Denis Rothm
mapt.io
Mapt is an online digital library that gives you full access to over
5,000 books and videos, as well as industry leading tools to help you
plan your personal development and advance your career. For more
information, please visit our website.
Why subscribe?
Spend less time learning and more time coding with practical
eBooks and Videos from over 4,000 industry professionals
Improve your learning with Skill Plans built especially for you
developers and tech professionals, just like you, to help them share
their insight with the global tech community. You can make a
general application, apply for a specific hot topic that we are
recruiting an author for, or submit your own idea.
Table of Contents
Title Page
Dedication
Packt Upsell
Why subscribe?
PacktPub.com
Contributors
Preface
Code in Action
Conventions used
Get in touch
Reviews
Technical requirements
Summary
Questions
Further reading
Technical requirements
Designing datasets – where the dream stops and the hard work begin
Overall architecture
Logistic classifier
Logistic function
Softmax
Summary
Questions
Further reading
Technical requirements
Determining what and how to measure
Convergence
Implicit convergence
m
Using supervised learning to evaluate result quality
Summary
Questions
Further reading
4. Become an Unconventional Innovator
Technical requirements
The XOR limit of the original perceptron
Step 2 – how two children solve the XOR problem every day
Implementing a vintage XOR solution in Python with an FNN and backpr
opagation
A simplified version of a cost function and gradient descent
Summary
Questions
Further reading
5. Manage the Power of Machine Learning and Deep Learning
Technical requirements
Building the architecture of an FNN with TensorFlow
Questions
Further reading
References
The strategy
The k-means clustering program
The mathematical definition of k-means clustering
Lloyd's algorithm 
Questions
Further reading
7. When and How to Use Artificial Intelligence
Technical requirements
Further reading
8. Revolutions Designed for Some Corporations and Disruptive Innovations for Small
to Large Companies
Technical requirements
Is AI disruptive?
What is new and what isn't in AI
AI is based on mathematical theories that are not new
Neural networks are not new
Cloud server power, data volumes, and web sharing of the early
21st century started to make AI disruptive
Public awareness contributed to making AI disruptive
Inventions versus innovations
The program
The header
Implementing Google's translation service 
Google Translate from a linguist's perspective
Summary
Questions
Further reading
9. Getting Your Neurons to Work
Technical requirements
Defining a CNN
Defining a CNN
Initializing the CNN
Adding a 2D convolution 
Kernel
Intuitive approach
Developers' approach
Mathematical approach
Shape
ReLu
Pooling
Dense layers
The goal
Adam optimizer
Metrics
Training dataset
Data augmentation
Data augmentation
Loading the data
Summary
Questions
Further reading and references
Input data
Layer 1 – managing the inputs to the network
Layer 2
Correct prediction
accuracy
Cross-entropy
Training
Optimizing speed with Google's Tensor Processing Unit
Summary
Questions
Further reading
Inductive abstraction
Domain learning
How to use the programs
Chatbots
Self-driving cars
Summary
Questions
Further reading
Technical requirements
Planning and scheduling today and tomorrow
ps
The beginning of an abstract notion of gaps
A circular process
Summary
Questions
Further reading
The dataset
Summary
Questions
Further reading
References
Using cryptocurrency 
Using blockchains
Using blockchains in the A-F network
Creating a block
The goal
Step 3 likelihood
Summary
Questions
Further reading
IBM Watson
Intents
Entities
Dialog flow
A cognitive dataset
Cognitive natural language processing
Implementation
Summary
Questions
Further reading
Building a mind 
How to read this chapter
Restricted Boltzmann Machines
The connections between visible and hidden units
Energy-based models
Sentiment analysis
Parsing the datasets
Word embedding
The Word2vec model
Intuitive explanation 
Mathematical explanation
Variance
Covariance
Summing it up
TensorBoard Projector
Using Jacobian matrices
Summary
Questions
Further reading
Representing a qubit
Gaps
Distances
Questions
Further reading
Chapter 5 – Manage the Power of Machine Learning and Deep Learning
Solutions
Chapter 7 – When and How to Use Artificial Intelligence
of Chatbots
*****
Emil Nervander kirjoitti »Morgonbladetissa» Suomalaisessa
teatterissa 25/II 1880 olleen »Nooran» ensi-illan johdosta:
*****
*****
Rakkahin Matte!
*****