def METHOD_NAME(self):
    import snapml
    import lale.lib.snapml
    for params in [{}, snapml.LinearRegression().get_params()]:
        trainable = lale.lib.snapml.SnapLinearRegression(**params)
        trained = trainable.fit(self.train_X, self.train_y)
        scorer = sklearn.metrics.make_scorer(sklearn.metrics.r2_score)
        _ = scorer(trained, self.test_X, self.test_y)