Closed mshearer0 closed 4 years ago
The order of the publications is inconsistent between the original CLASSES definition and the source name function:
CLASSES = { 'github': 0, 'nytimes': 1, 'techcrunch': 2 }
labels = tf.constant(['github', 'techcrunch', 'nytimes'], dtype=tf.string)
Suggest:
labels = tf.constant(['github', 'nytimes','techcrunch'], dtype=tf.string)
Thanks for catching this. I've fixed it in the notebook.
The order of the publications is inconsistent between the original CLASSES definition and the source name function:
CLASSES = { 'github': 0, 'nytimes': 1, 'techcrunch': 2 }
labels = tf.constant(['github', 'techcrunch', 'nytimes'], dtype=tf.string)
Suggest:
labels = tf.constant(['github', 'nytimes','techcrunch'], dtype=tf.string)