IntroToMachineLearning - 25-07-2019
IntroToMachineLearning - 25-07-2019
to Machine Learning
By Eng.Yousra Hesham
Table of Content
• What’s Machine Learning?
• Machine Learning VS Traditional Programming.
• Machine Learning is the future.
• Machine Learning Algorithms.
• Machine Learning Applications.
• How to start in ML?
• Machine Learning process.
• Real Life examples.
• Questions?
• Refernces
What’s Machine Learning?
• How to make Machines Learn ?
• Simulates the way human Learn.
• Rule-Based Learning.
• Previous Experience-based learning.
• Example: Teach a kid how to identify Cats?
•
What’s Machine Learning?
• Is it Artificial Intelligence?
What’s Machine Learning?
• Instead of telling the Machine exactly what to do, we feed the data to
a generic algorithm and it builds its own logic.
• Unsupervised Learning:
• We have data and don’t know the
answer.
• Example: distinguish between cats and dogs.
Machine Learning Algorithms
Machine Learning Algorithms
• Semi-Supervised learning:
• The data is divided into 2 parts:
• Few is labeled data.
• Lots of unlabeled data.
• Mix between Supervised and Unsupervised learning.
Machine Learning Algorithms
• Reinforcement Learning:
• Train itself from the environment.
• Usually used with robotics applications.
Work out your mind!
• Procedure?
• Remove the non-letters characters. Wow i loved this place.
• Lower Case letters. wow….. i loved this place.
• Make the text sentence to array of words. [ wow, I, love, this, place]
• Removes the unnecessary parts (Pronoun–Stop words....( . [wow, loved, place]
• Get the origin of a word(Stemming). Loved -> love. [wow, love, place]
• Choose a suitable model for the problem!
• Test your model with new data( other than the training Data)
• Calculate it’s accuracy, if acceptable then you have your model ready, if not , re-ajust the
model parameters of perhaps a new model.
Machine Translation
• Making machines translate from one language to another.
• This field is part of NLP.
• Two approaches:
• Old approach: أنا أحب كرة اليد
• Depends on the linguistic rules of the Language.
• New approach ( Statistical):
• Depends on the already existing data.
I love Volley ball
Statistical Machine Translation
• Steps:
• Break original sentence
into chunks.
• Find all possible translations for
each chunk.
أنا أحب الذهاب الي أجمل شاطئ
• Generate all possible sentences
and find the most likely one.
• Limitations?
No available dataset from each
languages to another so, we use
an in-between language.
Statistical Machine Translation