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:
π© 2. Maximum A Posteriori (MAP)
- Uses prior knowledge + data
π Idea:
-
Combines:
- Likelihood
- Prior probability
πΉ Example (Simple)
π Linear Regression
Model:
π Parameter estimation finds:
- Best (slope)
- Best (intercept)
So that prediction error is minimized.
πΉLoss Function
Parameter estimation is done by minimizing a loss function.
Example:
- Mean Squared Error (MSE):
π 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
Post a Comment