@@ -0,0 +1,1080 @@
+import os%0Afrom sklearn_explain.tests.skl_datasets_reg import skl_datasets_test as skltest%0A%0Adef createDirIfNeeded(dirname):%0A    try:%0A        os.makedirs(dirname);%0A    except:%0A        pass%0A%0A%0AlRegDatasets =  skltest.define_tested_reg_datasets();%0AlRegifiers = skltest.define_tested_regressors();%0A%0A%0A%0Adef create_script(ds , model):%0A        print(%22GENERATING_MODEL%22 , model, ds);%0A        dirname = %22tests/skl_datasets_reg/%22 + str(ds) ;%0A        print(dirname);%0A        createDirIfNeeded(dirname);%0A        filename = dirname + %22/skl_dataset_%22 + ds + %22_%22 + model + %22_code_gen.py%22;%0A        file = open(filename, %22w%22);%0A        print(%22WRTITING_FILE%22 , filename);%0A        file.write(%22from sklearn_explain.tests.skl_datasets_reg import skl_datasets_test as skltest%5Cn%22);%0A        file.write(%22%5Cn%5Cn%22);%0A        args = %22%5C%22%22 + ds + %22%5C%22 , %5C%22%22 + model + %22%5C%22%22;%0A        file.write(%22skltest.test_reg_dataset_and_model(%22 + args + %22)%5Cn%22);%0A        file.close();%0A    %0A# class%0Afor ds in lRegDatasets:%0A    for model in lRegifiers:%0A        print(%22GENERATING_MODEL%22 , ds , model);%0A        create_script(ds, model)%0A%0A

Add Regression Models Support #2