Parameter Estimation in Machine Learning

 

Parameter Estimation in Machine Learning

πŸ”Ή Definition

Parameter Estimation is the process of determining the optimal values of model parameters so that the model best fits the given data.

πŸ‘‰ In simple terms:
It is how a machine learning model learns from data.


πŸ”ΉWhat are Parameters?

Parameters are internal variables of a model that are learned during training.

πŸ“Œ Examples:

  • Linear Regression → weights (w), bias (b)
  • Neural Networks → weights and biases
  • Gaussian models → mean (ΞΌ), variance (Οƒ²)

πŸ”Ή Objective of Parameter Estimation

πŸ‘‰ Find parameter values that:

  • Minimize prediction error
  • Maximize model accuracy

πŸ”ΉCommon Methods

🟦 1. Maximum Likelihood Estimation (MLE)

  • Chooses parameters that maximize the likelihood of observed data

πŸ‘‰ Idea:

Choose ΞΈ such that P(DataΞΈ) is maximum\text{Choose } \theta \text{ such that } P(Data \mid \theta) \text{ is maximum}

🟩 2. Maximum A Posteriori (MAP)

  • Uses prior knowledge + data

πŸ‘‰ Idea:

P(ΞΈData)P(\theta \mid Data)
  • Combines:
    • Likelihood
    • Prior probability

πŸ”Ή Example (Simple)

πŸ“Œ Linear Regression

Model:

y=wx+by = wx + b

πŸ‘‰ Parameter estimation finds:

  • Best ww (slope)
  • Best bb (intercept)

So that prediction error is minimized.


πŸ”ΉLoss Function

Parameter estimation is done by minimizing a loss function.

Example:

  • Mean Squared Error (MSE):
Error=(yactualypredicted)2\text{Error} = (y_{actual} - y_{predicted})^2

πŸ‘‰ Goal:

  • Find parameters that minimize total error

πŸ”ΉOptimization Techniques

  • Gradient Descent
  • Stochastic Gradient Descent (SGD)

πŸ‘‰ Used to update parameters iteratively.


πŸ”Ή Types of Parameters

πŸ“Œ Model Parameters

  • Learned from data
  • Example: weights

πŸ“Œ Hyperparameters

  • Set before training
  • Example: learning rate

πŸ“ Summary 

  • Parameter estimation = finding best model parameters
  • Goal: minimize error / maximize likelihood
  • Methods:
    • MLE
    • MAP
  • Uses optimization techniques like gradient descent

Comments

Popular posts from this blog

Machine Learning PCCST503 Semester5 KTU CS 2024 Scheme - Dr Binu V P

Introduction to Machine Learning (ML)

Distinguishing Machine Learning from Traditional Programming