I have a the beginnings of a class (in this case for a NeuralNet). I'm not very happy with how I am initializing self.ws, seems a bit off.What is the pythonic way to do this?import numpy as npclass NeuralNet:    def __init__(self,layerSizes):        self.ws = self._generateStartingWeights(layerSizes)    def _generateStartingWeights(self,layerSizes):        def randMatrix(szThis,szNext): return np.matrix(np.random.normal(0,0.01,(szThis,szNext)))       return [randMatrix(szThis,szNext) for (szThis,szNext) in pairwise(layerSizes)]
Class initialisation of fields
python;classes