Skip to content

added mini batch gradient descent algo in ml dir #14218

added mini batch gradient descent algo in ml dir

added mini batch gradient descent algo in ml dir #14218

Triggered via pull request October 1, 2025 05:59
Status Failure
Total duration 12s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors
ruff
Process completed with exit code 1.
Ruff (NPY002): machine_learning/mini_batch_gradient_descent.py#L55
machine_learning/mini_batch_gradient_descent.py:55:19: NPY002 Replace legacy `np.random.permutation` call with `np.random.Generator`
Ruff (E501): machine_learning/mini_batch_gradient_descent.py#L46
machine_learning/mini_batch_gradient_descent.py:46:89: E501 Line too long (95 > 88)
Ruff (UP006): machine_learning/mini_batch_gradient_descent.py#L17
machine_learning/mini_batch_gradient_descent.py:17:6: UP006 Use `tuple` instead of `Tuple` for type annotation
Ruff (UP035): machine_learning/mini_batch_gradient_descent.py#L8
machine_learning/mini_batch_gradient_descent.py:8:1: UP035 `typing.Tuple` is deprecated, use `tuple` instead
Ruff (I001): machine_learning/mini_batch_gradient_descent.py#L7
machine_learning/mini_batch_gradient_descent.py:7:1: I001 Import block is un-sorted or un-formatted