Tag: #LinearRegression

  • Custom SGD (Stochastic) Implementation for Linear Regression on Boston House Dataset

    Custom SGD (Stochastic) Implementation for Linear Regression on Boston House Dataset

    In this post, we’ll explore the implementation of Stochastic Gradient Descent (SGD) for Linear Regression on the Boston House dataset. We’ll compare our custom implementation with the SGD implementation provided by the popular machine learning library, scikit-learn. Importing Libraries Data Loading and Preprocessing We load the Boston House dataset, standardize the data, and split it…

  • Mastering Linear Models: Regression, Classification, and Beyond

    Mastering Linear Models: Regression, Classification, and Beyond

    Introduction: Linear models play a fundamental role in the field of machine learning, providing a versatile toolkit for both regression and classification tasks. In this comprehensive guide, we’ll delve into various aspects of linear models, exploring techniques for regression, classification, and addressing challenges such as outliers and non-linear relationships. Buckle up as we journey through…