<reponame>nielsuit227/AutoML<filename>tests/Unit/Regressors/test_lgbm.py
import unittest
import pandas as pd
from sklearn.datasets import make_regression
from Amplo.Regressors import LGBMRegressor
from .test_regressor import TestRegression


class TestLGBMRegressor(unittest.TestCase, TestRegression):

    @classmethod
    def setUpClass(cls):
        cls.model = LGBMRegressor()
        x, y = make_regression(n_informative=15)
        cls.x, cls.y = pd.DataFrame(x), pd.Series(y)

import unittest
import pandas as pd
from sklearn.datasets import make_regression
from Amplo.Regressors import LGBMRegressor
from .test_regressor import TestRegression


class TestLGBMRegressor(unittest.TestCase, TestRegression):

    @classmethod
    def setUpClass(cls):
        cls.model = LGBMRegressor()
        x, y = make_regression(n_informative=15)
        cls.x, cls.y = pd.DataFrame(x), pd.Series(y)