Total Complexity | 1 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | """ |
||
2 | Naive Bayes Classifier |
||
3 | |||
4 | .................................................................................................... |
||
5 | MIT License |
||
6 | Copyright (c) 2021-2023 AUT Iran, Mohammad H Forouhesh |
||
7 | Copyright (c) 2021-2022 MetoData.ai, Mohammad H Forouhesh |
||
8 | .................................................................................................... |
||
9 | This module encapsulate the Naive Bayes classifier. |
||
10 | """ |
||
11 | |||
12 | 1 | from sklearn.naive_bayes import GaussianNB |
|
13 | 1 | from .meta_sklearn_clf import MetaSkLearnClf |
|
14 | |||
15 | |||
16 | 1 | class GNBClf(MetaSkLearnClf): |
|
|
|||
17 | 1 | def __init__(self, **kwargs): |
|
18 | super().__init__(classifier_instance=GaussianNB(), **kwargs) |
||
19 |