Introduction to Artificial intelligence and Machine learning, Zusammenfassungen von Künstliche Intelligenz

Toggle sidebar
bg1
3/9/2025
1
Basics
Dr. Berke Gür
Machine Learning
Dr. Berke Gür
3/9/2025
1
Chapter Overview
•Definition of artificial intelligence
•Subfields of artificial intelligence
•Definition of machine learning
•Types of learning by machines
•Terminology
Machine Learning
Dr. Berke Gür
3/9/2025
2
1
2
pf3
pf4
pf5
pf8
pf9
pfa

Unvollständige Textvorschau

Nur auf Docsity: Lade Introduction to Artificial intelligence and Machine learning und mehr Zusammenfassungen als PDF für Künstliche Intelligenz herunter!

1

Basics

Dr. Berke Gür Machine Learning Dr. Berke Gür 3/9/ 1

Chapter Overview

  • Definition of artificial intelligence
  • Subfields of artificial intelligence
  • Definition of machine learning
  • Types of learning by machines
  • Terminology Machine Learning Dr. Berke Gür 3/9/ 2 1

2

What is Artificial Intelligence (AI)?

Machine Learning Dr. Berke Gür 3/9/ 3 Source: [Rus10]

What is Artificial Intelligence (AI)?

  • Artificial intelligence (AI) is an umbrella term for different strategies & techniques you can use to make machines more humanlike
  • It is the field of developing computers & robots that are capable of behaving in ways that both mimic and go beyond human capabilities Machine Learning Dr. Berke Gür 3/9/ 4 3

4

Some Applications of AI Systems

Machine Learning Dr. Berke Gür 3/9/ 7

Artificial Intelligence vs. Machine Learning

  • Artificial intelligence (AI) is an umbrella term for different strategies & techniques you can use to make machines more humanlike
  • Machine learning (ML) is a subfield of AI that is concerned with building algorithms which rely on a collection of data of some phenomenon
  • Types of learning
    1. Supervised
    2. Unsupervised
    3. Semisupervised
    4. Reinforcement Machine Learning Dr. Berke Gür 3/9/ 8 7

5

Types of Learning

Machine Learning Dr. Berke Gür 3/9/ 9

Supervised Learning

  • The dataset is the collection of labeled examples {(xi, yi)}Ni=
  • The goal is to use the dataset to produce a model that takes a feature vector (x) as input & outputs information allowing the deduction of the label (y) for this feature vector
  • Ex: The model created using the dataset of people could take as input a feature vector describing a person & output a probability that the person has cancer Machine Learning Dr. Berke Gür 3/9/ 10 9

7

Unsupervised Learning

  • The dataset is a collection of unlabeled examples {xi}Ni=
  • The goal is to create a model that takes a feature vector (x) as input & either transforms it into another vector or into a value that can be used to solve a practical problem
  • Examples
    • Clustering develops a model that returns the id of the cluster for each feature vector in the dataset
    • Dimensionality reduction builds a model that outputs a feature vector that has fewer features than the input (x)
    • Outlier detection produces a model where the output is a real number that indicates how (x) is different from a «typical» example in the dataset Machine Learning Dr. Berke Gür 3/9/ 13

Semi-Supervised Learning

  • The dataset contains both labeled and unlabeled examples
  • Usually, the quantity of unlabeled examples is much higher than the number of labeled examples
  • The goal of a semi-supervised learning is the same as the goal of supervised learning
  • The expectation is that using many unlabeled examples can help finding a better model
  • Adding more unlabeled examples means adding more information about the problem
  • Larger sample reflects better the probability distribution the data we labeled came from
  • Theoretically, a learning algorithm should be able to leverage this additional information Machine Learning Dr. Berke Gür 3/9/ 14 13

8

Reinforcement Learning

  • Reinforcement learning is a subfield of ML where the machine «lives» in an environment and can perceive the state of that environment as a vector of features
  • The machine can execute actions in every state
  • Different actions bring different rewards and could also move the machine to another state of the environment
  • The goal of a reinforcement learning algorithm is to learn a policy
  • A policy is a function (like the model in supervised learning) that takes the feature vector of a state as input and outputs an optimal action to execute in that state Machine Learning Dr. Berke Gür 3/9/ 15

Reinforcement Learning

  • The action is optimal if it maximizes the expected average reward
  • Reinforcement learning solves a particular kind of problem where decision making is sequential, and the goal is long-term, such as - Game playing - Robotics - Resource management - Logistics, etc.
  • Emphasis is on one-shot decision making where input examples are independent of one another and the predictions made in the past Machine Learning Dr. Berke Gür 3/9/ 16 15

10

Steps for Machine Learning

  1. Convert output data (are still in the form of human-readable labels) into numbers
  • Ex: Some algorithms require numbers like 0 (representing «not spam») & 1 (representing «spam»)
  1. Choose a learning algorithm
  • At this point, the dataset is ready & a learning algorithm is decided
  • So you are ready to apply the learning algorithm to the dataset to get the model
  1. Build or train a model by solving the constrained optimization problem using a cost function Machine Learning Dr. Berke Gür 3/9/ 19

Machine Learning Basics

  • In practice, there are 2 other essential differentiators of learning algorithms to consider: - Speed of model building - Prediction processing time
  • In many practical cases quickly building a less accurate model is preferred
  • A less accurate model that is much quicker at making predictions is also preferred Machine Learning Dr. Berke Gür 3/9/ 20 19

11

Machine Learning Algorithms

Machine Learning Dr. Berke Gür 3/9/ 21

References

  • [Rus10] S. Russell & P. Norvig (2010) «Atirificial Intelligence: A Modern Approach» 3rd edt., Pearson, ISBN: 978-013604259-
  • [Bur19] A. Burkov (2019) «The Hundred-Page Machine Learning Book» ISBN: 978- Machine Learning Dr. Berke Gür 3/9/ 22 21