School Project for Artificial Intelligence
This project was divided in 2 parts
Tested methods of modelation and inference with Bayesian Networks.
Implemented in python. (file BN.py) toposort.py was given.
Implemented Q-learning algorithm, that given a trajectory computes Q-values for each action.
Implemented in python. (file RL.py)
RL.py had some base code.
The report is in portuguese
The major part of the whole project was the report:
Part 1:
- Critical discution of the results found;
- Advanatages and disavantages of the implemented methods;
- Complexity of the solution and possible alternatives.
Part 2:
- Graphic representation of the ambient in which the agent is moving;
- Reward function, optimal policy, impact of each action in each state;
- Complexity, advantages/disavantages and alternatives.
IA_P2.pdf
mainRL.py tests RL.py. Q1.npz and traj.npz are trajectories used by this test.
mainBN.py tests BL.py
Joao Coelho
Francisco Santos
19.5/20