scipy.maxentropy.model.setparams

model.setparams(params)
Set the parameter vector to params, replacing the existing parameters. params must be a list or numpy array of the same length as the model’s feature vector f.