Hi everyone!

I've implemented a gradient descent algorithm with Python and PDG to create a best fit line for data points. I'm trying to recreate this experiment that someone else did: https://forums.odforce.net/topic/44527-machine-learning-in-houdini-because-why-not/ [forums.odforce.net]

I would like to be able to see the line running through each epoch and adjusting to the data in real time, but I can't figure out how to do this. Is there a way to set a work item per frame? Or would outputting the line to files and running through each file per frame be the best way? (I've been trying to do this with a PDG rop geometry output but the cook always fails). Any input would be greatly appreciated!

Thanks,
Ryan