August 2017
Intermediate to advanced
288 pages
8h 6m
English
test_true_class <- c(unlist(images.lab.test))
test_pred_class <- y_pred_cls$eval(feed_dict = dict(x = test_data$images, y_true = test_data$labels, keep_prob = 1.0))test_pred_class <- test_pred_class + 1
table(actual = test_true_class, predicted = test_pred_class)
confusion <- as.data.frame(table(actual = test_true_class, predicted = test_pred_class))plot <- ggplot(confusion) ...
Read now
Unlock full access