Added best_random_state_in_random_forest.py file an algorithm to find best random state of random forest classifier #11596
Annotations
10 errors
Ruff (I001):
machine_learning/best_random_state_in_random_forest.py#L1
machine_learning/best_random_state_in_random_forest.py:1:1: I001 Import block is un-sorted or un-formatted
|
Ruff (E501):
machine_learning/best_random_state_in_random_forest.py#L11
machine_learning/best_random_state_in_random_forest.py:11:89: E501 Line too long (97 > 88)
|
Ruff (N806):
machine_learning/best_random_state_in_random_forest.py#L28
machine_learning/best_random_state_in_random_forest.py:28:5: N806 Variable `X_train` in function should be lowercase
|
Ruff (N806):
machine_learning/best_random_state_in_random_forest.py#L28
machine_learning/best_random_state_in_random_forest.py:28:14: N806 Variable `X_test` in function should be lowercase
|
Ruff (E501):
machine_learning/best_random_state_in_random_forest.py#L28
machine_learning/best_random_state_in_random_forest.py:28:89: E501 Line too long (107 > 88)
|
Ruff (N806):
machine_learning/best_random_state_in_random_forest.py#L32
machine_learning/best_random_state_in_random_forest.py:32:5: N806 Variable `X_train_scaled` in function should be lowercase
|
Ruff (N806):
machine_learning/best_random_state_in_random_forest.py#L33
machine_learning/best_random_state_in_random_forest.py:33:5: N806 Variable `X_test_scaled` in function should be lowercase
|
Ruff (W293):
machine_learning/best_random_state_in_random_forest.py#L43
machine_learning/best_random_state_in_random_forest.py:43:1: W293 Blank line contains whitespace
|
Ruff (E501):
machine_learning/best_random_state_in_random_forest.py#L49
machine_learning/best_random_state_in_random_forest.py:49:89: E501 Line too long (106 > 88)
|
Ruff (W293):
machine_learning/best_random_state_in_random_forest.py#L56
machine_learning/best_random_state_in_random_forest.py:56:1: W293 Blank line contains whitespace
|