def test_regress_samples_ncv_accuracy(self): y_pred, importances = regress_samples_ncv(self.table_ecam_fp, self.mdc_ecam_fp, random_state=123, n_estimators=2, n_jobs=1, missing_samples='ignore') pdt.assert_series_equal(y_pred, self.exp_pred) pdt.assert_frame_equal(importances, self.exp_imp)
def test_regress_samples_ncv(self): y_pred, importances = regress_samples_ncv(self.table_ecam_fp, self.mdc_ecam_fp, random_state=123, n_estimators=2, n_jobs=1, stratify=True, parameter_tuning=True, missing_samples='ignore')
def test_regress_samples_ncv_knn(self): y_pred, importances = regress_samples_ncv( self.table_ecam_fp, self.mdc_ecam_fp, random_state=123, n_estimators=2, n_jobs=1, stratify=False, parameter_tuning=False, estimator='KNeighborsRegressor', missing_samples='ignore')