Example usage for org.deeplearning4j.eval Evaluation eval

List of usage examples for org.deeplearning4j.eval Evaluation eval

Introduction

In this page you can find the example usage for org.deeplearning4j.eval Evaluation eval.

Prototype

void eval(INDArray labels, INDArray networkPredictions, List<? extends Serializable> recordMetaData);

Source Link

Usage

From source file:aiLogicImplementation.RNNBasic.java

License:Apache License

@Override
public void evaluate() {
    Evaluation evaluation = new Evaluation(4);
    evaluation.eval(labels, input, net);
    System.out.println(evaluation.stats());
}