Extract and adapt Tsetlin Machine as gun module #172

Closed
opened 2026-09-19 14:39:22 +02:00 by SirStone · 2 comments
Owner

Question

Extract TM from BNNBot_garage into common_libs/guns/tsetlin.nim. Adapt to Gun interface:

  • predict(): run TM forward, add correction to linear extrapolation (computed internally), return absolute (x, y)
  • onResult(): match tick to stored clause cache (eligibility trace), compute residual, run TM learn
  • Manages own frame history buffer internally
  • Configurable: clause count, T, s, automaton states
## Question Extract TM from BNNBot_garage into `common_libs/guns/tsetlin.nim`. Adapt to Gun interface: - predict(): run TM forward, add correction to linear extrapolation (computed internally), return absolute (x, y) - onResult(): match tick to stored clause cache (eligibility trace), compute residual, run TM learn - Manages own frame history buffer internally - Configurable: clause count, T, s, automaton states
SirStone added the wayfinder:task label 2026-09-19 14:39:22 +02:00
Author
Owner

Blocked by #166 — Gun trait and WorldState must be defined first.

Blocked by #166 — Gun trait and WorldState must be defined first.
Author
Owner

Superseded by vertical-slice tickets — see map #165.

Superseded by vertical-slice tickets — see map #165.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SirStone/SirRoboGarage#172