added mini batch gradient descent algo in ml dir #14216
Annotations
5 errors
|
ruff
Process completed with exit code 1.
|
|
Ruff (N806):
machine_learning/mini_batch_gradient_descent.py#L58
machine_learning/mini_batch_gradient_descent.py:58:13: N806 Variable `X_batch` in function should be lowercase
|
|
Ruff (N806):
machine_learning/mini_batch_gradient_descent.py#L55
machine_learning/mini_batch_gradient_descent.py:55:9: N806 Variable `X_shuffled` in function should be lowercase
|
|
Ruff (NPY002):
machine_learning/mini_batch_gradient_descent.py#L54
machine_learning/mini_batch_gradient_descent.py:54:19: NPY002 Replace legacy `np.random.permutation` call with `np.random.Generator`
|
|
Ruff (N803):
machine_learning/mini_batch_gradient_descent.py#L11
machine_learning/mini_batch_gradient_descent.py:11:5: N803 Argument name `X` should be lowercase
|