Evaluation for classification

The core DL4J class when implementing evaluations is called evaluation (https://static.javadoc.io/org.deeplearning4j/deeplearning4j-nn/0.9.1/org/deeplearning4j/eval/Evaluation.html, part of the DL4J NN module).

The dataset that will be used for the example presented in this subsection is the Iris dataset (it is available for download at https://archive.ics.uci.edu/ml/datasets/iris). It is a multivariate dataset that was introduced in 1936 by the British statistician and biologist Ronald Fisher (https://en.wikipedia.org/wiki/Ronald_Fisher). It contains 150 records – 50 samples – from three species of Iris flower (Iris setosa, Iris virginica, and Iris versicolor). Four attributes (features) have been measured from ...

Get Hands-On Deep Learning with Apache Spark now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.