Week - Three
Week - Three
Wester Zela
Session Three
[email protected]
www.ssyspe.org
Agenda
• Machine Learning
• Applications of Machine Learning
• Supervised Learning
• Unsupervised Learning
• Reinforcement Learning
• Steps to development an Machine Learning application
Machine Learning
• A Field of study that gives computers the ability to learn without
being explicitly programmed.
• A computer program is said to learn from experience E with respect
to some class of tasks T and performance measure P, if its
performance at tasks in T, as measured by P, improves with the
experience E (Tom M. Mitchell).
• Machine learning lies at the intersection of computer science,
engineering, and statistics and often appears in other disciplines.
• It can be applied to many fields from politics to Medicine.
Machine Learning
• Started with Alan Turing in 1950 … “The imitation game”, Can
machines think?. (Computing machinery and intelligence. Mind,59,
433-560).
• Loebner Prize (https://aisb.org.uk/events/aisb-convention-2020-
communication-and-conversation-non-members/)
• https://www.chatbots.org/ai_zone
• http://www.ssyspe.org/viewtopic.php?f=37&t=3896
• Today what is happening in your normal day ?…
• https://www.youtube.com/watch?v=MK31E4mSbXw
Some Applications of Machine Learning
• Spam detection
• ChatBots
https://dialogflow.com/
https://wit.ai/
https://rasa.com/
• Biometric recognition
http://facex.io/
https://docs.opencv.org/3.0-beta/modules/face/doc/facerec/facerec_tutorial.html
https://github.com/davisking/dlib/blob/master/python_examples/face_recognition.py
https://cmusatyalab.github.io/openface/
http://openbiometrics.org/docs/index.html
• Stock Trading
Some Applications of Machine Learning
• Object recognition
http://opendetection.com/
• Advertising
https://www.youtube.com/watch?v=uiDMlFycNrw
• Medicine and Healthcare
https://www.youtube.com/watch?v=_Xcmh1LQB9I
• Retail and e-commerce
https://www.youtube.com/watch?v=F4chm96TYVE
• Games
https://gym.openai.com/
Some Applications of Machine Learning
• Internet of things
• Raspberry Pi
• Arduino Projects
https://store.arduino.cc/product/K000007
https://www.youtube.com/watch?v=5Z7z3Zduj6w
Supervised Learning
• Is the machine learning task of inferring a function from labeled
training data.
• We tell to the algorithm what to predict.
• Data
• Training Data
• Training set is a set of training examples to train machine learning algorithms
• Target Variable are known
• Learns by finding some relationship between the features and target variable
• Test set
• Data used to validate the algorithm
Supervised Learning
• Knowledge representation: The knowledge representation may be in
the form of a set of rules; it may be a probability distribution or an
example from the training set.
• Some Tasks in Supervised Learning:
• Clasification:predict what class an instance of data should fall into.
• Regression : is the prediction of a numeric value
Supervised Learning
Bird species clasification based on four features
Supervised Learning
• Some Algorithms in Supervised Learning:
• Decision trees
• Artificial Neural Network
• Deep Learning
• Genetic Algorithm
• Bayesian Networks
• Support Vector Machines (SVM)
• K-nearest neighbor
• Hidden Markov Models
Unsupervised Learning
• In unsupervised learning, there’s no label or target value given for the
data.
• The problem of Unsupervised Learning is try to find hidden structure
in unlabeled data.
• There is no error or reward signal to evaluate a potential solution.
• Some tasks:
• Clustering: A task where we group similar items together or dividing a large
data set into smaller data sets of some similarity
Unsupervised Learning - Clustering
Algorithms:
• K-Means Clustering
Supervised or Unsupervised Learning?
• The mesaure of amount of pollution in certain locations, under different weather conditions,
different time of days and different days of the week
• Predict the air pollution concentration at new location with known weather and known date
and time
Supervised or Unsupervised Learning?