def fit(self, X, y=None, **params):
        self.w_ = self._fit(X, **params)
        return self
Tests the connection to the database
dataset/ETHPy150Open jmetzen/sparse-filtering/sparse_filtering.py/SparseFiltering.fit--crossover with--dataset/ETHPy150Open globocom/database-as-a-service/dbaas/drivers/base.py/BaseDriver.test_connection