sample

program sample(input:String?, output:String?, config:String?, diagnostic:String?, seed:Integer?, model:String?, sampler:String?)

Sample from a model.

  • --input: Name of the input file, if any. Alternatively (preferably), provide this as input in the configuration file.

  • --output: Name of the output file, if any. Alternatively (preferably), provide this as output in the configuration file.

  • --config: Name of the configuration file, if any. Alternatively (preferably), provide this as config in the configuration file.

  • --diagnostic: Name of the diagnostic file, if any. Alternatively (preferably), provide this as a diagnostic in the configuration file.

  • --seed: Random number seed. Alternatively (preferably), provide this as seed in the configuration file. If not provided, random entropy is used.

  • --model: Name of the model class. Alternatively (preferably), provide this as model.class in the configuration file.

  • --sampler: Name of the sampler class. Alternatively (preferably), provide this as sampler.class in the configuration file. If the sampler is not provided through either of these mechanisms, a default is chosen according to the model class.