Skip to content

Explore Linear Regression with Gradient Descent, Stochastic Gradient Descent, and Ridge Regression. Uncover algorithmic insights in data modeling. πŸ“ŠπŸŽΆπŸš€

Notifications You must be signed in to change notification settings

snigdhab7/RegressionAlchemy

Repository files navigation

Regression Algorithms Exploration πŸ“ŠπŸš€

Welcome to the Regression Algorithms Exploration repository! 🌐 This journey takes you through the practical aspects of Linear Regression using Gradient Descent, Stochastic Gradient Descent, and the robust Ridge Regression.

Dataset Overview πŸ“ˆ

The Dataset2.csv harbors 10,000 data points in the format (R^100, R). Each row represents the dynamic interplay between features and their associated y values.

Linear Regression: The Grand Descent 🏹

Experience the power of gradient descent in solving least squares problems. The plot will demonstrate the evolution of kwt - wMLk2 over time.

Stochastic Symphony: Linear Regression Edition 🎢

This script orchestrates stochastic gradient descent, creating a rhythmic dance in the plot of kwt - wMLk2.

Ridge Regression: The Artisan's Touch 🎨

Explore the implementation of the gradient descent algorithm for ridge regression. Cross-validation becomes an art, visually depicted in the images below.

image1
image2


Implementation Guide πŸ› οΈ

  1. Clone the Repository:
    git clone https://github.com/snigdhab7/Regression-Algorithms-Exploration.git
    cd Regression-Algorithms-Exploration

Running the Scripts πŸš€

To explore the world of regression algorithms, run the following scripts and witness the magic unfold!

Linear Regression with Gradient Descent

python LinearRegressionGradientDescent.py

Stochastic Symphony: Linear Regression Edition 🎢

python StochasticGradientDescentLinearRegression.py

Ridge Regression Artistry 🎨

python RidgeRegressionImplementation.py

Dataset πŸ“ˆ

Make sure to replace <Link to the Dataset2.csv> with the actual link to your dataset.

Additional Information ℹ️

Explore the code, visualize the results, and join the journey of decoding the mysteries within the realm of regression. Let's uncover patterns and insights together!

If you encounter any issues, have suggestions, or want to share your results, feel free to open an issue or pull request. Happy exploring! 🌟


Feel free to use or modify it according to your needs!

About

Explore Linear Regression with Gradient Descent, Stochastic Gradient Descent, and Ridge Regression. Uncover algorithmic insights in data modeling. πŸ“ŠπŸŽΆπŸš€

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages