@ SuppressWarnings ( "rawtypes" ) public static Map < String , ArtifactSerializer > createArtifactSerializers ( ) { final Map < String , ArtifactSerializer > serializers = BaseModel . createArtifactSerializers ( ) ; serializers . put ( "featuregen" , new ByteArraySerializer ( ) ) ; return serializers ; }
Create the artifact serializers . The DefaultTrainer deals with any other Custom serializers .