nltk.MaxentClassifier.set_weights

MaxentClassifier.set_weights(new_weights)[source]

Set the feature weight vector for this classifier. :param new_weights: The new feature weight vector. :type new_weights: list of float