Machine Learning
Machine Learning
Sunny Kusawa
Contents
Title Page
Preface
What is Machine Learning?
Why We need Machine Learning?
AI vs ML vs DL vs Data Science
Machine Learning Types?
Machine Learning Project Lifecycle
ApplicationS of Machine Learning?
How to learn Machine Learning
Stay connected with US
Afterword
Acknowledgement
Preface
This book is for everyone who wants to get familiar with Machine
Learning.
This book will help you understand the basics of Machine Learning,
what are different types of machine learning? how Machine Learning
project works and where exactly
Machine Learning is in use?
At the end the author also mentioned how you can learn Machine
Learning in the easiest way.
Let's start with this quick and easy guide for Machine Learning.
About Author
Sunny Kusawa
On a mission to empower 10 million people in Artificial Intelligence,
Machine Learning and Data Science.
Writer on Medium.com
Index
1.What is Machine Learning
2.Why Machine Learning
3.AI vs ML vs DL vs Data Science
4.Type of Machine Learning
5.Machine Learning Project Life cycle
6.Applications of Machine Learning
7.How to build Career in Machine Learning
8.Connect with us
What is Machine Learning?
Adding Learning ability in machine with the help of algorithms is Machine
learning.
Show data to machine and let machine learn different patterns from data with the
help of algorithms.
Here, data could be in any format like text, Records in table, images, videos, or
audios.
For example- Text data could be chat messages, email content, server log,
notification message etc.
Audio data could be songs, podcasts, recorded phone calls, recorded radio meets
etc.
Let’s try to understand with the help of an example. Take data related to any
specific task/object.
For example: take images of dogs and show them to machine. Machine will learn
different patterns about dogs with the help of Machine Learning algorithms.
The next time you show new dog image to a machine, it will be able to
understand its dog. Based on previous learning from dog images.
This way with the help of data, machines are outperforming the human
beings. This is the reason machine learning in in use everywhere. It helps
human beings to solve complex problems better than humans.
Hope you got the taste of what Machine learning is and why we need it.
AI vs ML vs DL vs Data Science
Most of the time beginner's get confused with what is
Artificial Intelligence, Machine Learning, Deep Learning, and data science?
Let’s try to understand AI, ML, DL and Data Science one by one at a very high
level.
Artificial Intelligence is a broad field which includes Machine learning and deep
learning. On the other hand, we have a Data Science field which makes use of
ML and DL techniques for better data driven decision making.
Robotics
Machine Learning
Computer Vision
NLP
Biometrics etc.
Reactive
Limited memory
Theory of mind
Self-aware
Machine Learning
It is a sub field of AI. In this field, we try to add learning ability to machine where
machine try to learn different patterns and insights from data.
There are 3 types of Machine Learning
Supervised
Unsupervised
Reinforcement
Deep Learning
The evolution of deep learning is helping the Machine learning field to solve
complex problems with better performance but on the other side it’s also
responsible for the high carbon footprints.
Data Science
Data Collection
Data Wrangling
Data Visualization
Data Analysis
Data Mining
Data modeling and lot more.
Complex Data Science solutions use deep learning and machine learning
models for deriving the hidden patterns from the data.
Data Science allows businesses to make data driven decisions and grow
profits by offering better products/services to customers or by optimizing the
business process/resources.
Machine Learning Types?
Labeled data means- when we pass data for learning along with that, we tag each
data with some label.
For example: if we want a machines to learn about dog and cat then we pass
images of dog and cat to the machine along with a label assigned to each dog and
cat image.
It helps machines to learn about image and save its learning against that label/tag.
So, when a machine learns from an image and that image is labeled with CAT
then the machine saves that learning as CAT.
If we have 100 images of cats and those images labeled as CAT, then the machine
will learn the patterns from these 100 images and save these all learning for the
CAT label.
Classification
Differentiating between different objects/records. Outcome is always discrete in
nature.
Regression
predict the continuous values for given input.
Take data and pass it to a machine for learning and machine figures out the
different groups/clusters based on the similarity or common factors in different
data items
For example.
If you take your customer data and pass it to machine for learning without any
label
Ex. identify which are all products customers may buy together
Dimensionality reduction
Reduce the number of features in data by grouping down together.
For example:
you have 100 columns in your data. You can reduce the 100 columns to 40
columns by finding out which are all columns that have similar impact or no
impact on outcome.
It helps to save memory and computational power required for processing the
high dimension data.
The desired behavior is that the car should run fine without hitting other cars
and road borders.
Keep taking actions and keep getting rewards and punishments. It learns from
punishments and tries to Improvise on every action.
This way the car learns to drive by itself and this way of learning we call it
reinforcement learning.
Machine Learning Project Lifecycle
If this problem can be solved with Machine learning and data is also available or
possible to acquire from some source. Then move to the next step.
2.Collect Data
Data required for a Machine Learning project can come from different
sources depending upon what kind of problem you are solving.
Machine learning algorithms won't understand raw data most of the time
or raw data won't enable ML algorithms to perform at its best level.
In the data preprocessing stage convert the data in such a way that
machine learning algorithms can understand it better and be able to learn
best from it.
Train data
Validation data
Test data
4.Train Model
Select the model which is working best. Refine/tune this model so it can give
better performance. It's called hyper parameter tuning.
5.Evaluate Model
Test data is data which is not yet seen by model. So, after showing new
data (test data), check how model is working.
If the model works well on test data it means the model is a good one
and ready to serve.
7.Deploy Model
deploy this model on local machine, private server or on cloud as per business
requirement.
In this step Model is made available for business so their
clients/customers/employees can use it
Important:
Keep repeating:
After deployment keep monitoring machine learning models. If it starts
misbehaving or starts giving wrong results then keep repeating all steps
again starting from understanding the problem, collecting data till model
building and deployment.
Weather prediction
Machine learning used to forecast wheather.
Robots
Uses Machine Learning for identifying objects, understanding human voice, taking actions based on
situations etc.
Disease Detection
Uses Machine learning for Cancer detection, Clinical trials, robotic surgeries etc
Entertainment
Uses Machine Learning for Netflix movies recommendation, YouTube ads, YouTube auto playlists etc
Agriculture
Uses Machine Learning for plant disease detection, plant growth tracking, fertilizer spreading through drone,
drone surveillance, weather prediction etc
These are just a few examples to give an idea about where Machine learning is getting used and
how.
Now you name any field and machine learning has its footprint over there.
How to learn Machine Learning
If you are trying to learn Machine learning with self study then below is the
easiest way to learn in my opinion. This is a very high level flow which you can
follow,
Learn Machine Learning basic theory. What is Machine Learning, its type,
different kinds of ML problems, ML project life cycle, a couple of basic ML
algorithms etc.
Download some most popular machine learning project code notebooks from
the Kaggle community. Try to run it on your system/google colab, It will give you
good confidence.
Try to do reverse engineering and see how different machine learning project
lifecycles steps applied in the project code.
Try to explore more Machine Learning projects and keep learning new
concepts, ML algorithms and techniques as you come across. if you aren't able to
understand any code snippet then copy and search on Google. You will get lots of
resources.
Take some sample business problems, collect data and try to apply the
techniques which you learnt from previous project notebooks.
Keep repeating this process and try to do different kinds of projects. Each
time you will end up learning a couple of new concepts and techniques.
Don't focus too much on maths and statistics at beginner level. It might be
overwhelming at the initial stage.
Focus on applied Machine Learning.
Learning by self study sometimes becomes difficult. You may get stuck
somewhere or you may lose interest in between or you may won't able to apply
yuor learnings on new business problems etc. Looking at these issues we have
designed a Machine Learning in detail course with different business case
studies and hands on experience.
If you want to develop good Machine Learning skills in 3 months then you
can opt for our Applied Machine Learning course. You can contact on below
email address for more details.
Contact us:
datamagic2020@gmail.com
You can also click on below contact button and fill the Google form to
directly connect with us,
Contact
Stay connected with US
If you want to learn more about Machine Learning, Artificial
Intelligence and Data Science then join me on below platforms,
YouTube
Facebook Page
Facebook Group
Instagram
I would like to thank my mentor Dev Gadhavi, Sugeeta Madan and Sushant
Kumar for motivating me to start writing a book.