Package org.nd4j.evaluation.serde
Class ROCSerializer
- java.lang.Object
-
- org.nd4j.shade.jackson.databind.JsonSerializer<ROC>
-
- org.nd4j.evaluation.serde.ROCSerializer
-
- All Implemented Interfaces:
org.nd4j.shade.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
public class ROCSerializer extends org.nd4j.shade.jackson.databind.JsonSerializer<ROC>
-
-
Constructor Summary
Constructors Constructor Description ROCSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
serialize(ROC roc, org.nd4j.shade.jackson.core.JsonGenerator jsonGenerator, org.nd4j.shade.jackson.databind.SerializerProvider serializerProvider)
void
serializeWithType(ROC value, org.nd4j.shade.jackson.core.JsonGenerator gen, org.nd4j.shade.jackson.databind.SerializerProvider serializers, org.nd4j.shade.jackson.databind.jsontype.TypeSerializer typeSer)
-
-
-
Method Detail
-
serialize
public void serialize(ROC roc, org.nd4j.shade.jackson.core.JsonGenerator jsonGenerator, org.nd4j.shade.jackson.databind.SerializerProvider serializerProvider) throws IOException
- Specified by:
serialize
in classorg.nd4j.shade.jackson.databind.JsonSerializer<ROC>
- Throws:
IOException
-
serializeWithType
public void serializeWithType(ROC value, org.nd4j.shade.jackson.core.JsonGenerator gen, org.nd4j.shade.jackson.databind.SerializerProvider serializers, org.nd4j.shade.jackson.databind.jsontype.TypeSerializer typeSer) throws IOException
- Overrides:
serializeWithType
in classorg.nd4j.shade.jackson.databind.JsonSerializer<ROC>
- Throws:
IOException
-
-