Skip to content

add a code file of the multi-layer perceptron classifier from scrach #13122

add a code file of the multi-layer perceptron classifier from scrach

add a code file of the multi-layer perceptron classifier from scrach #13122

Triggered via pull request May 14, 2025 08:50
Status Failure
Total duration 13s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (ARG002): machine_learning/multilayer_perceptron_classifier_from_scratch.py#L286
machine_learning/multilayer_perceptron_classifier_from_scratch.py:286:9: ARG002 Unused method argument: `W1`
Ruff (N803): machine_learning/multilayer_perceptron_classifier_from_scratch.py#L286
machine_learning/multilayer_perceptron_classifier_from_scratch.py:286:9: N803 Argument name `W1` should be lowercase
Ruff (E501): machine_learning/multilayer_perceptron_classifier_from_scratch.py#L260
machine_learning/multilayer_perceptron_classifier_from_scratch.py:260:89: E501 Line too long (98 > 88)
Ruff (E501): machine_learning/multilayer_perceptron_classifier_from_scratch.py#L251
machine_learning/multilayer_perceptron_classifier_from_scratch.py:251:89: E501 Line too long (89 > 88)
Ruff (E501): machine_learning/multilayer_perceptron_classifier_from_scratch.py#L250
machine_learning/multilayer_perceptron_classifier_from_scratch.py:250:89: E501 Line too long (91 > 88)
Ruff (N803): machine_learning/multilayer_perceptron_classifier_from_scratch.py#L242
machine_learning/multilayer_perceptron_classifier_from_scratch.py:242:9: N803 Argument name `W2` should be lowercase
Ruff (N803): machine_learning/multilayer_perceptron_classifier_from_scratch.py#L241
machine_learning/multilayer_perceptron_classifier_from_scratch.py:241:9: N803 Argument name `W1` should be lowercase
Ruff (NPY002): machine_learning/multilayer_perceptron_classifier_from_scratch.py#L207
machine_learning/multilayer_perceptron_classifier_from_scratch.py:207:14: NPY002 Replace legacy `np.random.randn` call with `np.random.Generator`
Ruff (NPY002): machine_learning/multilayer_perceptron_classifier_from_scratch.py#L205
machine_learning/multilayer_perceptron_classifier_from_scratch.py:205:14: NPY002 Replace legacy `np.random.randn` call with `np.random.Generator`
Ruff (I001): machine_learning/multilayer_perceptron_classifier_from_scratch.py#L1
machine_learning/multilayer_perceptron_classifier_from_scratch.py:1:1: I001 Import block is un-sorted or un-formatted