This repository contains solutions to mini-challenges tackled by Haripriya Narahari and me. Feel free to explore this repository for more!
- Gradient descent algorithm for univariate linear regression in 🦀 Rust.
Results:
Epochs | 100 |
Learning Rate | 0.01 |
Slope | 2.3926219545315206 |
Intercept | 0.1631483783935123 |
Mean Squared Error | 5.62517755980796 |
Data:
X | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
---|---|---|---|---|---|---|---|---|---|---|---|---|
Y | 3 | 5 | 7 | 9 | 13 | 13 | 17 | 19 | 21 | 25 | 27 | 29 |