Class ConfusionMatrixSerializer

  • All Implemented Interfaces:
    org.nd4j.shade.jackson.databind.jsonFormatVisitors.JsonFormatVisitable

    public class ConfusionMatrixSerializer
    extends org.nd4j.shade.jackson.databind.JsonSerializer<ConfusionMatrix<Integer>>
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.nd4j.shade.jackson.databind.JsonSerializer

        org.nd4j.shade.jackson.databind.JsonSerializer.None
    • Constructor Detail

      • ConfusionMatrixSerializer

        public ConfusionMatrixSerializer()
    • Method Detail

      • serialize

        public void serialize​(ConfusionMatrix<Integer> cm,
                              org.nd4j.shade.jackson.core.JsonGenerator gen,
                              org.nd4j.shade.jackson.databind.SerializerProvider provider)
                       throws IOException,
                              org.nd4j.shade.jackson.core.JsonProcessingException
        Specified by:
        serialize in class org.nd4j.shade.jackson.databind.JsonSerializer<ConfusionMatrix<Integer>>
        Throws:
        IOException
        org.nd4j.shade.jackson.core.JsonProcessingException