getting an error when trying to visualize the weights
*weights = classifier.weights_* throws an _AttributeError: 'LinearClassifier' object has no attribute 'weights_' error. Does anyone have a clue about what's happening or how to the the weights for the classifier?
Solution
Replace: *weights= classifier.weights_* with: *weights = classifier.get_variable_value(classifier.get_variable_names()[1])*
No comments:
Post a Comment