public final class MergeModels extends Object
Merges two model files into one model file. The models have to be "compatible" in order to make any sense, in the sense that model 1 must map As to Bs and model 2, Bs to Cs, to make a model from As to Cs.
The resulting model file can be plugged directly into another instance's working directory.
Usage: MergeModels [model.bin.gz file 1] [model.bin.gz file 2] [merged model.bin.gz]
This is a simple utility class and an experiment which may be removed.
public static void merge(File model1File, File model2File, File mergedModelFile) throws IOException
IOExceptionCopyright © 2012-2013. All Rights Reserved.