A Python implementation of various optimization methods for multidimensional functions using Streamlit with filled and line contour plot of optimization process. It's available online at Optimization
Explore a selection of implemented methods, including:
- Gradient Descent with constant, exact line search and backtracing step size
- Scaled Gradient Descent with Diagonal Reversed Hessian and Custom Matrix
- Newton's Method
- Damped Newton's Method
- Hybrid Gradient-Newton Method
-
Clone the repository:
git clone https://github.com/mehdimhb/optimization.git
-
Change to the project directory:
cd optimization
-
Install the required dependencies:
pip install -r requirements.txt
-
Run the Streamlit app:
streamlit run app.py
The application should now be accessible in your web browser at http://localhost:8501
.
Contributions are always welcome! If you have any ideas or suggestions, please feel free to open an issue or a pull request.
This project is licensed under the MIT License. See the LICENSE file for more information