Test Failed
Pull Request — main (#5)
by Mohammad
04:56
created

tracking_policy_agendas.classifiers.xgb_clf   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 6
dl 0
loc 8
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A XgbClf.__init__() 0 2 1
1
from xgboost import XGBClassifier
0 ignored issues
show
introduced by
Missing module docstring
Loading history...
2
from .meta_clf import MetaClf
3
4
5
class XgbClf(MetaClf):
0 ignored issues
show
introduced by
Missing class docstring
Loading history...
6
    def __init__(self, **kwargs):
7
        super().__init__(classifier_instance=XGBClassifier(n_estimators=300), **kwargs)
8