Skip to main content

entrenar/optim/convergence_tests/
mod.rs

1//! Property-based convergence tests for optimizers
2//!
3//! These tests validate optimizer correctness using:
4//! - Quadratic convergence (convex, optimal solution at origin)
5//! - Rosenbrock function (non-convex, tests valley navigation)
6//! - Ill-conditioned problems (tests numerical stability)
7//! - High-dimensional problems (tests scalability)
8//! - Numerical edge cases (very small/large gradients)
9//!
10//! Tests are organized by optimizer type:
11//! - `sgd_tests` - SGD optimizer tests
12//! - `adam_tests` - Adam optimizer tests
13//! - `adamw_tests` - AdamW optimizer tests
14//! - `integration_tests` - Cross-optimizer comparisons
15
16mod helpers;
17
18mod adam_tests;
19mod adamw_tests;
20mod integration_tests;
21mod sgd_tests;