This repository contains Python implementations of various optimization algorithms, including Gradient Descent and Newton's Method, developed as part of the CS348: Applied Optimization course.
The course focuses on practical optimization techniques applicable in machine learning, data science, and engineering. This repository showcases implementations of foundational optimization methods, demonstrating their application and performance.
- Gradient Descent: An iterative method for finding the minimum of a function.
- Newton's Method: A root-finding algorithm that uses function values and derivatives.
To run the scripts:
-
Clone this repository:
git clone https://github.com/ehrg1/CS348-Applied-Optimization.git cd CS348-Applied-Optimization -
Install the required Python packages:
pip install -r requirements.txt
-
Execute the desired script:
python gradient&newton.py
Each script is designed to be run independently. For detailed instructions and examples, refer to the comments within the respective Python files.