Skip to content

Add 4 Machine Learning Algorithms: Decision Tree Pruning, Logistic Regression, Naive Bayes, and PCA #15029

Add 4 Machine Learning Algorithms: Decision Tree Pruning, Logistic Regression, Naive Bayes, and PCA

Add 4 Machine Learning Algorithms: Decision Tree Pruning, Logistic Regression, Naive Bayes, and PCA #15029

Triggered via pull request October 8, 2025 20:05
Status Failure
Total duration 13s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
ruff
Process completed with exit code 1.
Ruff (W293): machine_learning/naive_bayes_laplace.py#L458
machine_learning/naive_bayes_laplace.py:458:1: W293 Blank line contains whitespace
Ruff (W293): machine_learning/naive_bayes_laplace.py#L356
machine_learning/naive_bayes_laplace.py:356:1: W293 Blank line contains whitespace
Ruff (W293): machine_learning/naive_bayes_laplace.py#L301
machine_learning/naive_bayes_laplace.py:301:1: W293 Blank line contains whitespace
Ruff (E501): machine_learning/naive_bayes_laplace.py#L142
machine_learning/naive_bayes_laplace.py:142:89: E501 Line too long (93 > 88)
Ruff (W293): machine_learning/logistic_regression_vectorized.py#L298
machine_learning/logistic_regression_vectorized.py:298:1: W293 Blank line contains whitespace
Ruff (PGH003): machine_learning/logistic_regression_vectorized.py#L296
machine_learning/logistic_regression_vectorized.py:296:51: PGH003 Use specific rule codes when ignoring type issues
Ruff (PGH003): machine_learning/logistic_regression_vectorized.py#L295
machine_learning/logistic_regression_vectorized.py:295:74: PGH003 Use specific rule codes when ignoring type issues
Ruff (F401): machine_learning/logistic_regression_vectorized.py#L20
machine_learning/logistic_regression_vectorized.py:20:20: F401 `typing.cast` imported but unused
Ruff (W293): machine_learning/decision_tree_pruning.py#L436
machine_learning/decision_tree_pruning.py:436:1: W293 Blank line contains whitespace