Add Gaussian Naive Bayes classifier #16729
Annotations
10 errors
|
Ruff (UP006):
machine_learning/naive_bayes.py#L41
machine_learning/naive_bayes.py:41:34: UP006 Use `list` instead of `List` for type annotation
|
|
Ruff (UP006):
machine_learning/naive_bayes.py#L41
machine_learning/naive_bayes.py:41:29: UP006 Use `list` instead of `List` for type annotation
|
|
Ruff (UP006):
machine_learning/naive_bayes.py#L39
machine_learning/naive_bayes.py:39:35: UP006 Use `list` instead of `List` for type annotation
|
|
Ruff (UP006):
machine_learning/naive_bayes.py#L39
machine_learning/naive_bayes.py:39:25: UP006 Use `dict` instead of `Dict` for type annotation
|
|
Ruff (UP006):
machine_learning/naive_bayes.py#L38
machine_learning/naive_bayes.py:38:31: UP006 Use `list` instead of `List` for type annotation
|
|
Ruff (UP006):
machine_learning/naive_bayes.py#L38
machine_learning/naive_bayes.py:38:21: UP006 Use `dict` instead of `Dict` for type annotation
|
|
Ruff (UP006):
machine_learning/naive_bayes.py#L37
machine_learning/naive_bayes.py:37:28: UP006 Use `dict` instead of `Dict` for type annotation
|
|
Ruff (I001):
machine_learning/naive_bayes.py#L11
machine_learning/naive_bayes.py:11:1: I001 Import block is un-sorted or un-formatted
|
|
Ruff (UP035):
machine_learning/naive_bayes.py#L11
machine_learning/naive_bayes.py:11:1: UP035 `typing.Dict` is deprecated, use `dict` instead
|
|
Ruff (UP035):
machine_learning/naive_bayes.py#L11
machine_learning/naive_bayes.py:11:1: UP035 `typing.List` is deprecated, use `list` instead
|