tutorials
tutorials copied to clipboard
LinearClassifier does not have weights_
In the latest version of tensorflow (1.3.0) the LinearClassifier object does not have a weights_ member. Instead, the weights have to be retrieved as follows:
weights = classifier.get_variable_value("linear//weight")