proactive strategy anova
This commit is contained in:
parent
b55a313c95
commit
5893e5f595
4
anova.py
4
anova.py
|
@ -147,10 +147,10 @@ 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: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')
|
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)
|
||||||
the_lst_col_seg = [9, 4, 2]
|
the_lst_col_seg = [10, 3, 2]
|
||||||
the_n_level = 3
|
the_n_level = 3
|
||||||
anova(the_lst_col_seg, the_n_level, "oa25.txt", result, 0.1)
|
anova(the_lst_col_seg, the_n_level, "oa25.txt", result, 0.1)
|
||||||
|
|
Loading…
Reference in New Issue