freeCodeCamp/curriculum/challenges/chinese/11-machine-learning-with-python/tensorflow/reinforcement-learning-with-q-learning-example.md
Randell Dawson 94f0cf0ef8
chore(learn): Remove remaining isHidden keys from frontmatter (English and Chinese challenges) (#39809)
* fix: remove isHidden key from tool template

* fix: removed isHidden key from English challenges

* fix: remove isHidden key from Chinese challenges
2020-10-08 14:18:47 +02:00

637 B

id, challengeType, videoId
id challengeType videoId
5e8f2f13c4cdbe86b5c72da5 11 RBBSNta234s

Description

Tests

question:
  text: |
    Fill in the blanks to complete the following Q-Learning equation:

    ```py
    Q[__A__, __B__] = Q[__A__, __B__] + LEARNING_RATE * (reward + GAMMA * np.max(Q[__C__, :]) - Q[__A__, __B__])
    ```

  answers:
    - |
      A: `state`

      B: `action`

      C: `next_state`
    - |
      A: `state`

      B: `action`

      C: `prev_state`
    - |
      A: `state`

      B: `reaction`

      C: `next_state`
  solution: 1