Implement Random Forest Classifier and Regressor from scratch (fixes #13537) #15719
Annotations
10 errors
|
Ruff (N806):
machine_learning/random_forest_classifier.py#L236
machine_learning/random_forest_classifier.py:236:13: N806 Variable `X_sample` in function should be lowercase
|
|
Ruff (N803):
machine_learning/random_forest_classifier.py#L213
machine_learning/random_forest_classifier.py:213:19: N803 Argument name `X` should be lowercase
|
|
Ruff (N803):
machine_learning/random_forest_classifier.py#L134
machine_learning/random_forest_classifier.py:134:23: N803 Argument name `X` should be lowercase
|
|
Ruff (N803):
machine_learning/random_forest_classifier.py#L101
machine_learning/random_forest_classifier.py:101:36: N803 Argument name `X_column` should be lowercase
|
|
Ruff (N806):
machine_learning/random_forest_classifier.py#L88
machine_learning/random_forest_classifier.py:88:13: N806 Variable `X_column` in function should be lowercase
|
|
Ruff (N803):
machine_learning/random_forest_classifier.py#L82
machine_learning/random_forest_classifier.py:82:27: N803 Argument name `X` should be lowercase
|
|
Ruff (NPY002):
machine_learning/random_forest_classifier.py#L59
machine_learning/random_forest_classifier.py:59:21: NPY002 Replace legacy `np.random.choice` call with `np.random.Generator`
|
|
Ruff (N803):
machine_learning/random_forest_classifier.py#L44
machine_learning/random_forest_classifier.py:44:26: N803 Argument name `X` should be lowercase
|
|
Ruff (N803):
machine_learning/random_forest_classifier.py#L32
machine_learning/random_forest_classifier.py:32:19: N803 Argument name `X` should be lowercase
|
|
Ruff (I001):
machine_learning/random_forest_classifier.py#L10
machine_learning/random_forest_classifier.py:10:1: I001 Import block is un-sorted or un-formatted
|