Skip to content

Commit

Permalink
Create MonteCarloControl.md
Browse files Browse the repository at this point in the history
  • Loading branch information
AqwamCreates committed Jan 8, 2025
1 parent 992a9e0 commit 34085e4
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions docs/API/Models/MonteCarloControl.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# [API Reference](../../API.md) - [Models](../Models.md) - REINFORCE

MonteCarloControl is a neural network with reinforcement learning capabilities. It can predict any positive numbers of discrete values.

## Constructors

### new()

Create new model object. If any of the arguments are nil, default argument values for that argument will be used.

```
MonteCarloControl.new({discountFactor: number}): ModelObject
```

#### Parameters:

* discountFactor: The higher the value, the more likely it focuses on long-term outcomes. The value must be set between 0 and 1.

#### Returns:

* ModelObject: The generated model object.

## Functions

### setParameters()

Set model's parameters. When any of the arguments are nil, previous argument values for that argument will be used.

```
MonteCarloControl:setParameters({discountFactor: number})
```

#### Parameters:

* discountFactor: The higher the value, the more likely it focuses on long-term outcomes. The value must be set between 0 and 1.

## Inherited From

* [ReinforcementLearningBaseModel](ReinforcementLearningBaseModel.md)

## References

* [Forgetting Early Estimates in Monte Carlo Control Methods](https://ev.fe.uni-lj.si/3-2015/Vodopivec.pdf)

0 comments on commit 34085e4

Please sign in to comment.