Incentive-based-Probability-Update-and-Strategy-Selection
Incentive-based-Probability-Update-and-Strategy-Selection copied to clipboard
generator_of_strategy_selection_probability 未定義
您好,请问一下怎么运行您的代码?代码好像并不完整?
例如generator_of_strategy_selection_probability好像沒有給出定義,非常學學習一下您的代碼
你好,由于这个项目时间久远,我重新看了一遍代码,所提的函数“generator_of_strategy_selection_probability”应该是之前编写时遗留下来未删除的函数,/algorithm/IPUSS_ver2.py 中的
if __name__ == '__main__':
为调试所用,并无实际用处。 本项目的运行入口应为https://github.com/neardws/Incentive-based-Probability-Update-and-Strategy-Selection/blob/master/experiment/one_slot_experiment_ver3.py 请参考该文件。
您好,我按照您说的运行了您的代码,报错FileNotFoundError: [Errno 2] No such file or directory: '../experiment_data/experiment_output/iteration_results_ver3.json',您提供的代码里就没有这些文件,可以提供完整的代码吗?
你好,这个文件是实验运行的结果输出文件,可能需要你自己重新运行,应该会自动生成该文件。 另外,关于完整代码的问题请参见https://github.com/neardws/Incentive-based-Probability-Update-and-Strategy-Selection/issues/2