User Tools

Site Tools


public:t-720-atai:atai-20:final_project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
public:t-720-atai:atai-20:final_project [2020/10/08 06:01] – created leonardpublic:t-720-atai:atai-20:final_project [2024/04/29 13:33] (current) – external edit 127.0.0.1
Line 11: Line 11:
 \\ \\
  
-**Aims:** In the final project you will be working with OpenNARS for Researcha different versions, than OpenNARS for Application with the main purpose of doing research on NARS. There exists different examples and a GUI to help you understand NARS better.+**Summary:** In the final project you will be working with OpenNARS for Research (a different version than ONA - OpenNARS for Applications), with the main purpose of doing AGI research using NARS. To help you get going with it, OpenNARS for Research comes with libraries of various examples of usage, including a graphical user interface for interacting with it. OpenNARS for Research is written in Java
  
-**Summary:** In this first part of the final project you will install OpenNARS for Research on your machine and get a first insight into some of the worlds that have been implemented so far, especially the TestChamber world.+**Aims:** In this first part of the final project you will install OpenNARS for Research on your machine and get a first insight into some of the worlds that have been implemented so far, especially the TestChamber world.
  
 +\\
  
 =====Installation of OpenNARS for Research===== =====Installation of OpenNARS for Research=====
  
-Assuming you are working on a Ubuntu machine:+The below assumes you are working on a Ubuntu machine. (Since OpenNARS is Java code you might be able to use a different platform, but unfortunately we cannot promise support for that.)
  
 ===Prerequisites=== ===Prerequisites===
Line 26: Line 27:
   sudo apt install default-jdk   sudo apt install default-jdk
  
-Install maven:+Install Maven:
  
-  sudo apt install maven+  sudo apt install Maven
  
 Set $JAVA_HOME: Set $JAVA_HOME:
Line 57: Line 58:
  
  
 +GitHub Link: [[https://github.com/opennars/opennars]]\\
 +There you can also find a Wiki and some documentation.
 +
 +\\
  
 =====Your task===== =====Your task=====
Line 84: Line 89:
  
  
-In this first part of the final project you are meant to get some first experience on the OpenNARS for Research. You are not asked to write a report, but if you don't do those parts you might struggle in the next part.+In this first part of the final project you are meant to get some first experience on the OpenNARS for Research. 
 + 
 +Example video: [[https://www.youtube.com/watch?v=hAO1zRj2z9A]]
  
 Try out different things:\\ Try out different things:\\
Line 94: Line 101:
     -Lamp     -Lamp
     -…     -…
-  -Connect them in a meaningful way (e.g. Switch->Cable->Lamp) 
   -Try what happens if you send a goal to NARS   -Try what happens if you send a goal to NARS
-  -Open the  
   -Give NARS some predefined knowledge   -Give NARS some predefined knowledge
     -Common Sense     -Common Sense
     -If you go somewhere you will be there     -If you go somewhere you will be there
     -If you are somewhere and pick something up you will hold it     -If you are somewhere and pick something up you will hold it
 +  -Load a predefined scenario from the editor menu
   -Give NARS a command to go to the newly placed switch/ lamp/ …   -Give NARS a command to go to the newly placed switch/ lamp/ …
   -Try the “force action” submenu   -Try the “force action” submenu
-  -Place some stone wall in between NARS and the “go-to” goal and give it the goal to go there again. 
   -Give NARS the command to try things   -Give NARS the command to try things
     -What happens in the NARS console?     -What happens in the NARS console?
-    -Open the Concept network and have a look at what happens there +    -Open the Concept network and have a look at what happens there (Trace->Window->Concept Network)
-  -Create a small world in which NARS can try things out. +
-  -Save the level. It will be saved in the folder where you started the GUI (in a subfolder called grid2d).+
   -Have a look at the Code of the TestChamber, especially the EditorPanel.java file   -Have a look at the Code of the TestChamber, especially the EditorPanel.java file
     -Especially at the "Predefined knowledge" section     -Especially at the "Predefined knowledge" section
Line 119: Line 122:
       -etc.       -etc.
   -Implement your own predefined knowledge section   -Implement your own predefined knowledge section
-  -Implement your own goal +  -You can use the other knowledge sections to get a grasp on how things work.
-  -You can use the other goals/ knowledge sections to get a grasp on how things work.+
  
-This assignment is meant for you to get to know OpenNARS for Research, so please try to figure out as much as possible about how it behaves.+This first part of the final project is meant for you to get to know OpenNARS for Research, so please try to figure out as much as possible about how it behaves.
  
 Also have a look at  Also have a look at 
Line 128: Line 130:
   -The Perception part   -The Perception part
   -NARPong   -NARPong
-Including their trace and have a look at the code to see what strings are passed to NARS.+    - How is the reward managed? 
 +    - How is information passed to NARS? 
 +( **NOT NECESSARY**: Try to recreate you own pong example with only the most rudimentary features (Copy paste the code and remove everything unnecessary for NARS to play pong, such as keyboard control etc.)\\ 
 +You might be able to implement an easier way to let NARS play pong.\\ 
 +To make it available to use in the gui you will have to change the code of the launcher (../opennars-lab/src/main/java/org/opennars/lab/launcher)) 
 + 
 + 
 +Including their trace and have a look at the code wherever necessary to see what is passed to NARS, what commands are executed etc. The code can be found at ../opennars-lab/src/main/java/org/opennars/lab/...
  
  
/var/www/cadia.ru.is/wiki/data/attic/public/t-720-atai/atai-20/final_project.1602136883.txt.gz · Last modified: 2024/04/29 13:32 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki