Skip to content

chore: refactor all doc files - #96

Merged
gabrielfrasantos merged 15 commits into
mainfrom
feature/improve-docs
Mar 21, 2026
Merged

gabrielfrasantos merged 15 commits into
mainfrom
feature/improve-docs

Conversation

@gabrielfrasantos

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions

github-actions Bot commented Mar 20, 2026 •

Copy link
Copy Markdown
Contributor

✅⚠️MegaLinter analysis: Success with warnings

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ ACTION actionlint 6 0 0 0.06s
✅ CPP clang-format 157 1 0 0 0.75s
✅ CPP cppcheck 157 0 0 5.24s
✅ DOCKERFILE hadolint 1 0 0 0.07s
✅ JSON jsonlint 8 0 0 0.45s
✅ JSON prettier 8 8 0 0 0.54s
⚠️ MARKDOWN markdownlint 33 1 18 0 2.23s
✅ MARKDOWN markdown-table-formatter 33 3 0 0 0.27s
⚠️ SPELL lychee 118 18 0 1.72s
✅ YAML prettier 13 6 0 0 0.8s
✅ YAML yamllint 13 0 0 0.64s

Detailed Issues

⚠️ SPELL / lychee - 18 errors
[IGNORED] url.https://github.com/.insteadOf | Unsupported: Error creating request client: builder error for url (url.https://github.com/.insteadOf)
[ERROR] file://doc/filters/solvers/DiscreteAlgebraicRiccatiEquation.md | Cannot find file
[ERROR] file://doc/filters/controllers/Pid.md | Cannot find file
[ERROR] file://doc/filters/controllers/Lqr.md | Cannot find file
[ERROR] https://gitlab-ci-token/ | Network error: error sending request for url (https://gitlab-ci-token/) Maybe a certificate error?
[403] https://gitlab.com/embedded-library/infrastructure/embedded-infra-lib.git | Network error: Forbidden
[403] https://developer.arm.com/documentation/100166/latest/ | Network error: Forbidden
[404] https://github.com/embedded-pro/embedded-numerical-toolbox/issues/7 | Network error: Not Found
[404] https://github.com/embedded-pro/embedded-numerical-toolbox/issues/1 | Network error: Not Found
[403] https://gitlab.com/embedded-library/infrastructure/hal-st.git | Network error: Forbidden
[404] https://github.com/embedded-pro/embedded-numerical-toolbox/issues/2 | Network error: Not Found
[403] https://developer.arm.com/documentation/dui0473/latest | Network error: Forbidden
[404] https://github.com/embedded-pro/embedded-numerical-toolbox/issues/3 | Network error: Not Found
[404] https://github.com/embedded-pro/embedded-numerical-toolbox/issues/6 | Network error: Not Found
[404] https://github.com/embedded-pro/embedded-numerical-toolbox/issues/26 | Network error: Not Found
[404] https://github.com/embedded-pro/embedded-numerical-toolbox/issues/27 | Network error: Not Found
[404] https://github.com/embedded-pro/embedded-numerical-toolbox/issues/15 | Network error: Not Found
[404] https://github.com/embedded-pro/embedded-numerical-toolbox/issues/4 | Network error: Not Found
[403] https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$ | Network error: Forbidden
📝 Summary
---------------------
🔍 Total..........164
✅ Successful.....137
⏳ Timeouts.........0
🔀 Redirected.......0
👻 Excluded.........8
❓ Unknown..........0
🚫 Errors..........18

Errors in .gitlab-ci.yml
[403] https://gitlab.com/embedded-library/infrastructure/embedded-infra-lib.git | Network error: Forbidden
[ERROR] https://gitlab-ci-token/ | Network error: error sending request for url (https://gitlab-ci-token/) Maybe a certificate error?
[403] https://gitlab.com/embedded-library/infrastructure/hal-st.git | Network error: Forbidden

Errors in .github/workflows/static-analysis.yml
[403] https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$ | Network error: Forbidden

Errors in doc/performance-optimization/README.md
[403] https://developer.arm.com/documentation/dui0473/latest | Network error: Forbidden
[403] https://developer.arm.com/documentation/100166/latest/ | Network error: Forbidden

Errors in doc/filters/active/KalmanFilter.md
[ERROR] file://doc/filters/controllers/Lqr.md | Cannot find file
[ERROR] file://doc/filters/controllers/Pid.md | Cannot find file
[ERROR] file://doc/filters/solvers/DiscreteAlgebraicRiccatiEquation.md | Cannot find file

Errors in CHANGELOG.md
[404] https://github.com/embedded-pro/embedded-numerical-toolbox/issues/4 | Network error: Not Found
[404] https://github.com/embedded-pro/embedded-numerical-toolbox/issues/3 | Network error: Not Found
[404] https://github.com/embedded-pro/embedded-numerical-toolbox/issues/6 | Network error: Not Found
[404] https://github.com/embedded-pro/embedded-numerical-toolbox/issues/2 | Network error: Not Found
[404] https://github.com/embedded-pro/embedded-numerical-toolbox/issues/26 | Network error: Not Found
[404] https://github.com/embedded-pro/embedded-numerical-toolbox/issues/15 | Network error: Not Found
[404] https://github.com/embedded-pro/embedded-numerical-toolbox/issues/27 | Network error: Not Found
[404] https://github.com/embedded-pro/embedded-numerical-toolbox/issues/7 | Network error: Not Found
[404] https://github.com/embedded-pro/embedded-numerical-toolbox/issues/1 | Network error: Not Found
⚠️ MARKDOWN / markdownlint - 18 errors
doc/analysis/PowerDensitySpectrum.md:5:401 error MD013/line-length Line length [Expected: 400; Actual: 509]
doc/analysis/PowerDensitySpectrum.md:104:20 error MD056/table-column-count Table column count [Expected: 2; Actual: 6; Too many cells, extra data will be missing]
doc/analysis/PowerDensitySpectrum.md:104:17 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
doc/analysis/PowerDensitySpectrum.md:104:20 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
doc/analysis/PowerDensitySpectrum.md:104:32 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
doc/analysis/PowerDensitySpectrum.md:104:38 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
doc/analysis/PowerDensitySpectrum.md:104:45 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
doc/analysis/PowerDensitySpectrum.md:104:135 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
doc/analysis/RootLocus.md:69 error MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
doc/analysis/RootLocus.md:113:13 error MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]
doc/analysis/RootLocus.md:113:27 error MD060/table-column-style Table column style [Table pipe is missing space to the left for style "compact"]
doc/analysis/RootLocus.md:113:1 error MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]
doc/analysis/RootLocus.md:113:13 error MD060/table-column-style Table column style [Table pipe is missing space to the right for style "compact"]
doc/neural_network/regularization/Regularization.md:100:32 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
doc/neural_network/regularization/Regularization.md:100:135 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
doc/windowing/window.md:5:401 error MD013/line-length Line length [Expected: 400; Actual: 415]
README.md:1 error MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "[![Quality Gate Status](https:..."]
README.md:9:401 error MD013/line-length Line length [Expected: 400; Actual: 442]

See detailed reports in MegaLinter artifacts

Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining FLAVOR_SUGGESTIONS: false)

  • Documentation: Custom Flavors
  • Command: npx mega-linter-runner@9.4.0 --custom-flavor-setup --custom-flavor-linters ACTION_ACTIONLINT,CPP_CPPCHECK,CPP_CLANG_FORMAT,DOCKERFILE_HADOLINT,JSON_JSONLINT,JSON_PRETTIER,MARKDOWN_MARKDOWNLINT,MARKDOWN_MARKDOWN_TABLE_FORMATTER,SPELL_LYCHEE,YAML_PRETTIER,YAML_YAMLLINT

MegaLinter is graciously provided by OX Security
Show us your support by starring ⭐ the repository

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit

MegaLinter

[MegaLinter] reported by reviewdog 🐶

| Phase | Time | Space | Notes |
|-------|------|-------|-------|


[MegaLinter] reported by reviewdog 🐶

| $\mathbf{X}^T\mathbf{y}$ | $O(np)$ | $O(p)$ | Matrix-vector multiply |
| Solve | $O(p^3)$ | $O(p^2)$ | Gaussian elimination |
| Predict | $O(p)$ | $O(1)$ | Dot product |


[MegaLinter] reported by reviewdog 🐶

| 1 | 2 |
| 2 | 4 |
| 3 | 5 |


[MegaLinter] reported by reviewdog 🐶

| Variant | Key Difference |
|---------|---------------|
| **Ridge regression (L2)** | Adds $\lambda\|\boldsymbol{\beta}\|^2$ to the cost; solves $(\mathbf{X}^T\mathbf{X} + \lambda I)\boldsymbol{\beta} = \mathbf{X}^T\mathbf{y}$ |
| **Lasso regression (L1)** | Adds $\lambda\|\boldsymbol{\beta}\|_1$; promotes sparsity but requires iterative optimization |
| **Polynomial regression** | Adds powers of $x$ as new features; still linear in parameters |
| **Weighted least squares** | Weights each sample differently; solves $(\mathbf{X}^T W \mathbf{X})\boldsymbol{\beta} = \mathbf{X}^T W \mathbf{y}$ |
| **Recursive least squares** | Updates $\boldsymbol{\beta}$ incrementally as new data arrives; suited for online estimation |


[MegaLinter] reported by reviewdog 🐶

| Algorithm | Relationship |
|-----------|-------------|
| [Gaussian Elimination](../solvers/GaussianElimination.md) | Used to solve the normal equation system |
| [Yule-Walker](YuleWalker.md) | Structurally similar — also solves a linear system derived from correlations |
| [Neural Network](../neural_network/NeuralNetwork.md) | A single-layer neural network with no activation and MSE loss reduces to linear regression |


[MegaLinter] reported by reviewdog 🐶

| Algorithm | Description |
|-----------|-------------|
| [Linear Regression](LinearRegression.md) | Ordinary least-squares regression using the normal equation |
| [Yule-Walker](YuleWalker.md) | Autoregressive model parameter estimation via the Yule-Walker equations |


[MegaLinter] reported by reviewdog 🐶

| Phase | Time | Space | Notes |
|-------|------|-------|-------|
| Autocovariance | $O(Np)$ | $O(p)$ | One pass per lag, $p+1$ lags |
| Build Toeplitz matrix | $O(p^2)$ | $O(p^2)$ | Fill from autocovariance vector |
| Solve (Levinson-Durbin) | $O(p^2)$ | $O(p)$ | Exploits Toeplitz structure |
| Solve (Gaussian elim.) | $O(p^3)$ | $O(p^2)$ | General-purpose fallback |
| Predict | $O(p)$ | $O(1)$ | Dot product with past samples |


[MegaLinter] reported by reviewdog 🐶

| Variant | Key Difference |
|---------|---------------|
| **Burg's method** | Estimates AR coefficients from forward + backward prediction errors; often more accurate for short records |
| **Covariance method** | Uses the unbiased autocovariance; does not guarantee stability |
| **ARMA models** | Extends AR to include moving-average terms; more flexible but requires iterative estimation |
| **Vector autoregression (VAR)** | Multivariate extension for jointly modeling multiple time series |
| **Recursive estimation** | Updates AR coefficients online as new data arrives |


[MegaLinter] reported by reviewdog 🐶

| Algorithm | Relationship |
|-----------|-------------|
| [Levinson-Durbin](../solvers/LevinsonDurbin.md) | Efficient $O(p^2)$ solver exploiting the Toeplitz structure of the Yule-Walker matrix |
| [Gaussian Elimination](../solvers/GaussianElimination.md) | General-purpose $O(p^3)$ solver used as a fallback |
| [Power Spectral Density](../analysis/PowerDensitySpectrum.md) | Non-parametric alternative; the AR model provides a parametric PSD estimate |
| [Linear Regression](LinearRegression.md) | Structurally similar — both solve a linear system derived from data correlations |


[MegaLinter] reported by reviewdog 🐶

| Algorithm | Description |
|-----------|-------------|


[MegaLinter] reported by reviewdog 🐶

| Operation | Time | Space | Notes |
|-----------|------|-------|-------|
| Predict | $O(n^2)$ | $O(n^2)$ | Matrix multiply $F P F^T$ |
| Update | $O(n^2 m + m^3)$ | $O(nm)$ | Dominated by $S^{-1}$ ($m \times m$ inversion) and gain computation |
| Total per step | $O(n^2 m + m^3)$ | $O(n^2 + nm)$ | For $m \ll n$, approximately $O(n^2)$ |


[MegaLinter] reported by reviewdog 🐶

| Variant | Key Difference |
|---------|---------------|
| **Extended Kalman Filter (EKF)** | Linearizes nonlinear $f(x)$ and $h(x)$ around the current estimate |
| **Unscented Kalman Filter (UKF)** | Propagates sigma points through nonlinearities; avoids explicit Jacobians |
| **Square-root Kalman Filter** | Maintains $\sqrt{P}$ instead of $P$ for improved numerical stability |
| **Information Filter** | Works with the inverse covariance (information matrix); better for multi-sensor fusion |
| **Kalman Smoother** | Uses future measurements to refine past estimates (offline, non-causal) |
| **Adaptive Kalman Filter** | Estimates $Q$ and $R$ online from innovation statistics |


[MegaLinter] reported by reviewdog 🐶

| Algorithm | Relationship |
|-----------|-------------|
| [LQR Controller](../controllers/Lqr.md) | The Kalman filter + LQR = LQG (Linear Quadratic Gaussian), the separation principle |
| [DARE Solver](../solvers/DiscreteAlgebraicRiccatiEquation.md) | The steady-state Kalman gain can be found by solving a DARE (dual of the LQR DARE) |
| [PID Controller](../controllers/Pid.md) | Kalman-filtered measurements can serve as the PID's process variable input |


[MegaLinter] reported by reviewdog 🐶

| Loss | Formula | Use Case |
|------|---------|----------|
| MSE | $\frac{1}{m}\sum(\hat{y}_i - y_i)^2$ | Regression |
| BCE | $-\sum[y_i \log \hat{y}_i + (1-y_i)\log(1-\hat{y}_i)]$ | Binary classification |
| CCE | $-\sum y_i \log \hat{y}_i$ | Multi-class classification |


[MegaLinter] reported by reviewdog 🐶

| Phase | Time | Space |
|-------|------|-------|
| Forward pass | $O\!\left(\sum_{\ell=1}^L n_\ell \cdot n_{\ell-1}\right)$ | $O\!\left(\sum n_\ell\right)$ activations |
| Backward pass | Same as forward | Same + gradient storage |
| Parameter update | $O(P)$ | $O(P)$ optimizer state |


[MegaLinter] reported by reviewdog 🐶

| Step | Computation | Result |
|------|-------------|--------|
| Hidden pre-activation | $z_1 = W_1 x + b_1$ | $[0.3, -0.1]^T$ |
| Hidden activation | $a_1 = \text{ReLU}(z_1)$ | $[0.3, 0.0]^T$ |
| Output pre-activation | $z_2 = W_2 a_1 + b_2$ | $[0.15]$ |
| Output activation | $\hat{y} = \sigma(z_2)$ | $[0.537]$ |
| Loss | $\mathcal{L} = -(y\log\hat{y} + (1-y)\log(1-\hat{y}))$ | $0.621$ |


[MegaLinter] reported by reviewdog 🐶

| Step | Computation | Result |
|------|-------------|--------|
| Output gradient | $\delta_2 = \hat{y} - y$ | $[-0.463]$ |
| $\nabla W_2$ | $\delta_2 \cdot a_1^T$ | $[-0.139, 0]$ |
| Hidden gradient | $\delta_1 = W_2^T \delta_2 \odot \text{ReLU}'(z_1)$ | $[-0.231, 0]^T$ |
| $\nabla W_1$ | $\delta_1 \cdot x^T$ | $[[-0.231, 0], [0, 0]]$ |


[MegaLinter] reported by reviewdog 🐶

| Variant | Key Difference |
|---------|---------------|
| **Convolutional Neural Network (CNN)** | Layers share weights spatially; efficient for image/signal data |
| **Recurrent Neural Network (RNN)** | Layers share weights across time steps; models sequences |
| **Residual Network (ResNet)** | Skip connections mitigate vanishing gradients in very deep networks |
| **Transformer** | Attention-based; no recurrence; state-of-the-art for sequences |
| **Quantized Neural Network** | Weights and activations in low-bit integers; optimal for MCU deployment |


[MegaLinter] reported by reviewdog 🐶

| Component | Relationship |
|-----------|-------------|
| [Dense Layer](layer/Layer.md) | The fundamental building block; computes affine transformations |
| [Activation Functions](activation/Activation.md) | Introduce non-linearity after each layer |
| [Loss Functions](losses/Loss.md) | Define the training objective |
| [Optimizer](optimizer/Optimizer.md) | Drives parameter updates via gradient descent |
| [Regularization](regularization/Regularization.md) | Penalizes complexity to prevent overfitting |
| [Model](model/Model.md) | Composes layers into a trainable pipeline |
| [Linear Regression](../estimators/LinearRegression.md) | Special case: single layer, identity activation, MSE loss |


[MegaLinter] reported by reviewdog 🐶

| Component | Description |
|-----------|-------------|
| [Neural Network Overview](NeuralNetwork.md) | Architecture, training loop, and how the components fit together |
| [Layers](layer/Layer.md) | Dense (fully connected) layer with forward and backward pass |
| [Activation Functions](activation/Activation.md) | Non-linear element-wise transforms: ReLU, LeakyReLU, Sigmoid, Tanh, Softmax |
| [Loss Functions](losses/Loss.md) | Objective functions: MSE, MAE, Binary Cross-Entropy, Categorical Cross-Entropy |
| [Optimizers](optimizer/Optimizer.md) | Parameter update strategies: Gradient Descent |
| [Regularization](regularization/Regularization.md) | Complexity penalties: L1 (Lasso) and L2 (Ridge) |
| [Model](model/Model.md) | Variadic-template model composing layers, optimizer, and loss into a trainable pipeline |


[MegaLinter] reported by reviewdog 🐶

| Operation | Definition | Purpose |
|-----------|-----------|---------|
| **Forward** | $a = f(z)$ | Transform the pre-activation |
| **Backward** | $f'(z)$ | Provide the local derivative for back-propagation |


[MegaLinter] reported by reviewdog 🐶

| Activation | Forward (per element) | Backward (per element) | Notes |
|-----------|----------------------|----------------------|-------|
| ReLU | $O(1)$ — comparison | $O(1)$ — comparison | Fastest |
| Leaky ReLU | $O(1)$ — comparison + multiply | $O(1)$ | Negligible overhead vs ReLU |
| Sigmoid | $O(1)$ — exp + divide | $O(1)$ — reuse forward result | Requires `exp()` |
| Tanh | $O(1)$ — exp (twice) | $O(1)$ — reuse forward result | Requires `exp()` |
| Softmax | $O(k)$ — vector exp + sum | $O(k^2)$ — full Jacobian | Significantly more expensive |


[MegaLinter] reported by reviewdog 🐶

| Neuron | $z$ | $\text{ReLU}(z)$ |
|--------|------|-------------------|
| 1 | $-0.5$ | $0.0$ |
| 2 | $1.2$ | $1.2$ |
| 3 | $0.0$ | $0.0$ |


[MegaLinter] reported by reviewdog 🐶

| Neuron | $f'(z)$ | $\frac{\partial \mathcal{L}}{\partial z}$ |
|--------|---------|---------------------------|
| 1 | $0$ (dead) | $0.3 \times 0 = 0$ |
| 2 | $1$ | $-0.7 \times 1 = -0.7$ |
| 3 | $0$ (at boundary) | $0.1 \times 0 = 0$ |


[MegaLinter] reported by reviewdog 🐶

| Variant | Key Difference |
|---------|---------------|
| **PReLU (Parametric ReLU)** | $\alpha$ is a learnable parameter per channel |
| **ELU (Exponential LU)** | $\alpha(e^z - 1)$ for $z < 0$; smooth and zero-centered |
| **GELU (Gaussian Error LU)** | $z \cdot \Phi(z)$; used in Transformers |
| **Swish / SiLU** | $z \cdot \sigma(z)$; smooth, non-monotonic |
| **Hard Sigmoid / Hard Tanh** | Piece-wise linear approximations; no transcendentals |


[MegaLinter] reported by reviewdog 🐶

| Component | Relationship |
|-----------|-------------|
| [Dense Layer](../layer/Layer.md) | Applies the activation function after the affine transformation |


[MegaLinter] reported by reviewdog 🐶

| [Loss Functions](../losses/Loss.md) | The output activation must match the loss: Sigmoid + BCE, Softmax + CCE |


[MegaLinter] reported by reviewdog 🐶

| Operation | Time | Space |
|-----------|------|-------|
| Forward ($W a + b$) | $O(m \cdot n)$ | $O(m)$ output + $O(m)$ cached $z$ |
| Backward ($\delta$, $\nabla W$, $\nabla b$) | $O(m \cdot n)$ | $O(m \cdot n)$ weight gradient |
| Total parameters | — | $O(m \cdot n + m)$ |


[MegaLinter] reported by reviewdog 🐶

| Step | Computation | Result |
|------|-------------|--------|
| $z = W a_{\text{in}} + b$ | $[0.5 - 0.15 - 0.8 + 0.1,\; 0.1 + 0.35 + 0.2 - 0.1]$ | $[-0.35,\; 0.55]^T$ |
| $a_{\text{out}} = \text{ReLU}(z)$ | $[\max(0, -0.35),\; \max(0, 0.55)]$ | $[0.0,\; 0.55]^T$ |


[MegaLinter] reported by reviewdog 🐶

| Step | Computation | Result |
|------|-------------|--------|
| $\delta = \nabla a_{\text{out}} \odot \text{ReLU}'(z)$ | $[0.2 \cdot 0,\; -0.4 \cdot 1]$ | $[0,\; -0.4]^T$ |
| $\nabla W = \delta \, a_{\text{in}}^T$ | row 1: all zeros; row 2: $-0.4 \times [1, 0.5, -1]$ | $\begin{bmatrix}0 & 0 & 0\\-0.4 & -0.2 & 0.4\end{bmatrix}$ |
| $\nabla b = \delta$ | — | $[0,\; -0.4]^T$ |
| $\nabla a_{\text{in}} = W^T \delta$ | $W^T [0, -0.4]^T$ | $[-0.04,\; -0.28,\; 0.08]^T$ |


[MegaLinter] reported by reviewdog 🐶

| Variant | Key Difference |
|---------|---------------|
| **Convolutional layer** | Weight sharing across spatial positions; $O(k^2 \cdot c)$ parameters per filter instead of $O(n \cdot m)$ |
| **Recurrent layer** | Shares weights across time steps; adds a hidden state feedback connection |
| **Batch normalization layer** | Normalizes activations to zero mean and unit variance; accelerates training |
| **Dropout layer** | Randomly zeros activations during training; regularization effect |
| **Sparse layer** | Only a subset of connections exist; reduces parameter count and computation |


[MegaLinter] reported by reviewdog 🐶

| Component | Relationship |
|-----------|-------------|
| [Activation Functions](../activation/Activation.md) | Applied element-wise after the affine transformation |
| [Model](../model/Model.md) | Chains multiple dense layers into a network |
| [Optimizer](../optimizer/Optimizer.md) | Updates $W$ and $b$ using the computed gradients |


[MegaLinter] reported by reviewdog 🐶

| Loss | Forward | Backward | Notes |
|------|---------|----------|-------|
| MSE | $O(m)$ | $O(m)$ | Cheapest; no transcendentals |
| MAE | $O(m)$ | $O(m)$ | Requires `sign()` |
| BCE | $O(m)$ | $O(m)$ | Requires `log()` |
| CCE | $O(k)$ | $O(k)$ | Requires `log()` |


[MegaLinter] reported by reviewdog 🐶

|-----|--------|-------------|----------------------------------------------|
| 1 | 0 | 0.1 | $0$ |
| 2 | 1 | 0.7 | $-1.429$ |
| 3 | 0 | 0.2 | $0$ |


[MegaLinter] reported by reviewdog 🐶

| Variant | Key Difference |
|---------|---------------|
| **Huber loss** | Quadratic for small errors, linear for large; robust regression |
| **Focal loss** | Down-weights well-classified examples; addresses class imbalance |
| **KL divergence** | Measures distance between two distributions; used in variational inference |
| **Hinge loss** | Margin-based; used in SVMs and some neural classifiers |
| **Contrastive loss** | Learns similarity metrics; used in Siamese networks |


[MegaLinter] reported by reviewdog 🐶

| Component | Relationship |
|-----------|-------------|
| [Activation Functions](../activation/Activation.md) | Output activation must match: Sigmoid ↔ BCE, Softmax ↔ CCE, identity ↔ MSE |
| [Optimizer](../optimizer/Optimizer.md) | Uses $\nabla \mathcal{L}$ to update parameters |
| [Regularization](../regularization/Regularization.md) | Adds a penalty term to the loss: $\mathcal{L}_{\text{total}} = \mathcal{L} + \lambda \Omega(\theta)$ |
| [Linear Regression](../../estimators/LinearRegression.md) | Solved analytically when the loss is MSE and the model is linear |


[MegaLinter] reported by reviewdog 🐶

| Operation | Time | Space |
|-----------|------|-------|
| Forward pass | $O(P)$ | $O(\sum n_\ell)$ cached activations |
| Backward pass | $O(P)$ | $O(P)$ gradients |
| `GetParameters()` | $O(P)$ | $O(P)$ flat vector |
| `SetParameters()` | $O(P)$ | — |


[MegaLinter] reported by reviewdog 🐶

| Check | Condition | Status |
|-------|-----------|--------|
| Layer 1 input size = Model input size | $2 = 2$ | ✓ |
| Layer 1 output size = Layer 2 input size | $3 = 3$ | ✓ |
| Layer 2 output size = Model output size | $1 = 1$ | ✓ |
| All types derive from `Layer` | type trait check | ✓ |


[MegaLinter] reported by reviewdog 🐶

| Index | Parameter |
|-------|-----------|
| 0–5 | $W_1$ (3×2 = 6 elements) |
| 6–8 | $b_1$ (3 elements) |
| 9–11 | $W_2$ (1×3 = 3 elements) |
| 12 | $b_2$ (1 element) |


[MegaLinter] reported by reviewdog 🐶

| Variant | Key Difference |
|---------|---------------|


[MegaLinter] reported by reviewdog 🐶

| **Functional API** | Supports branching and merging (DAG topology instead of linear chain) |
| **Residual model** | Adds skip connections: $a_{\ell+2} = f_{\ell+1}(a_\ell) + a_\ell$ |
| **Recurrent model** | Unrolls the same layer across time steps |


[MegaLinter] reported by reviewdog 🐶

| Component | Relationship |
|-----------|-------------|
| [Dense Layer](../layer/Layer.md) | The Model is a sequence of layers stored in a `std::tuple` |
| [Loss Functions](../losses/Loss.md) | Measures prediction error; the Model delegates loss computation to a Loss object |
| [Optimizer](../optimizer/Optimizer.md) | Receives the flat parameter/gradient vectors from the Model and returns updated parameters |
| [Regularization](../regularization/Regularization.md) | Added to the loss before optimization |


[MegaLinter] reported by reviewdog 🐶

| $\eta$ | Behavior |
|--------|----------|
| Too small ($\eta \ll 1/L$) | Slow convergence, many iterations wasted |
| Optimal ($\eta \approx 1/L$) | Fastest reliable convergence |
| Too large ($\eta > 2/L$) | Oscillation and divergence |


[MegaLinter] reported by reviewdog 🐶

| Operation | Time | Space |
|-----------|------|-------|
| One gradient evaluation | $O(P)$ per parameter | $O(P)$ gradient vector |
| One parameter update | $O(P)$ | In-place |
| Total training (T iterations) | $O(T \cdot P)$ | $O(P)$ working memory |


[MegaLinter] reported by reviewdog 🐶

| Step | Computation | Result |
|------|-------------|--------|
| Gradient | $\nabla \mathcal{L} = [2\theta_1, 2\theta_2]$ | $[4.0, -2.0]$ |
| Update | $\theta_1 = \theta_0 - 0.1 \cdot \nabla\mathcal{L}$ | $[1.6, -0.8]$ |
| Loss | $\mathcal{L}(\theta_1) = 1.6^2 + 0.8^2$ | $3.20$ |


[MegaLinter] reported by reviewdog 🐶

| Step | Computation | Result |
|------|-------------|--------|
| Gradient | $[3.2, -1.6]$ | |
| Update | $[1.28, -0.64]$ | |
| Loss | $2.048$ | |


[MegaLinter] reported by reviewdog 🐶

| Variant | Key Difference |
|---------|---------------|
| **SGD (Stochastic Gradient Descent)** | Uses a random mini-batch per iteration; noise helps escape local minima |
| **SGD with Momentum** | Accumulates a velocity: $v_{t+1} = \mu v_t - \eta \nabla\mathcal{L}$; smooths out oscillations |
| **Nesterov Momentum** | Evaluates gradient at the *lookahead* position $\theta + \mu v$; faster convergence |
| **AdaGrad** | Per-parameter adaptive learning rate based on accumulated squared gradients |
| **RMSProp** | Exponentially decaying average of squared gradients; handles non-stationary objectives |
| **Adam** | Combines momentum and RMSProp with bias correction; most popular adaptive method |


[MegaLinter] reported by reviewdog 🐶

| Component | Relationship |
|-----------|-------------|
| [Loss Functions](../losses/Loss.md) | Provides the `Cost()` and `Gradient()` the optimizer calls each iteration |
| [Model](../model/Model.md) | Passes initial parameters to the optimizer and receives optimized parameters back |
| [Regularization](../regularization/Regularization.md) | Adds a penalty gradient to $\nabla\mathcal{L}$, biasing the optimizer toward simpler models |


[MegaLinter] reported by reviewdog 🐶

| Property | L1 | L2 |
|----------|-----------|-----------|
| Penalty shape | Diamond (corners at axes) | Sphere |
| Sparsity | Promotes exact zeros | Shrinks toward zero but rarely reaches it |
| Gradient at $\theta_i = 0$ | Undefined (sub-gradient) | Zero |
| Best for | Feature selection, sparse models | General-purpose weight control |


[MegaLinter] reported by reviewdog 🐶

| Operation | Time | Space |
|-----------|------|-------|


[MegaLinter] reported by reviewdog 🐶

| $\nabla \Omega_{L2}$ | $O(P)$ | $O(P)$ |


[MegaLinter] reported by reviewdog 🐶

| $\nabla \Omega_{L1}$ | $O(P)$ | $O(P)$ |


[MegaLinter] reported by reviewdog 🐶

| Step | Computation | Result |
|------|-------------|--------|
| Penalty | $\frac{1}{2}(0.64 + 0.09 + 0.25) = 0.49$ | $\Omega_{L2} = 0.49$ |
| Gradient | $[0.8, -0.3, 0.5]$ | Added to $\nabla\mathcal{L}$ |
| Contribution to loss | $0.1 \times 0.49 = 0.049$ | |


[MegaLinter] reported by reviewdog 🐶

| Step | Computation | Result |
|------|-------------|--------|
| Penalty | $0.8 + 0.3 + 0.5 = 1.6$ | $\Omega_{L1} = 1.6$ |
| Gradient | $[1, -1, 1]$ | Added to $\nabla\mathcal{L}$ |
| Contribution to loss | $0.1 \times 1.6 = 0.16$ | |


[MegaLinter] reported by reviewdog 🐶

| Variant | Key Difference |
|---------|---------------|
| **Elastic Net** | $\Omega = \alpha \|\theta\|_1 + (1-\alpha)\|\theta\|_2^2$; combines L1 sparsity with L2 smoothness |
| **Dropout** | Randomly zeroes activations during training; implicit ensemble regularization |
| **Early stopping** | Halts training before overfitting; regularization without modifying the loss |
| **Data augmentation** | Expands the training set with transformed copies; reduces overfitting by increasing data diversity |
| **Spectral normalization** | Constrains the spectral norm of weight matrices; stabilizes GAN training |


[MegaLinter] reported by reviewdog 🐶

| Component | Relationship |
|-----------|-------------|
| [Loss Functions](../losses/Loss.md) | Regularization is a penalty *added to* the loss: $\mathcal{L}_{\text{total}} = \mathcal{L} + \lambda\Omega$ |
| [Optimizer](../optimizer/Optimizer.md) | Receives the combined gradient $\nabla\mathcal{L} + \lambda\nabla\Omega$ |
| [Linear Regression](../../estimators/LinearRegression.md) | L2-regularized MSE with a linear model is **Ridge regression**; L1 is **Lasso** |


[MegaLinter] reported by reviewdog 🐶

| Phase | Time | Space | Notes |
|-------|------|-------|-------|


[MegaLinter] reported by reviewdog 🐶

| Total solver | $O(I(n^3 + m^3))$ | $O(n^2)$ | $I$ iterations (typically 10–30) |


[MegaLinter] reported by reviewdog 🐶

| Variant | Key Difference |
|---------|---------------|
| **Continuous ARE (CARE)** | For continuous-time systems; different matrix equation |
| **Newton's method for DARE** | Quadratic convergence but requires solving a Sylvester equation per iteration |
| **Schur method** | Eigendecomposition-based; finds the solution in one pass but requires $O(n^3)$ eigenvalue computation |
| **Doubling algorithm** | $O(\log I)$ convergence via matrix sign function; useful for large systems |


[MegaLinter] reported by reviewdog 🐶

| Algorithm | Relationship |
|-----------|-------------|
| [Gaussian Elimination](GaussianElimination.md) | Used at each iteration to solve the $m \times m$ linear sub-system |
| [LQR Controller](../controllers/Lqr.md) | Direct consumer — extracts optimal gain $K$ from the DARE solution matrix $P$ |
| [Kalman Filter](../filters/active/KalmanFilter.md) | Dual problem — the steady-state Kalman gain is computed by a transposed DARE |


[MegaLinter] reported by reviewdog 🐶

| Case | Time | Space | Notes |
|------|------|-------|-------|
| Per iteration | $O(n^2)$ | $O(n)$ | Evaluating $P$ and the denominator product for all $n$ roots |
| Total | $O(n^2 k)$ | $O(n)$ | $k$ iterations until convergence (typically $k \ll n$) |


[MegaLinter] reported by reviewdog 🐶

| Variant | Key Difference |
|---------|---------------|
| **Aberth-Ehrlich method** | Similar simultaneous iteration but includes a correction term that improves convergence for clustered roots |
| **Jenkins-Traub** | Sequential algorithm (one root at a time) with superior convergence for difficult polynomials; standard in numerical libraries |
| **Companion matrix + eigenvalues** | Converts to an eigenvalue problem; robust but $O(n^3)$ |
| **Laguerre's method** | Converges cubically for simple roots; sequential (extracts one root at a time, then deflates) |
| **Muller's method** | Uses quadratic interpolation; works for non-polynomial equations too |


[MegaLinter] reported by reviewdog 🐶

| Algorithm | Relationship |
|-----------|-------------|
| [Root Locus](../analysis/RootLocus.md) | Primary consumer — calls Durand-Kerner to find characteristic polynomial roots at each gain step |


[MegaLinter] reported by reviewdog 🐶

| Phase | Time | Space | Notes |
|-------|------|-------|-------|
| Forward elimination | $O(n^3)$ | $O(n^2)$ | In-place on copies of $A$ and $b$ |
| Back-substitution | $O(n^2)$ | $O(n)$ | |
| Multi-column solve | $O(n^3 + n^2 m)$ | $O(n^2)$ | $m$ back-substitutions |


[MegaLinter] reported by reviewdog 🐶

| Variant | Key Difference |
|---------|---------------|
| **Full pivoting** | Pivots on both rows and columns; more stable but rarely needed in practice |
| **LU factorization** | Stores the $L$ and $U$ factors for reuse; solves multiple right-hand sides efficiently |
| **Cholesky factorization** | Specialized for symmetric positive-definite matrices; $O(n^3/6)$ instead of $O(n^3/3)$ |
| **Gauss-Jordan elimination** | Reduces to reduced row echelon form (identity matrix); used for matrix inversion |
| **Iterative refinement** | Solves once, then iteratively corrects the residual to improve accuracy |


[MegaLinter] reported by reviewdog 🐶

| Algorithm | Relationship |
|-----------|-------------|
| [Linear Regression](../estimators/LinearRegression.md) | Uses Gaussian elimination to solve the normal equation |
| [DARE Solver](DiscreteAlgebraicRiccatiEquation.md) | Calls Gaussian elimination at each Riccati iteration |
| [Levinson-Durbin](LevinsonDurbin.md) | Specialized $O(n^2)$ solver for Toeplitz systems; Gaussian elimination is the $O(n^3)$ fallback |


[MegaLinter] reported by reviewdog 🐶

| Case | Time | Space | Notes |
|------|------|-------|-------|
| All | $O(n^2)$ | $O(n)$ | Versus $O(n^3)$ for general solvers |


[MegaLinter] reported by reviewdog 🐶

| Variant | Key Difference |
|---------|---------------|
| **Split Levinson** | Replaces the two-vector recursion with a single vector; slightly more efficient |
| **Block Levinson** | Solves block-Toeplitz systems (matrix entries instead of scalars) |
| **Burg's method** | Computes reflection coefficients from data rather than autocovariances; often more accurate for short records |
| **Schur algorithm** | Computes reflection coefficients without forming the full solution; useful for VLSI implementations |
| **Superfast Toeplitz solvers** | $O(n \log^2 n)$ algorithms based on FFT and divide-and-conquer |


[MegaLinter] reported by reviewdog 🐶

| Algorithm | Relationship |
|-----------|-------------|
| [Yule-Walker](../estimators/YuleWalker.md) | Primary consumer — produces the Toeplitz system that Levinson-Durbin solves |
| [Gaussian Elimination](GaussianElimination.md) | General $O(n^3)$ alternative that ignores Toeplitz structure |


[MegaLinter] reported by reviewdog 🐶

| Algorithm | Description |
|-----------|-------------|
| [Gaussian Elimination](GaussianElimination.md) | Direct solver for dense linear systems using partial pivoting |
| [Levinson-Durbin](LevinsonDurbin.md) | Fast solver for Toeplitz linear systems exploiting structural symmetry |
| [Durand-Kerner](DurandKerner.md) | Simultaneous iterative root-finder for polynomials |
| [Discrete Algebraic Riccati Equation](DiscreteAlgebraicRiccatiEquation.md) | Iterative solver for the DARE arising in LQR and Kalman filter design |


[MegaLinter] reported by reviewdog 🐶

| Algorithm | Description |
|-----------|-------------|


[MegaLinter] reported by reviewdog 🐶

| Window | Definition | Main-Lobe Width | Peak Side Lobe |
|--------|-----------|-----------------|----------------|
| **Rectangular** | $w[n] = 1$ | $2/N$ | $-13$ dB |
| **Hamming** | $w[n] = 0.54 - 0.46\cos\!\left(\frac{2\pi n}{N-1}\right)$ | $4/N$ | $-43$ dB |
| **Hann** | $w[n] = 0.5\left(1 - \cos\!\left(\frac{2\pi n}{N-1}\right)\right)$ | $4/N$ | $-32$ dB |
| **Blackman** | $w[n] = 0.42 - 0.5\cos\!\left(\frac{2\pi n}{N-1}\right) + 0.08\cos\!\left(\frac{4\pi n}{N-1}\right)$ | $6/N$ | $-58$ dB |


[MegaLinter] reported by reviewdog 🐶

| Window | Processing Gain |
|--------|----------------|
| Rectangular | 1.00 |
| Hamming | 0.73 |
| Hann | 0.67 |
| Blackman | 0.57 |


[MegaLinter] reported by reviewdog 🐶

| Operation | Time | Space |
|-----------|------|-------|
| Generate $N$ window coefficients | $O(N)$ | $O(N)$ |
| Apply window (element-wise multiply) | $O(N)$ | $O(1)$ extra |
| Pre-computed lookup | $O(1)$ per sample | $O(N)$ |


[MegaLinter] reported by reviewdog 🐶

|-----|--------------------------------------|
| 0 | 0.000 |
| 1 | 0.188 |
| 2 | 0.611 |
| 3 | 0.950 |
| 4 | 0.950 |
| 5 | 0.611 |
| 6 | 0.188 |
| 7 | 0.000 |


[MegaLinter] reported by reviewdog 🐶

| Variant | Key Difference |
|---------|---------------|
| **Kaiser window** | Parameterized by $\beta$; allows continuous trade-off between main-lobe width and side-lobe level |
| **Flat-top window** | Near-zero amplitude error at the cost of very wide main lobe; used for calibration |
| **Gaussian window** | Smooth, no side-lobe discontinuities; parameterized by $\sigma$ |
| **Dolph–Chebyshev** | Equiripple side lobes at a prescribed level; optimal for a given main-lobe width |
| **DPSS (Slepian)** | Maximum energy concentration in a given bandwidth; used in multi-taper spectral estimation |


[MegaLinter] reported by reviewdog 🐶

| Algorithm | Relationship |
|-----------|-------------|
| [FFT](../analysis/FastFourierTransform.md) | Window is applied *before* the FFT to reduce spectral leakage |
| [Power Density Spectrum](../analysis/PowerDensitySpectrum.md) | Built-in windowing per segment in Welch's method |
| [DCT](../analysis/DiscreteCosineTransform.md) | DCT's implicit symmetry provides partial leakage suppression, but windowing still helps |

Comment thread doc/analysis/RootLocus.md Resolved

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refactors the project’s Markdown documentation to follow a consistent algorithm template, adds category index pages under doc/, and introduces CI automation to validate documentation structure on pull requests.

Changes:

  • Added a documentation template (doc/TEMPLATE.md) and a validation script + GitHub Action to enforce required sections across doc/**/*.md.
  • Rewrote existing algorithm docs (analysis/controllers/estimators/filters/solvers/windowing/neural_network) to match the new sectioned format.
  • Replaced the root README.md documentation links with a category table pointing to new doc/*/README.md index pages.

Reviewed changes

Copilot reviewed 32 out of 32 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
scripts/validate-docs.py New script to validate required H2 sections in doc/ markdown files.
doc/TEMPLATE.md New documentation template defining required sections/headings.
.github/workflows/validate-docs.yml New CI job to run doc validation on PRs touching doc/** or the script.
README.md Replaced old documentation list with a category table linking to doc/*/README.md pages.
doc/analysis/README.md New analysis category index linking to analysis algorithms.
doc/analysis/FastFourierTransform.md Rewritten FFT doc to follow the template.
doc/analysis/PowerDensitySpectrum.md Rewritten Welch PSD doc to follow the template.
doc/analysis/DiscreteCosineTransform.md Rewritten DCT doc to follow the template.
doc/analysis/RootLocus.md Rewritten root locus doc to follow the template and link to Durand–Kerner.
doc/controllers/README.md New controllers category index.
doc/controllers/Pid.md Rewritten PID doc to follow the template.
doc/controllers/Lqr.md Rewritten LQR doc to follow the template and link to DARE/Kalman/PID.
doc/estimators/README.md New estimators category index.
doc/estimators/LinearRegression.md Rewritten linear regression doc to follow the template.
doc/estimators/YuleWalker.md Rewritten Yule–Walker doc to follow the template and link to Toeplitz solvers.
doc/filters/README.md New filters category index.
doc/filters/active/KalmanFilter.md Rewritten Kalman filter doc to follow the template and connect to LQR/DARE/PID.
doc/solvers/README.md New solvers category index.
doc/solvers/GaussianElimination.md Expanded Gaussian elimination doc into the template format (with walkthrough).
doc/solvers/LevinsonDurbin.md Rewritten Levinson–Durbin doc to follow the template.
doc/solvers/DurandKerner.md Rewritten Durand–Kerner doc to follow the template.
doc/solvers/DiscreteAlgebraicRiccatiEquation.md Rewritten DARE doc to follow the template and connect to LQR/Kalman.
doc/windowing/README.md New windowing category index.
doc/windowing/window.md Rewritten window functions doc to follow the template and connect to FFT/PSD/DCT.
doc/neural_network/README.md New neural network category index.
doc/neural_network/activation/Activation.md Rewritten activation functions doc to follow the template.
doc/neural_network/layer/Layer.md Rewritten dense layer doc to follow the template.
doc/neural_network/model/Model.md Rewritten model composition doc to follow the template.
doc/neural_network/optimizer/Optimizer.md Rewritten optimizer doc to follow the template.
doc/neural_network/regularization/Regularization.md Rewritten regularization doc to follow the template.

Comment thread doc/windowing/window.md Resolved
Comment thread doc/neural_network/model/Model.md Resolved
Comment thread doc/solvers/GaussianElimination.md Resolved
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit

MegaLinter

[MegaLinter] reported by reviewdog 🐶

| Variant | Key Difference |
|---------|---------------|
| **Convolutional layer** | Weight sharing across spatial positions; $O(k^2 \cdot c)$ parameters per filter instead of $O(n \cdot m)$ |
| **Recurrent layer** | Shares weights across time steps; adds a hidden state feedback connection |
| **Batch normalization layer** | Normalizes activations to zero mean and unit variance; accelerates training |
| **Dropout layer** | Randomly zeros activations during training; regularization effect |
| **Sparse layer** | Only a subset of connections exist; reduces parameter count and computation |


[MegaLinter] reported by reviewdog 🐶

| Component | Relationship |
|-----------|-------------|
| [Activation Functions](../activation/Activation.md) | Applied element-wise after the affine transformation |
| [Model](../model/Model.md) | Chains multiple dense layers into a network |
| [Optimizer](../optimizer/Optimizer.md) | Updates $W$ and $b$ using the computed gradients |


[MegaLinter] reported by reviewdog 🐶

| Loss | Forward | Backward | Notes |
|------|---------|----------|-------|
| MSE | $O(m)$ | $O(m)$ | Cheapest; no transcendentals |
| MAE | $O(m)$ | $O(m)$ | Requires `sign()` |
| BCE | $O(m)$ | $O(m)$ | Requires `log()` |
| CCE | $O(k)$ | $O(k)$ | Requires `log()` |


[MegaLinter] reported by reviewdog 🐶

|-----|--------|-------------|----------------------------------------------|
| 1 | 0 | 0.1 | $0$ |
| 2 | 1 | 0.7 | $-1.429$ |
| 3 | 0 | 0.2 | $0$ |


[MegaLinter] reported by reviewdog 🐶

| Variant | Key Difference |
|---------|---------------|
| **Huber loss** | Quadratic for small errors, linear for large; robust regression |
| **Focal loss** | Down-weights well-classified examples; addresses class imbalance |
| **KL divergence** | Measures distance between two distributions; used in variational inference |
| **Hinge loss** | Margin-based; used in SVMs and some neural classifiers |
| **Contrastive loss** | Learns similarity metrics; used in Siamese networks |


[MegaLinter] reported by reviewdog 🐶

| Component | Relationship |
|-----------|-------------|
| [Activation Functions](../activation/Activation.md) | Output activation must match: Sigmoid ↔ BCE, Softmax ↔ CCE, identity ↔ MSE |
| [Optimizer](../optimizer/Optimizer.md) | Uses $\nabla \mathcal{L}$ to update parameters |
| [Regularization](../regularization/Regularization.md) | Adds a penalty term to the loss: $\mathcal{L}_{\text{total}} = \mathcal{L} + \lambda \Omega(\theta)$ |
| [Linear Regression](../../estimators/LinearRegression.md) | Solved analytically when the loss is MSE and the model is linear |


[MegaLinter] reported by reviewdog 🐶

| Operation | Time | Space |
|-----------|------|-------|
| Forward pass | $O(P)$ | $O(\sum n_\ell)$ cached activations |
| Backward pass | $O(P)$ | $O(P)$ gradients |
| `GetParameters()` | $O(P)$ | $O(P)$ flat vector |
| `SetParameters()` | $O(P)$ | — |


[MegaLinter] reported by reviewdog 🐶

| Check | Condition | Status |
|-------|-----------|--------|
| Layer 1 input size = Model input size | $2 = 2$ | ✓ |
| Layer 1 output size = Layer 2 input size | $3 = 3$ | ✓ |
| Layer 2 output size = Model output size | $1 = 1$ | ✓ |
| All types derive from `Layer` | type trait check | ✓ |


[MegaLinter] reported by reviewdog 🐶

| Index | Parameter |
|-------|-----------|
| 0–5 | $W_1$ (3×2 = 6 elements) |
| 6–8 | $b_1$ (3 elements) |
| 9–11 | $W_2$ (1×3 = 3 elements) |
| 12 | $b_2$ (1 element) |


[MegaLinter] reported by reviewdog 🐶

| Variant | Key Difference |
|---------|---------------|


[MegaLinter] reported by reviewdog 🐶

| **Functional API** | Supports branching and merging (DAG topology instead of linear chain) |
| **Residual model** | Adds skip connections: $a_{\ell+2} = f_{\ell+1}(a_\ell) + a_\ell$ |
| **Recurrent model** | Unrolls the same layer across time steps |


[MegaLinter] reported by reviewdog 🐶

| Component | Relationship |
|-----------|-------------|
| [Dense Layer](../layer/Layer.md) | The Model is a sequence of layers stored in a `std::tuple` |
| [Loss Functions](../losses/Loss.md) | Measures prediction error; the Model delegates loss computation to a Loss object |
| [Optimizer](../optimizer/Optimizer.md) | Receives the flat parameter/gradient vectors from the Model and returns updated parameters |
| [Regularization](../regularization/Regularization.md) | Added to the loss before optimization |


[MegaLinter] reported by reviewdog 🐶

| $\eta$ | Behavior |
|--------|----------|
| Too small ($\eta \ll 1/L$) | Slow convergence, many iterations wasted |
| Optimal ($\eta \approx 1/L$) | Fastest reliable convergence |
| Too large ($\eta > 2/L$) | Oscillation and divergence |


[MegaLinter] reported by reviewdog 🐶

| Operation | Time | Space |
|-----------|------|-------|
| One gradient evaluation | $O(P)$ per parameter | $O(P)$ gradient vector |
| One parameter update | $O(P)$ | In-place |
| Total training (T iterations) | $O(T \cdot P)$ | $O(P)$ working memory |


[MegaLinter] reported by reviewdog 🐶

| Step | Computation | Result |
|------|-------------|--------|
| Gradient | $\nabla \mathcal{L} = [2\theta_1, 2\theta_2]$ | $[4.0, -2.0]$ |
| Update | $\theta_1 = \theta_0 - 0.1 \cdot \nabla\mathcal{L}$ | $[1.6, -0.8]$ |
| Loss | $\mathcal{L}(\theta_1) = 1.6^2 + 0.8^2$ | $3.20$ |


[MegaLinter] reported by reviewdog 🐶

| Step | Computation | Result |
|------|-------------|--------|
| Gradient | $[3.2, -1.6]$ | |
| Update | $[1.28, -0.64]$ | |
| Loss | $2.048$ | |


[MegaLinter] reported by reviewdog 🐶

| Variant | Key Difference |
|---------|---------------|
| **SGD (Stochastic Gradient Descent)** | Uses a random mini-batch per iteration; noise helps escape local minima |
| **SGD with Momentum** | Accumulates a velocity: $v_{t+1} = \mu v_t - \eta \nabla\mathcal{L}$; smooths out oscillations |
| **Nesterov Momentum** | Evaluates gradient at the *lookahead* position $\theta + \mu v$; faster convergence |
| **AdaGrad** | Per-parameter adaptive learning rate based on accumulated squared gradients |
| **RMSProp** | Exponentially decaying average of squared gradients; handles non-stationary objectives |
| **Adam** | Combines momentum and RMSProp with bias correction; most popular adaptive method |


[MegaLinter] reported by reviewdog 🐶

| Component | Relationship |
|-----------|-------------|
| [Loss Functions](../losses/Loss.md) | Provides the `Cost()` and `Gradient()` the optimizer calls each iteration |
| [Model](../model/Model.md) | Passes initial parameters to the optimizer and receives optimized parameters back |
| [Regularization](../regularization/Regularization.md) | Adds a penalty gradient to $\nabla\mathcal{L}$, biasing the optimizer toward simpler models |


[MegaLinter] reported by reviewdog 🐶

| Property | L1 | L2 |
|----------|-----------|-----------|
| Penalty shape | Diamond (corners at axes) | Sphere |
| Sparsity | Promotes exact zeros | Shrinks toward zero but rarely reaches it |
| Gradient at $\theta_i = 0$ | Undefined (sub-gradient) | Zero |
| Best for | Feature selection, sparse models | General-purpose weight control |


[MegaLinter] reported by reviewdog 🐶

| Operation | Time | Space |
|-----------|------|-------|


[MegaLinter] reported by reviewdog 🐶

| $\nabla \Omega_{L2}$ | $O(P)$ | $O(P)$ |


[MegaLinter] reported by reviewdog 🐶

| $\nabla \Omega_{L1}$ | $O(P)$ | $O(P)$ |


[MegaLinter] reported by reviewdog 🐶

| Step | Computation | Result |
|------|-------------|--------|
| Penalty | $\frac{1}{2}(0.64 + 0.09 + 0.25) = 0.49$ | $\Omega_{L2} = 0.49$ |
| Gradient | $[0.8, -0.3, 0.5]$ | Added to $\nabla\mathcal{L}$ |
| Contribution to loss | $0.1 \times 0.49 = 0.049$ | |


[MegaLinter] reported by reviewdog 🐶

| Step | Computation | Result |
|------|-------------|--------|
| Penalty | $0.8 + 0.3 + 0.5 = 1.6$ | $\Omega_{L1} = 1.6$ |
| Gradient | $[1, -1, 1]$ | Added to $\nabla\mathcal{L}$ |
| Contribution to loss | $0.1 \times 1.6 = 0.16$ | |


[MegaLinter] reported by reviewdog 🐶

| Variant | Key Difference |
|---------|---------------|
| **Elastic Net** | $\Omega = \alpha \|\theta\|_1 + (1-\alpha)\|\theta\|_2^2$; combines L1 sparsity with L2 smoothness |
| **Dropout** | Randomly zeroes activations during training; implicit ensemble regularization |
| **Early stopping** | Halts training before overfitting; regularization without modifying the loss |
| **Data augmentation** | Expands the training set with transformed copies; reduces overfitting by increasing data diversity |
| **Spectral normalization** | Constrains the spectral norm of weight matrices; stabilizes GAN training |


[MegaLinter] reported by reviewdog 🐶

| Component | Relationship |
|-----------|-------------|
| [Loss Functions](../losses/Loss.md) | Regularization is a penalty *added to* the loss: $\mathcal{L}_{\text{total}} = \mathcal{L} + \lambda\Omega$ |
| [Optimizer](../optimizer/Optimizer.md) | Receives the combined gradient $\nabla\mathcal{L} + \lambda\nabla\Omega$ |
| [Linear Regression](../../estimators/LinearRegression.md) | L2-regularized MSE with a linear model is **Ridge regression**; L1 is **Lasso** |


[MegaLinter] reported by reviewdog 🐶

| Phase | Time | Space | Notes |
|-------|------|-------|-------|


[MegaLinter] reported by reviewdog 🐶

| Total solver | $O(I(n^3 + m^3))$ | $O(n^2)$ | $I$ iterations (typically 10–30) |


[MegaLinter] reported by reviewdog 🐶

| Variant | Key Difference |
|---------|---------------|
| **Continuous ARE (CARE)** | For continuous-time systems; different matrix equation |
| **Newton's method for DARE** | Quadratic convergence but requires solving a Sylvester equation per iteration |
| **Schur method** | Eigendecomposition-based; finds the solution in one pass but requires $O(n^3)$ eigenvalue computation |
| **Doubling algorithm** | $O(\log I)$ convergence via matrix sign function; useful for large systems |


[MegaLinter] reported by reviewdog 🐶

| Algorithm | Relationship |
|-----------|-------------|
| [Gaussian Elimination](GaussianElimination.md) | Used at each iteration to solve the $m \times m$ linear sub-system |
| [LQR Controller](../controllers/Lqr.md) | Direct consumer — extracts optimal gain $K$ from the DARE solution matrix $P$ |
| [Kalman Filter](../filters/active/KalmanFilter.md) | Dual problem — the steady-state Kalman gain is computed by a transposed DARE |


[MegaLinter] reported by reviewdog 🐶

| Case | Time | Space | Notes |
|------|------|-------|-------|
| Per iteration | $O(n^2)$ | $O(n)$ | Evaluating $P$ and the denominator product for all $n$ roots |
| Total | $O(n^2 k)$ | $O(n)$ | $k$ iterations until convergence (typically $k \ll n$) |


[MegaLinter] reported by reviewdog 🐶

| Variant | Key Difference |
|---------|---------------|
| **Aberth-Ehrlich method** | Similar simultaneous iteration but includes a correction term that improves convergence for clustered roots |
| **Jenkins-Traub** | Sequential algorithm (one root at a time) with superior convergence for difficult polynomials; standard in numerical libraries |
| **Companion matrix + eigenvalues** | Converts to an eigenvalue problem; robust but $O(n^3)$ |
| **Laguerre's method** | Converges cubically for simple roots; sequential (extracts one root at a time, then deflates) |
| **Muller's method** | Uses quadratic interpolation; works for non-polynomial equations too |


[MegaLinter] reported by reviewdog 🐶

| Algorithm | Relationship |
|-----------|-------------|
| [Root Locus](../analysis/RootLocus.md) | Primary consumer — calls Durand-Kerner to find characteristic polynomial roots at each gain step |


[MegaLinter] reported by reviewdog 🐶

| Phase | Time | Space | Notes |
|-------|------|-------|-------|
| Forward elimination | $O(n^3)$ | $O(n^2)$ | In-place on copies of $A$ and $b$ |
| Back-substitution | $O(n^2)$ | $O(n)$ | |
| Multi-column solve | $O(n^3 + n^2 m)$ | $O(n^2)$ | $m$ back-substitutions |


[MegaLinter] reported by reviewdog 🐶

| Variant | Key Difference |
|---------|---------------|
| **Full pivoting** | Pivots on both rows and columns; more stable but rarely needed in practice |
| **LU factorization** | Stores the $L$ and $U$ factors for reuse; solves multiple right-hand sides efficiently |
| **Cholesky factorization** | Specialized for symmetric positive-definite matrices; $O(n^3/6)$ instead of $O(n^3/3)$ |
| **Gauss-Jordan elimination** | Reduces to reduced row echelon form (identity matrix); used for matrix inversion |
| **Iterative refinement** | Solves once, then iteratively corrects the residual to improve accuracy |


[MegaLinter] reported by reviewdog 🐶

| Algorithm | Relationship |
|-----------|-------------|
| [Linear Regression](../estimators/LinearRegression.md) | Uses Gaussian elimination to solve the normal equation |
| [DARE Solver](DiscreteAlgebraicRiccatiEquation.md) | Calls Gaussian elimination at each Riccati iteration |
| [Levinson-Durbin](LevinsonDurbin.md) | Specialized $O(n^2)$ solver for Toeplitz systems; Gaussian elimination is the $O(n^3)$ fallback |


[MegaLinter] reported by reviewdog 🐶

| Case | Time | Space | Notes |
|------|------|-------|-------|
| All | $O(n^2)$ | $O(n)$ | Versus $O(n^3)$ for general solvers |


[MegaLinter] reported by reviewdog 🐶

| Variant | Key Difference |
|---------|---------------|
| **Split Levinson** | Replaces the two-vector recursion with a single vector; slightly more efficient |
| **Block Levinson** | Solves block-Toeplitz systems (matrix entries instead of scalars) |
| **Burg's method** | Computes reflection coefficients from data rather than autocovariances; often more accurate for short records |
| **Schur algorithm** | Computes reflection coefficients without forming the full solution; useful for VLSI implementations |
| **Superfast Toeplitz solvers** | $O(n \log^2 n)$ algorithms based on FFT and divide-and-conquer |


[MegaLinter] reported by reviewdog 🐶

| Algorithm | Relationship |
|-----------|-------------|
| [Yule-Walker](../estimators/YuleWalker.md) | Primary consumer — produces the Toeplitz system that Levinson-Durbin solves |
| [Gaussian Elimination](GaussianElimination.md) | General $O(n^3)$ alternative that ignores Toeplitz structure |


[MegaLinter] reported by reviewdog 🐶

| Algorithm | Description |
|-----------|-------------|
| [Gaussian Elimination](GaussianElimination.md) | Direct solver for dense linear systems using partial pivoting |
| [Levinson-Durbin](LevinsonDurbin.md) | Fast solver for Toeplitz linear systems exploiting structural symmetry |
| [Durand-Kerner](DurandKerner.md) | Simultaneous iterative root-finder for polynomials |
| [Discrete Algebraic Riccati Equation](DiscreteAlgebraicRiccatiEquation.md) | Iterative solver for the DARE arising in LQR and Kalman filter design |


[MegaLinter] reported by reviewdog 🐶

| Algorithm | Description |
|-----------|-------------|


[MegaLinter] reported by reviewdog 🐶

| Window | Definition | Main-Lobe Width | Peak Side Lobe |
|--------|-----------|-----------------|----------------|
| **Rectangular** | $w[n] = 1$ | $2/N$ | $-13$ dB |
| **Hamming** | $w[n] = 0.54 - 0.46\cos\!\left(\frac{2\pi n}{N-1}\right)$ | $4/N$ | $-43$ dB |
| **Hann** | $w[n] = 0.5\left(1 - \cos\!\left(\frac{2\pi n}{N-1}\right)\right)$ | $4/N$ | $-32$ dB |
| **Blackman** | $w[n] = 0.42 - 0.5\cos\!\left(\frac{2\pi n}{N-1}\right) + 0.08\cos\!\left(\frac{4\pi n}{N-1}\right)$ | $6/N$ | $-58$ dB |


[MegaLinter] reported by reviewdog 🐶

| Window | Processing Gain |
|--------|----------------|
| Rectangular | 1.00 |
| Hamming | 0.73 |
| Hann | 0.67 |
| Blackman | 0.57 |


[MegaLinter] reported by reviewdog 🐶

| Operation | Time | Space |
|-----------|------|-------|
| Generate $N$ window coefficients | $O(N)$ | $O(N)$ |
| Apply window (element-wise multiply) | $O(N)$ | $O(1)$ extra |
| Pre-computed lookup | $O(1)$ per sample | $O(N)$ |


[MegaLinter] reported by reviewdog 🐶

|-----|--------------------------------------|
| 0 | 0.000 |
| 1 | 0.188 |
| 2 | 0.611 |
| 3 | 0.950 |
| 4 | 0.950 |
| 5 | 0.611 |
| 6 | 0.188 |
| 7 | 0.000 |


[MegaLinter] reported by reviewdog 🐶

| Variant | Key Difference |
|---------|---------------|
| **Kaiser window** | Parameterized by $\beta$; allows continuous trade-off between main-lobe width and side-lobe level |
| **Flat-top window** | Near-zero amplitude error at the cost of very wide main lobe; used for calibration |
| **Gaussian window** | Smooth, no side-lobe discontinuities; parameterized by $\sigma$ |
| **Dolph–Chebyshev** | Equiripple side lobes at a prescribed level; optimal for a given main-lobe width |
| **DPSS (Slepian)** | Maximum energy concentration in a given bandwidth; used in multi-taper spectral estimation |


[MegaLinter] reported by reviewdog 🐶

| Algorithm | Relationship |
|-----------|-------------|
| [FFT](../analysis/FastFourierTransform.md) | Window is applied *before* the FFT to reduce spectral leakage |
| [Power Density Spectrum](../analysis/PowerDensitySpectrum.md) | Built-in windowing per segment in Welch's method |
| [DCT](../analysis/DiscreteCosineTransform.md) | DCT's implicit symmetry provides partial leakage suppression, but windowing still helps |

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit

MegaLinter

[MegaLinter] reported by reviewdog 🐶

| Case | Time | Space | Notes |
|------|------|-------|-------|
| Per iteration | $O(n^2)$ | $O(n)$ | Evaluating $P$ and the denominator product for all $n$ roots |
| Total | $O(n^2 k)$ | $O(n)$ | $k$ iterations until convergence (typically $k \ll n$) |


[MegaLinter] reported by reviewdog 🐶

| Variant | Key Difference |
|---------|---------------|
| **Aberth-Ehrlich method** | Similar simultaneous iteration but includes a correction term that improves convergence for clustered roots |
| **Jenkins-Traub** | Sequential algorithm (one root at a time) with superior convergence for difficult polynomials; standard in numerical libraries |
| **Companion matrix + eigenvalues** | Converts to an eigenvalue problem; robust but $O(n^3)$ |
| **Laguerre's method** | Converges cubically for simple roots; sequential (extracts one root at a time, then deflates) |
| **Muller's method** | Uses quadratic interpolation; works for non-polynomial equations too |


[MegaLinter] reported by reviewdog 🐶

| Algorithm | Relationship |
|-----------|-------------|
| [Root Locus](../analysis/RootLocus.md) | Primary consumer — calls Durand-Kerner to find characteristic polynomial roots at each gain step |


[MegaLinter] reported by reviewdog 🐶

| Phase | Time | Space | Notes |
|-------|------|-------|-------|
| Forward elimination | $O(n^3)$ | $O(n^2)$ | In-place on copies of $A$ and $b$ |
| Back-substitution | $O(n^2)$ | $O(n)$ | |
| Multi-column solve | $O(n^3 + n^2 m)$ | $O(n^2)$ | $m$ back-substitutions |


[MegaLinter] reported by reviewdog 🐶

| Variant | Key Difference |
|---------|---------------|
| **Full pivoting** | Pivots on both rows and columns; more stable but rarely needed in practice |
| **LU factorization** | Stores the $L$ and $U$ factors for reuse; solves multiple right-hand sides efficiently |
| **Cholesky factorization** | Specialized for symmetric positive-definite matrices; $O(n^3/6)$ instead of $O(n^3/3)$ |
| **Gauss-Jordan elimination** | Reduces to reduced row echelon form (identity matrix); used for matrix inversion |
| **Iterative refinement** | Solves once, then iteratively corrects the residual to improve accuracy |


[MegaLinter] reported by reviewdog 🐶

| Algorithm | Relationship |
|-----------|-------------|
| [Linear Regression](../estimators/LinearRegression.md) | Uses Gaussian elimination to solve the normal equation |
| [DARE Solver](DiscreteAlgebraicRiccatiEquation.md) | Calls Gaussian elimination at each Riccati iteration |
| [Levinson-Durbin](LevinsonDurbin.md) | Specialized $O(n^2)$ solver for Toeplitz systems; Gaussian elimination is the $O(n^3)$ fallback |


[MegaLinter] reported by reviewdog 🐶

| Case | Time | Space | Notes |
|------|------|-------|-------|
| All | $O(n^2)$ | $O(n)$ | Versus $O(n^3)$ for general solvers |


[MegaLinter] reported by reviewdog 🐶

| Variant | Key Difference |
|---------|---------------|
| **Split Levinson** | Replaces the two-vector recursion with a single vector; slightly more efficient |
| **Block Levinson** | Solves block-Toeplitz systems (matrix entries instead of scalars) |
| **Burg's method** | Computes reflection coefficients from data rather than autocovariances; often more accurate for short records |
| **Schur algorithm** | Computes reflection coefficients without forming the full solution; useful for VLSI implementations |
| **Superfast Toeplitz solvers** | $O(n \log^2 n)$ algorithms based on FFT and divide-and-conquer |


[MegaLinter] reported by reviewdog 🐶

| Algorithm | Relationship |
|-----------|-------------|
| [Yule-Walker](../estimators/YuleWalker.md) | Primary consumer — produces the Toeplitz system that Levinson-Durbin solves |
| [Gaussian Elimination](GaussianElimination.md) | General $O(n^3)$ alternative that ignores Toeplitz structure |


[MegaLinter] reported by reviewdog 🐶

| Algorithm | Description |
|-----------|-------------|
| [Gaussian Elimination](GaussianElimination.md) | Direct solver for dense linear systems using partial pivoting |
| [Levinson-Durbin](LevinsonDurbin.md) | Fast solver for Toeplitz linear systems exploiting structural symmetry |
| [Durand-Kerner](DurandKerner.md) | Simultaneous iterative root-finder for polynomials |
| [Discrete Algebraic Riccati Equation](DiscreteAlgebraicRiccatiEquation.md) | Iterative solver for the DARE arising in LQR and Kalman filter design |


[MegaLinter] reported by reviewdog 🐶

| Algorithm | Description |
|-----------|-------------|


[MegaLinter] reported by reviewdog 🐶

| Window | Definition | Main-Lobe Width | Peak Side Lobe |
|--------|-----------|-----------------|----------------|
| **Rectangular** | $w[n] = 1$ | $2/N$ | $-13$ dB |
| **Hamming** | $w[n] = 0.54 - 0.46\cos\!\left(\frac{2\pi n}{N-1}\right)$ | $4/N$ | $-43$ dB |
| **Hann** | $w[n] = 0.5\left(1 - \cos\!\left(\frac{2\pi n}{N-1}\right)\right)$ | $4/N$ | $-32$ dB |
| **Blackman** | $w[n] = 0.42 - 0.5\cos\!\left(\frac{2\pi n}{N-1}\right) + 0.08\cos\!\left(\frac{4\pi n}{N-1}\right)$ | $6/N$ | $-58$ dB |


[MegaLinter] reported by reviewdog 🐶

| Window | Processing Gain |
|--------|----------------|
| Rectangular | 1.00 |
| Hamming | 0.73 |
| Hann | 0.67 |
| Blackman | 0.57 |


[MegaLinter] reported by reviewdog 🐶

| Operation | Time | Space |
|-----------|------|-------|
| Generate $N$ window coefficients | $O(N)$ | $O(N)$ |
| Apply window (element-wise multiply) | $O(N)$ | $O(1)$ extra |
| Pre-computed lookup | $O(1)$ per sample | $O(N)$ |


[MegaLinter] reported by reviewdog 🐶

|-----|--------------------------------------|
| 0 | 0.000 |
| 1 | 0.188 |
| 2 | 0.611 |
| 3 | 0.950 |
| 4 | 0.950 |
| 5 | 0.611 |
| 6 | 0.188 |
| 7 | 0.000 |


[MegaLinter] reported by reviewdog 🐶

| Variant | Key Difference |
|---------|---------------|
| **Kaiser window** | Parameterized by $\beta$; allows continuous trade-off between main-lobe width and side-lobe level |
| **Flat-top window** | Near-zero amplitude error at the cost of very wide main lobe; used for calibration |
| **Gaussian window** | Smooth, no side-lobe discontinuities; parameterized by $\sigma$ |
| **Dolph–Chebyshev** | Equiripple side lobes at a prescribed level; optimal for a given main-lobe width |
| **DPSS (Slepian)** | Maximum energy concentration in a given bandwidth; used in multi-taper spectral estimation |


[MegaLinter] reported by reviewdog 🐶

| Algorithm | Relationship |
|-----------|-------------|
| [FFT](../analysis/FastFourierTransform.md) | Window is applied *before* the FFT to reduce spectral leakage |
| [Power Density Spectrum](../analysis/PowerDensitySpectrum.md) | Built-in windowing per segment in Welch's method |
| [DCT](../analysis/DiscreteCosineTransform.md) | DCT's implicit symmetry provides partial leakage suppression, but windowing still helps |

gabrielfrasantos and others added 11 commits March 20, 2026 23:08
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 32 out of 32 changed files in this pull request and generated 4 comments.

Comment thread doc/neural_network/model/Model.md Resolved
Comment thread scripts/validate-docs.py Resolved
Comment thread scripts/validate-docs.py Resolved
@sonarqubecloud

Copy link
Copy Markdown

@gabrielfrasantos
gabrielfrasantos merged commit cb5dea1 into main Mar 21, 2026
9 checks passed
@gabrielfrasantos
gabrielfrasantos deleted the feature/improve-docs branch March 24, 2026 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants