public:t-720-atai:atai-20:engineering_assignment_3
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
public:t-720-atai:atai-20:engineering_assignment_3 [2020/09/20 10:44] – [Part 2 - ONA on the cart-pole task] thorisson | public:t-720-atai:atai-20:engineering_assignment_3 [2024/04/29 13:33] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 20: | Line 20: | ||
\\ | \\ | ||
- | ====Part 1 - Introduction to ONA:==== | + | ====Part 1 - Introduction to ONA==== |
ONA is a different system than any reinforcement learner or artificial neural network. It is built on non-axiomatic reasoning. To interact with ONA (or NARS) the language narsese was developed. In this part you will get to know narsese better and will build an own “Fuzzy Logic” problem for ONA to “solve”. To get a first grasp on narsese (or NAL) please refer to the slides from 2018 by Xiang Li: {{/ | ONA is a different system than any reinforcement learner or artificial neural network. It is built on non-axiomatic reasoning. To interact with ONA (or NARS) the language narsese was developed. In this part you will get to know narsese better and will build an own “Fuzzy Logic” problem for ONA to “solve”. To get a first grasp on narsese (or NAL) please refer to the slides from 2018 by Xiang Li: {{/ | ||
Line 27: | Line 27: | ||
Once you have ONA set up correctly (try the evaluation as explained in the github link) you can get started with the task. | Once you have ONA set up correctly (try the evaluation as explained in the github link) you can get started with the task. | ||
+ | |||
+ | \\ | ||
===Your Task:=== | ===Your Task:=== | ||
Line 38: | Line 40: | ||
====Part 2 - ONA on the cart-pole task==== | ====Part 2 - ONA on the cart-pole task==== | ||
- | To start working with ONA on the cart-pole task you must make certain changes before you can start using it. | + | To start working with ONA on the cart-pole task you must make certain changes |
\\ | \\ | ||
Line 48: | Line 50: | ||
Further, ONA itself needs to be adjusted to work with the cart-pole environment. This needs to be done in order to restrict ONA to only use “^left” and “^right” as actions (similar to the actor-critic or yourself in assignment 1 and 2).\\ | Further, ONA itself needs to be adjusted to work with the cart-pole environment. This needs to be done in order to restrict ONA to only use “^left” and “^right” as actions (similar to the actor-critic or yourself in assignment 1 and 2).\\ | ||
For this you will have to change a few lines in two c-files of ONA:\\ | For this you will have to change a few lines in two c-files of ONA:\\ | ||
+ | |||
+ | \\ | ||
1. Open …/ | 1. Open …/ | ||
Line 70: | Line 74: | ||
Only the Atomic Terms “^left” and “^right” should be left\\ | Only the Atomic Terms “^left” and “^right” should be left\\ | ||
+ | \\ | ||
2. Open .../ | 2. Open .../ | ||
//Maximum amount of operations which can be registered | //Maximum amount of operations which can be registered | ||
#define OPERATIONS_MAX 2 | #define OPERATIONS_MAX 2 | ||
+ | |||
+ | \\ | ||
3. Rebuild ONA.\\ | 3. Rebuild ONA.\\ | ||
Line 82: | Line 89: | ||
===Your Task:=== | ===Your Task:=== | ||
- **Plain Vanilla.** Evaluate ONA’s performance on the cart-pole task given to you as python code: | - **Plain Vanilla.** Evaluate ONA’s performance on the cart-pole task given to you as python code: | ||
- | | + | |
- | | + | |
- | - **Modified Version.** Evaluate the learner’s performance on a modified version of the cart-pole task and compare them to the results from the plain vanilla runs: | + | - **Modified Version**. Evaluate the learner’s performance on a modified version of the cart-pole task and compare them to the results from the plain vanilla runs: |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | - **Report.** Summarize your results in a report. Compare them to the results from the first assignment where appropriate. Try to explain your results | + | - **Report.** Summarize your results in a report. Compare them to the results from the first assignment |
The summary of the results from the first assignment can be found here: {{: | The summary of the results from the first assignment can be found here: {{: |
/var/www/cadia.ru.is/wiki/data/attic/public/t-720-atai/atai-20/engineering_assignment_3.1600598653.txt.gz · Last modified: 2024/04/29 13:32 (external edit)