Decision-makers under uncertainty. They were made as two my university laboratory works.
- decision-maker-1.py supports Wald, Savage, Hurwitz, optimism, and pessimism criterions.
- decision-maker-2.py supports Bayes, Bernoulli-Laplace, Hodge-Lehmann, and Germeier
criterions.
Specify the strategies and environments states in a CSV file, the examples for both decision-makers are shown in the data-1.csv and data-2.csv. And run the script you need: decision-maker-1.py or decision-maker-2.py.
The example is shown for the first decision-maker-1.py, but both scripts work in the same
way.
Use the next command to run the script.
python decision-maker-1.py 'your-data-file.csv'
When the application is running, you will see such menu:
Available strategies:
1. Wald criterion
2. optimism criterion
3. pessimism criterion
4. Hurwitz criterion
5. Savage criterion
Choose the option you like and the script will find a strategy according to the criterion you chose.
- Name: Evgeniy Kiprenko
- Email: [email protected]