diff --git a/scripts/ml/ml_functions/test_func_singlegene.py b/scripts/ml/ml_functions/test_func_singlegene.py index 86f212d..a132b89 100644 --- a/scripts/ml/ml_functions/test_func_singlegene.py +++ b/scripts/ml/ml_functions/test_func_singlegene.py @@ -130,6 +130,9 @@ df2 = split_tts(df all(df2['X'].columns.isin(['gene_name'])) # should be False +import pandas as pd from sklearn.utils import all_estimators all_clfs = all_estimators(type_filter="classifier") +df = pd.DataFrame (all_clfs, columns = ['classifier_name', 'classifier_fn']) +df.to_csv("Model_names_ALL.csv")