added mini batch gradient descent algo in ml dir #14217
Annotations
7 errors
|
ruff
Process completed with exit code 1.
|
|
Ruff (W292):
machine_learning/mini_batch_gradient_descent.py#L72
machine_learning/mini_batch_gradient_descent.py:72:22: W292 No newline at end of file
|
|
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
|