We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 35a84f2 + b230aed commit 6283258Copy full SHA for 6283258
1 file changed
js/ai/qlearn/readme.md
@@ -64,15 +64,15 @@ Will use `.qualityMap`.
64
65
66
```js
67
-const actionName = decide({intelligence, stateAction, actionNames});
+const actionName = decide({intelligence, stateActions, actionNames});
68
```
69
70
Alternatively use partial random decide. It is the same function, except it randomly decides 20% of the time.
71
72
73
import { partialRandomDecide } from "qlearn/source/partialRandomDecide.js";
74
75
-const actionName = partialRandomDecide(intelligence, stateAction, actionNames);
+const actionName = partialRandomDecide(intelligence, stateActions, actionNames);
76
77
78
### `learn()`
0 commit comments