Predictor docs

Is there any documentation available about how to set htm.bindings.algorithm.Predictor parameters?

Thanks in advance

Hi,
If you are using htm-core, each class has built-in documentation which you can access using the python help keyword: help(htm.bindings.algorithms.Predictor)

The help message for Predictor.__init__ is:

 |      __init__(self: htm.bindings.algorithms.Predictor, steps: List[int], alpha: float = 0.001) -> None
 |      
 |      Argument steps is the number of steps into the future to learn and predict.
 |      The Predictor accepts a list of steps.
 |      
 |      Argument alpha is used to adapt the weight matrix during learning.
 |      A larger alpha results in faster adaptation to the data.

I hope this helps

1 Like

Thanks a lot, @dmac