AI-Introduction-4

Lucas-TY

AI|Jan 30, 2024|Last edited: Feb 1, 2024|
type
status
date
slug
summary
tags
category
icon
password

Linear Functions

Data could be 'junk'

  • "x, y may not be relevant"
  • you might know intuitively
  • data is correlated
    • there is a pattern
  • imbalanced data

affine functions

  • Feature transform:
  • Problem with feature transform: it's hard to get the patten if we don't know the actual function

Linear regression

  • We have
  • Idea: guess see how close \hat{y} match
  • Define "loss" function:

Linear function & Loss function

Linear

    • a function is linear if

Loss function

  • function that measures model fit
  • e.g., distance f(n) between model prediction and the label