r/ComputerCraft • u/Insurgentbullier NIH patient • Jan 16 '26
MNIST Digit Classification
Machine learning in ComputerCraft! Code is here.
The training performance is mediocre¹ (and WIP), but the features are there at least.It's an adaptation of a C ML library based on Magicalbat's awesome video.
EDIT:
¹ 2x speedup thanks to an idea by u/9551-eletronics
62
Upvotes


View all comments
Show parent comment
1
u/Insurgentbullier NIH patient Jan 17 '26 edited Jan 17 '26
Yes, definitely. Inference takes 5-20ms in Minecraft. So that’s basically fast enough to run in real-time.
But I do want to fix timeout during training so everything can take place inside the game :D