tensorflow / tfjs

A WebGL accelerated JavaScript library for training and deploying ML models.
https://js.tensorflow.org
Apache License 2.0
18.49k stars 1.93k forks source link

[Codelab]: Handwritten digit recognition with CNNs #2742

Closed kiwionly closed 4 years ago

kiwionly commented 4 years ago

To get help from the community, we encourage using Stack Overflow and the tensorflow.js tag.

TensorFlow.js version

1.0.0

Browser version

chrome 80.0.3987.87

Describe the problem or feature request

wrong sample code in page

Show a confusion matrix

tfvis.show.confusionMatrix(container, confusionMatrix, classNames); should be tfvis.render.confusionMatrix(container, {values: confusionMatrix}, classNames);

rthadur commented 4 years ago

@kiwionly thank you for reporting , are you referring to the code in this page In the page you mentioned there is no reference to confusionMatrix image

tafsiri commented 4 years ago

@rthadur @kiwionly I was able to find the reference. Will fix and redeploy shortly.

tafsiri commented 4 years ago

This has been fixed. Thanks for reporting.