Last active
March 4, 2018 23:37
-
-
Save eisenjulian/2cb0bf3374fc6fb86ee368710f15c84d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| column = tf.feature_column.categorical_column_with_identity('x', vocab_size) | |
| classifier = tf.estimator.LinearClassifier( | |
| feature_columns=[column], | |
| model_dir=os.path.join(model_dir, 'bow_sparse')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment