protected void registerModels(MediaType type, TrainedModel model) {
        MODEL_MAP.put(type, model);
    }
for testing purposes; this method write the histogram vector to a file.

@param histogram
@throws IOException
tika-core/src/main/java/org/apache/tika/detect/TrainedModelDetector.java