PROP improve saving format, allow clean-comparison of different AllocModels from cmd line

Issue #3 resolved
Mike Hughes repo owner created an issue

The current name of the save directory is quite verbose. It might confuse new people, who have to remember lots of things to explore this directory outside of bnpy's built-in tools.

Instead, we might use a simpler syntax that just saves by dataset/jobname/taskid

CURRENT: DataSet/allocModel/obsModel/infAlg/jobname/taskid/

PROPOSED Dataset/jobname/taskid/

Note: We might want to reset default behavior to not overwrite previous run if done by different allocModel/obsModel

WITHIN THE SAVEDIR,

we might want to organize into subfolders, as follows

Human-Readable logs logs/ * log-status.txt * log-warnings-serious.txt * log-birth.txt * log-merge.txt

Arguments args/ * args-Initialization.txtdict * args-moVB.txtdict

Plain-text records records/ * records-evidence.txtdata * records-laps.txtdata * records-K.txtdata ...

  • SuffStats/
    • Lap0001.000SuffStats.dump
  • Prior/

    • ObsPrior.mat
    • AllocPrior.mat
  • Models/

    • Lap0001.020AllocModel.mat
    • Lap0001.020ObsModel.mat

Comments (2)

  1. Mike Hughes reporter

    Completed and merged into newmaster.

    Decided not to do subdirectories... nice to have all output files in one place for a single run of an experiment.

  2. Log in to comment