public class MinMaxSerializerStrategy extends java.lang.Object implements NormalizerSerializerStrategy<NormalizerMinMaxScaler>
NormalizerMinMaxScaler
instances in single binary filesConstructor and Description |
---|
MinMaxSerializerStrategy() |
Modifier and Type | Method and Description |
---|---|
NormalizerType |
getSupportedType()
Get the enum opType of the supported normalizer
|
NormalizerMinMaxScaler |
restore(java.io.InputStream stream)
Restore a normalizer that was previously serialized by this strategy
|
void |
write(NormalizerMinMaxScaler normalizer,
java.io.OutputStream stream)
Serialize a normalizer to a output stream
|
public void write(@NonNull NormalizerMinMaxScaler normalizer, @NonNull java.io.OutputStream stream) throws java.io.IOException
NormalizerSerializerStrategy
write
in interface NormalizerSerializerStrategy<NormalizerMinMaxScaler>
normalizer
- the normalizerstream
- the output stream to write tojava.io.IOException
public NormalizerMinMaxScaler restore(@NonNull java.io.InputStream stream) throws java.io.IOException
NormalizerSerializerStrategy
restore
in interface NormalizerSerializerStrategy<NormalizerMinMaxScaler>
stream
- the stream to read serialized data fromjava.io.IOException
public NormalizerType getSupportedType()
NormalizerSerializerStrategy
getSupportedType
in interface NormalizerSerializerStrategy<NormalizerMinMaxScaler>
Normalizer.getType()