Stop update HTM

Hello,
I want to create HTM that will update his pattern only part of the time.
For example if I have safe environment I want the model to continue to update and predicte , but when I will run on unsafe environment the model will not update , and only predicte.
Can I do that with HTM model ? (How? :grinning:)
Thanks

1 Like

There is a setting to turn learning off, I believe?

1 Like

You can pass learn=False into tm.compute()

2 Likes