(self)
return {'max_weight': self.max_weight,
                'returns_channel': self.returns_channel,
                'n_assets': self.n_assets}
Hyperparamters relevant to construction of the model.
Hyperparamters relevant to construction of the model.
Hyperparamters relevant to construction of the model .
def hparams(self):
        """Hyperparamters relevant to construction of the model."""
        return {'max_weight': self.max_weight,
                'returns_channel': self.returns_channel,
                'n_assets': self.n_assets}
def hparams ( self ) : return { 'max_weight' : self . max_weight , 'returns_channel' : self . returns_channel , 'n_assets' : self . n_assets }