feat: GF-T binary classifier inference core (train->save->deploy on AX7203) - #1822
Merged
Conversation
gft_classify.t27: binary linear classifier inference -- class = 1 iff w0*x0+w1*x1 > 0 else 0. The deployment half of the on-chip trainer gft_logistic: with weights learned on-chip and baked in, this pure-inference core classifies without any training. Closes the edge loop on a live AX7203: train gft_logistic on-chip -> read learned W* over UART -> bake W* into uart_classify.v -> SRAM classifies 12/12 held-out with ZERO training -> SPI-flash it (persistent, boots pre-trained). In-spec tests (pos/neg) PASS. docs/NOW.md updated. Refs #1764 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Contributor
|
📓 NotebookLM Notebook linked to this PR
This notebook contains session context, decisions, and artifacts for this work. |
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New spec gft_classify.t27 — binary linear classifier inference (class = 1 iff w0x0+w1x1 > 0). The deploy half of the on-chip trainer gft_logistic. In-spec tests (pos/neg) PASS. Closes the edge loop on a live AX7203: train gft_logistic on-chip -> read learned W* over UART -> bake W* into uart_classify.v -> SRAM classifies 12/12 held-out with ZERO training -> SPI-flash it (persistent, boots pre-trained). docs/NOW.md updated. Refs #1764