An open API service indexing awesome lists of open source software.

https://github.com/ricardorobledo/ml_optimization


https://github.com/ricardorobledo/ml_optimization

matplotlib numpy python scikit-learn xgboost

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

          

# Optimization for Machine Learning 📈

This repository contains my personal journey and hands-on implementations focused on **optimization in Machine Learning** — one of the fundamental skills for building efficient, accurate, and well-tuned models.

The concepts and structure are inspired by the book *Optimization for Machine Learning* available at [machinelearningmastery.com](https://machinelearningmastery.com/), which presents a clear and progressive path to mastering this essential area of ML.

---

## 🧠 What's included in this repository?

- From-scratch implementations of both local and global optimization algorithms.
- Practical applications of techniques such as:
- **Hill Climbing**
- **Simulated Annealing**
- **Genetic Algorithms**
- **Differential Evolution**
- **Gradient Descent and variants**: Momentum, RMSProp, AdaGrad, Adadelta, Adam
- Manual hyperparameter optimization for:
- **Perceptron**
- **XGBoost**
- **Simple Neural Networks**
- Function and optimization surface visualization.
- Feature selection using stochastic optimization techniques.
- Comparisons between methods applied to regression and classification tasks.

---

## 💡 Why is optimization important in Machine Learning?

Optimization is the engine behind model training: it helps us find the best parameters, improve generalization, and reduce error. It's critical for:

- Hyperparameter tuning
- Feature selection
- Training deep learning models
- Function analysis and sensitivity testing

---

## 🛠️ Tools & Libraries

- `scikit-learn`
- `xgboost`
- `matplotlib` for visualization
- `numpy` & `scipy`

---

## 🌐 Reference

Book: *Optimization for Machine Learning*
Website: [https://machinelearningmastery.com](https://machinelearningmastery.com)