#garfield Logs
Nov 02 2023
#garfield Calendar
12:06 AM rue_mohr: Tom_L, you awake?
04:09 AM Tom_L: .
07:13 AM rue_mohr: used you for a paypal test anyhow
07:17 AM Tom_L: ?
07:17 AM Tom_L: hardly ever use that anymore
07:17 AM rue_mohr: me either
08:34 AM rue_mohr: some did an injection molded PLA, they used a silicone mold
12:35 PM polprog: i got the single neuron implemented in C
12:35 PM polprog: https://polprog.net/rozne1/ircjunk/nn/backprop.c
12:35 PM polprog: But im afraid ill have to do it in C++ for the linear classifier, or come up with some clever use of structs
12:37 PM polprog: this goes with that markdown file I wrote earlier
12:37 PM polprog: it does it the same way
12:38 PM polprog: but now as a live working example you can modify
12:38 PM polprog: note that if you increase NPOINTS you have to decrease the learning rate - otherwise the variables inside overflow
12:39 PM polprog: I could fix that with doubles but the way it is done in practice is to slice up the training data and do it in batches, that is one more loop in the train() function.
02:48 PM polprog: for the multi-neuron networks ill have to get matrix mul to work
02:48 PM polprog: im writing a small library..
02:48 PM polprog: oh shit i just realized that inline functions need be in the header...
02:48 PM polprog: gah
02:49 PM polprog: anyway
02:49 PM polprog: i think i got matrix mul to work
02:49 PM polprog: now gotta write a few matrix addition functions and that should work okay
02:49 PM polprog: its a small footprint library, will come handy in future projects
02:50 PM polprog: neural networks on the 8051
02:50 PM * polprog rewrites the library to use fixed point integers
05:13 PM polprog: you can try to modify it to do it in batches
05:14 PM polprog: that means if you have say, 1000 points and want to do it in say batches of 50
05:14 PM polprog: then you just have to shuffle the array of the 1000 indexes and take it 50 indexes each in the training loop
05:14 PM polprog: I might do that later, or you can do that if you want
05:15 PM polprog: if i make get the matrix mul code right ill try to make up some small network
05:15 PM polprog: ill have to talk about it to the prof
05:30 PM aandrew: well... I was able to get my vehicle import papers without setting foot in Mexico. It's ridiculously easy once you find the correct person to talk to
05:31 PM aandrew: so a wasted day for nothing in the end, but at least it's done. smog check done too, and now I have a 90 day temporary plate while they do some intenral checking they do for any foreign vehicle import
05:35 PM Tom_L: you got to visit mexico
05:36 PM Tom_L: did you get a 'been there' hat while you were there?
05:38 PM aandrew: I did not exit the vehicle in Mexico
05:38 PM aandrew: I could have got one from one of the street vendors lined up along the road to the border though
05:39 PM aandrew: guess I should go back and get one now :-)
05:40 PM Tom_L: my last one was from San Juan
06:48 PM rue_mohr: heh
06:49 PM rue_mohr: polprog, thanks, will read carefully
09:06 PM aandrew: what the heck are you two working on
09:29 PM rue_mohr: hah, I'm not working on it as much as I want
09:29 PM rue_mohr: I got distracted on another CPLD baord
09:29 PM rue_mohr: (the one I wanted in the first place, but slightly wider)
09:32 PM rue_mohr: I'm at the stage where I'm just filling the unused pins with LEDs