EE5075 Lecture 3A Correct
EE5075 Lecture 3A Correct
LECTURE 3A
Machine Learning -
By Python - Introduction
By Buddhika Jayasekara ([email protected])
Artificial Intelligence (AI)
Artificial Intelligence: the study of how to produce machines that have some of
the qualities that the human mind has, such as the ability to understand language,
recognize pictures, solve problems, and learn Ref: Cambridge Dictionary
Perceive Environment
(Vision)
Communication Knowledge
(Natural Language Representation
Processing)
Robots
AI Intelligence
Automated
Reasoning Machine Learning
Manipulate
(Robotics)
Automated systems
2
AI
technique
Natural
Intelligence
Intelligent Solution
Physical
presence
(Hardware/
Software)
8/24/2024 9:13 AM 3
Machine Learning - Artificial Neural Network (ANN)
Machine Learning
Human Learning
Inputs Weights
p1 w1
w2
a
p2
w3 f Output
p3
1
Bias
a = f (p1 w1 + p2 w2 + p3 w3 + b ) = f ( pi wi + b )
Artificial Neuron
https://wiki.python.org/moin/
PythonDistributions
5
6
Python - Numpy
7
8
Scikit-Learn
9
10
Pandas
11
12
Matplotlib
13
14
Keras
15
16
TensorFlow
17
18
Notebook
❑ Google Colab
▪ Colaboratory, or “Colab” for short, is a
product from Google Research
▪ Hosted by Google
▪ Access to GPU and TPU
▪ Many libraries for deep learning, machine
https://colab.research.google.com/
learning, data science
▪ Stored in google Drive
❑ Other options
▪ Jupyter Notebook
https://jupyter.org/
19
Getting Started with Colab
❑ Goto https://colab.research.google.com/ or
❑ Create Collab notebook in Google Drive
20
Getting Familiar with Libraries
21
22
23
24
25
26
Slicing
27
Boolean
Masking
28
Documentation
❑ At https://numpy.org/
29
30
Built on
Numpy
31
32
Documentation
❑ At https://pandas.pydata.org/
33
Any Questions
34