This project is an educational tool designed to help understand gradient descent in 2D space. It provides a visual representation of the gradient descent algorithm, allowing users to interact with and observe the process in real-time.
- Interactive 2D visualization of gradient descent
- Adjustable learning rate
- Random initialization of target value
- Continuous learning mode
To build the project, you need to have the following dependencies installed:
- GCC compiler
- Raylib library
- pkg-config
Once you have the dependencies, follow these steps:
- Clone the repository.
- Navigate to the project directory.
- Run the following command:
make
./build/main
Note that you can change the input function in the src/main.c
file. It's currently called fx
.
Mohammed Alhaddar
This project is licensed under the MIT License.