proactive strategy anova

This commit is contained in:
HaoYizhi 2023-06-05 16:06:18 +08:00
parent 5893e5f595
commit 813a3cf2ff
1 changed files with 3 additions and 1 deletions

View File

@ -147,7 +147,9 @@ if __name__ == '__main__':
result.drop('idx_scenario', 1, inplace=True) result.drop('idx_scenario', 1, inplace=True)
df_oa = pd.read_csv("oa_with_exp.csv", index_col=None) df_oa = pd.read_csv("oa_with_exp.csv", index_col=None)
result = pd.concat( result = pd.concat(
[result.iloc[:, 0:10], 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') result.to_csv('analysis\\experiment_result.csv')
# 9 factors (X), 4 for error (E), and 2 indicators (Y) # 9 factors (X), 4 for error (E), and 2 indicators (Y)