From 5893e5f595202ca1b5110e3603fda177aee4ac56 Mon Sep 17 00:00:00 2001 From: HaoYizhi Date: Mon, 5 Jun 2023 16:05:31 +0800 Subject: [PATCH] proactive strategy anova --- anova.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/anova.py b/anova.py index 7d3e009..c3c7dfc 100644 --- a/anova.py +++ b/anova.py @@ -147,10 +147,10 @@ if __name__ == '__main__': result.drop('idx_scenario', 1, inplace=True) df_oa = pd.read_csv("oa_with_exp.csv", index_col=None) result = pd.concat( - [result.iloc[:, 0:9], df_oa.iloc[:, -4:], result.iloc[:, -2:]], axis=1) + [result.iloc[:, 0:10], df_oa.iloc[:, -4:], result.iloc[:, -2:]], axis=1) result.to_csv('analysis\\experiment_result.csv') # 9 factors (X), 4 for error (E), and 2 indicators (Y) - the_lst_col_seg = [9, 4, 2] + the_lst_col_seg = [10, 3, 2] the_n_level = 3 anova(the_lst_col_seg, the_n_level, "oa25.txt", result, 0.1)