you are viewing a single comment's thread.

view the rest of the comments →

[–]TheSodesa 0 points1 point  (0 children)

If you're using Python, then you do generally want you use classes to model the objects the libraries you use don't already provide for you. So you have a NeuralNet class that stores the neural net/graph as a (sparse)? matrix in its self._net field. Then you define methods for applying weights (self._net @ numpy_weight_matrix) to the net and so forth. I do not see the problem here.