Skip to content

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

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 #15021

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

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (N803): machine_learning/pca_from_scratch.py#L215
machine_learning/pca_from_scratch.py:215:29: N803 Argument name `X` should be lowercase
Ruff (N806): machine_learning/pca_from_scratch.py#L211
machine_learning/pca_from_scratch.py:211:9: N806 Variable `X_transformed` in function should be lowercase
Ruff (N806): machine_learning/pca_from_scratch.py#L208
machine_learning/pca_from_scratch.py:208:9: N806 Variable `X_standardized` in function should be lowercase
Ruff (N803): machine_learning/pca_from_scratch.py#L187
machine_learning/pca_from_scratch.py:187:25: N803 Argument name `X` should be lowercase
Ruff (N806): machine_learning/pca_from_scratch.py#L167
machine_learning/pca_from_scratch.py:167:9: N806 Variable `X_standardized` in function should be lowercase
Ruff (N803): machine_learning/pca_from_scratch.py#L133
machine_learning/pca_from_scratch.py:133:19: N803 Argument name `X` should be lowercase
Ruff (N803): machine_learning/pca_from_scratch.py#L79
machine_learning/pca_from_scratch.py:79:42: N803 Argument name `X` should be lowercase
Ruff (N806): machine_learning/pca_from_scratch.py#L75
machine_learning/pca_from_scratch.py:75:9: N806 Variable `X_standardized` in function should be lowercase
Ruff (N803): machine_learning/pca_from_scratch.py#L49
machine_learning/pca_from_scratch.py:49:33: N803 Argument name `X` should be lowercase
Ruff (E501): machine_learning/naive_bayes_laplace.py#L219
machine_learning/naive_bayes_laplace.py:219:89: E501 Line too long (108 > 88)