Fast aggregate command

The fast-aggregate command joins trained ACP models ONLY. It will merge multiple models into a large aggregated model, but it does not sanitation at all. Use it for speeding up training of multiple aggregated inductive conformal models by training a single ICP in each step of train (run in parallel) and then use this command to simply put it all together.


The full usage menu can be retrieved by running command:

> java -jar cpsign-[version].jar fast-aggregate -h

   fast-aggregate [options]
   fast-aggregate @/tmp/runconfigs/parameters.txt [options]
   fast-aggregate @C:\Users\User\runconfigs\parameters.txt [options]

   The fast-aggregate command joins trained models into an aggregated one. This command facilitate a
   high level way of distributing the training step.

   Input options:
    * -m, --modelfiles  [([URI] or [path]) ([URI] or [path])] or [([URI] or [path]),([URI] or [path])]
         A list of models that should be aggregated (space or comma-separated list of URIs or
         filepaths). Note that models can be a mix of non-compressed, compressed and encrypted models.
      -af, --accept-fail
         Accept failure if a model cannot be added to the aggregated model. Default is to fail
         Default: false

   Output options:
   * -mo, --model-out  [path]
         Model file to generate. Either give a fully specified file including a valid file suffix
         (.cpsign, .jar) or a directory where the model should be generated (cpsign will create a
         unique file name for you)

   General options:
    * --license  [URI] or [path]
         Path to license file
      --logfile  [path]
         Path to a user set logfile, will be specific for this run
         Silent mode (only print output to logfile)
         Default: false
         Echo the input arguments given to CPSign
         Default: false
      -h, --help
         Get help for this command
         Default: false
         Print wall-time for all individual steps in execution
         Default: false

Example usage

> java -jar cpsign-[version].jar fast-aggregate \
   --license /path/to/Standard-license.license \
   -m \
   models/acp_model_reg_1.cpsign \
   models/acp_model_reg_2.cpsign \
   --model-out \
   /tmp/aggregated_reg.cpsign \

Running with Standard license: License registered to: [Name] [Company]. Expiry date is: [Date]

Starting to aggregate models..
Successfully aggregated 2 models (in total 2 ICPs)
Aggregated model saved at: /tmp/aggregated_reg.cpsign