Skip to content

LinearClassifier does not have weights_  #5

Description

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")

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions