👉Trouble viewing the content, videos, equations or code of this email? View it in your browser.
AIA-25b:NE&BGD Report and Task Instructions

Instructions for the Lab Session Report:

Normal Equation and Batch Gradient Descent Methods


Dear Student ,📚📝✨

 

This lab session is designed to deepen your understanding of linear models by requiring the development of a comprehensive technical report on the normal equation and batch gradient descent methods in linear multiparametric models. The report should provide a rigorous exploration of these approaches, highlighting their theoretical foundations, computational characteristics, and practical implications.

 


Theoretical overview

Normal Equation

The normal equation (NE) provides a closed-form solution for linear regression by directly computing the optimal model parameters. This approach is computationally efficient for small datasets but becomes impractical for large datasets due to the significant computational cost associated with matrix inversion.

Batch Gradient Descent and Its Variants

Gradient descent is an iterative optimization algorithm that adjusts model parameters to minimize the cost function (J). It is particularly well-suited for large datasets, as it updates parameters incrementally. The three primary variants of gradient descent are:

These methods necessitate careful selection of hyperparameters, particularly the learning rate, to ensure stable convergence and avoid a local minimum.

 


Objectives and Required Tasks

Students are expected to conduct independent research, implement the discussed methods, and submit a structured report detailing their findings and results. Thus, the report development must consider the following points (points marked ☑️ are student's tasks) :

1. Theoretical Background

2. Dataset Utilization 💾

3. Implementation of the Normal Equation

4. Implementation of Gradient Descent Methods

5. Visualization of Parameter Evolution (only for two-parameter model)

 

 

6. Conclusions ☑️


Submission Guidelines

1. Report Formatting and Naming Convention

2. Submission Deadlines 📅

3. Quality Assurance Before Submission


Recommendations for Effective Completion


 

Happy coding!

Gerardo Marx,

Lecturer of the Artificial Intelligence and Automation Course,

gerardo.cc@morelia.tecnm.mx