def parameter_vector ( self ) : return np . array ( [ getattr ( self , k ) for k in self . parameter_names ] )
python define variable as an array
An array of all parameters ( including frozen parameters )
def parameter_vector(self):
        """An array of all parameters (including frozen parameters)"""
        return np.array([getattr(self, k) for k in self.parameter_names])