added mini batch gradient descent algo in machine learning directory #14213
Annotations
6 errors
|
ruff
Process completed with exit code 1.
|
|
Ruff (N806):
machine_learning/mini_batch_gradient_descent.py#L54
machine_learning/mini_batch_gradient_descent.py:54:13: N806 Variable `X_batch` in function should be lowercase
|
|
Ruff (N806):
machine_learning/mini_batch_gradient_descent.py#L51
machine_learning/mini_batch_gradient_descent.py:51:9: N806 Variable `X_shuffled` in function should be lowercase
|
|
Ruff (NPY002):
machine_learning/mini_batch_gradient_descent.py#L50
machine_learning/mini_batch_gradient_descent.py:50:19: NPY002 Replace legacy `np.random.permutation` call with `np.random.Generator`
|
|
Ruff (E501):
machine_learning/mini_batch_gradient_descent.py#L11
machine_learning/mini_batch_gradient_descent.py:11:89: E501 Line too long (92 > 88)
|
|
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
|