proactive strategy anova

This commit is contained in:
HaoYizhi 2023-06-05 16:05:31 +08:00
parent b55a313c95
commit 5893e5f595
1 changed files with 2 additions and 2 deletions

View File

@ -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)