Overfitting and Underfitting in Machine Learning Gradient Descent in Machine Learning


Download 320.8 Kb.
bet5/14
Sana24.04.2023
Hajmi320.8 Kb.
#1393711
1   2   3   4   5   6   7   8   9   ...   14
Bog'liq
Independent study topics

Cross-Validation

  • Training with more data

  • Removing features

  • Early stopping the training

  • Regularization

  • Ensembling

    Underfitting


    occurs when our machine learning model is not able to capture the underlying trend of the data. To avoid the overfitting in the model, the fed of training data can be stopped at an early stage, due to which the model may not learn enough from the training data. As a result, it may fail to find the best fit of the dominant trend in the data.
    In the case of underfitting, the model is not able to learn enough from the training data, and hence it reduces the accuracy and produces unreliable predictions.
    An underfitted model has high bias and low variance.
    Example: We can understand the underfitting using below output of the linear regression model:

    As we can see from the above diagram, the model is unable to capture the data points present in the plot.

    How to avoid underfitting:


    • By increasing the training time of the model.

    • By increasing the number of features.

    Gradient Descent in Machine Learning
    Gradient Descent is known as one of the most commonly used optimization algorithms to train machine learning models by means of minimizing errors between actual and expected results. Further, gradient descent is also used to train Neural Networks.
    In mathematical terminology, Optimization algorithm refers to the task of minimizing/maximizing an objective function f(x) parameterized by x. Similarly, in machine learning, optimization is the task of minimizing the cost function parameterized by the model's parameters. The main objective of gradient descent is to minimize the convex function using iteration of parameter updates. Once these machine learning models are optimized, these models can be used as powerful tools for Artificial Intelligence and various computer science applications.
    In this tutorial on Gradient Descent in Machine Learning, we will learn in detail about gradient descent, the role of cost functions specifically as a barometer within Machine Learning, types of gradient descents, learning rates, etc.

    Download 320.8 Kb.

    Do'stlaringiz bilan baham:
  • 1   2   3   4   5   6   7   8   9   ...   14




    Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
    ma'muriyatiga murojaat qiling