# Path: dsenser/xgboost/xgboost.py
# class XGBoostSenser(WangSenser):
#     """Class for XGBoost classification of discourse relations.
# 
#     Attributes:
#       explicit (:class:`dsenser.xgboost.explicit.XGBoostExplicitSenser`):
#         classifier for explicit discourse relations
#       implicit (:class:`dsenser.xgboost.implicit.XGBoostImplicitSenser`):
#         classifier for implicit discourse relations
#       n_y (int): number of distinct classes
# 
#     """
# 
#     def __init__(self, **kwargs):
#         """Class constructor.
# 
#         Args:
#           kwargs (dict): keyword arguments to be forwarded
# 
#         """
#         self.explicit = XGBoostExplicitSenser(**kwargs)
#         self.implicit = XGBoostImplicitSenser(**kwargs)


from unittest import TestCase
from dsenser.xgboost import XGBoostSenser
#!/usr/bin/env python
# -*- coding: utf-8; mode: python; -*-

##################################################################
# Imports
from __future__ import absolute_import


##################################################################
# Constants


##################################################################
# Test Classes
class TestXGBoostSenser(TestCase):
    def test_init(self):
        xgb = XGBoostSenser()

# Path: dsenser/xgboost/xgboost.py
# class XGBoostSenser(WangSenser):
#     """Class for XGBoost classification of discourse relations.
# 
#     Attributes:
#       explicit (:class:`dsenser.xgboost.explicit.XGBoostExplicitSenser`):
#         classifier for explicit discourse relations
#       implicit (:class:`dsenser.xgboost.implicit.XGBoostImplicitSenser`):
#         classifier for implicit discourse relations
#       n_y (int): number of distinct classes
# 
#     """
# 
#     def __init__(self, **kwargs):
#         """Class constructor.
# 
#         Args:
#           kwargs (dict): keyword arguments to be forwarded
# 
#         """
#         self.explicit = XGBoostExplicitSenser(**kwargs)
#         self.implicit = XGBoostImplicitSenser(**kwargs)


# Path: tests/xgboost/test_xgboost.py
from unittest import TestCase
from dsenser.xgboost import XGBoostSenser

#!/usr/bin/env python
# -*- coding: utf-8; mode: python; -*-

##################################################################
# Imports
from __future__ import absolute_import


##################################################################
# Constants


##################################################################
# Test Classes
class TestXGBoostSenser(TestCase):
    def test_init(self):
        xgb = XGBoostSenser()

        assert xgb.implicit is not None