Femur model: code to output

The actual lesson source, artifact, and calculation in one animation.

simple-structmap-v2
Training

Load labeled examples

0 / 15
lines 47-49
Labeled rows 8 Femur + 8 Other

Training

16 labeled strings become 349 n-gram columns and 1 learned binary row.

Artifact

inserted zero row + learned row become 2 x 349 coefficients.

Inference

normalize -> count -> weight -> softmax -> output