class="kw">table</span>(predicted_tags, validation_tags)</span></code></pre>
</div>
<pre><code>##               validation_tags
## predicted_tags can carton milk_bottle water_bottle
##   can            4      0           0            0
##   carton         0      5           0            0
##   milk_bottle    1      0           5            0
##   water_bottle   0      0           0            5</code></pre>
<p>This shows that the model got 19 out of 20 predictions correct on the validation data, mis