Spaces:
Runtime error
Runtime error
Commit
·
7c6020d
1
Parent(s):
78ed805
Update dcogsphere.py
Browse files- dcogsphere.py +10 -9
dcogsphere.py
CHANGED
|
@@ -1,18 +1,19 @@
|
|
| 1 |
# to run Python-ACT-R in Notebook, we need to install the package if not done already:
|
| 2 |
-
from python_actr import *
|
| 3 |
|
| 4 |
# Using the code above, if python_actr is not installed, it first install python_actr
|
| 5 |
# then imports its modules: from python_actr import *
|
| 6 |
# so no needs to import the following modules one by one, but you can use them instead
|
| 7 |
# by uncommenting one by one, when needed, instead of importing everything at once:
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
|
|
|
| 16 |
class MyEnv(Model):
|
| 17 |
pass
|
| 18 |
class MyAgent(ACTR):
|
|
|
|
| 1 |
# to run Python-ACT-R in Notebook, we need to install the package if not done already:
|
| 2 |
+
#from python_actr import *
|
| 3 |
|
| 4 |
# Using the code above, if python_actr is not installed, it first install python_actr
|
| 5 |
# then imports its modules: from python_actr import *
|
| 6 |
# so no needs to import the following modules one by one, but you can use them instead
|
| 7 |
# by uncommenting one by one, when needed, instead of importing everything at once:
|
| 8 |
+
import python_actr
|
| 9 |
+
from python_actr import log
|
| 10 |
+
from python_actr import ACTR
|
| 11 |
+
from python_actr import Model
|
| 12 |
+
from python_actr import Buffer
|
| 13 |
+
from python_actr import Memory
|
| 14 |
+
from python_actr import DMSpreading
|
| 15 |
+
from python_actr import log_everything
|
| 16 |
+
|
| 17 |
class MyEnv(Model):
|
| 18 |
pass
|
| 19 |
class MyAgent(ACTR):
|