00 - Intro to ML - lec. 1
ucla | CS M146 | 2023-04-03T14:42
Table of Contents
Definitions
Big Ideas
Types of Learning
Supervised
- used for prediction
- given a labeled training set → learn a pattern/mapping for test set
- Regression → labels are continuous
- Classification → labels are discrete
- uses features/attributes to train on: tumor size, age, etc.
Unsupervised
- for detecting patterns
- given unlabeled data → find patterns (intrinsic structure)
Reinforcement
- used to interact in an environment
- not input data, just the environment → trial-and-error
- usually given a utility function (goal) → rewards the model for correct interactions
Machine Learning Goal
Given:
- a training dataset consists of
labelled training instances for each has - input features/attributes:
where for features - labels
where or f we know limits (e.g. price >0)
Output:
- hypothesis function:
from a hypothesis class (a family of functions e.g. for linear regression all linear functions) s.t.
Steps for learning
- Represent (find) hypothesis class
- Define a loss (function)
- Optimize for the best
s.t.
Resources
📌
**SUMMARY
**