Add Sampling Algorithm

From SUMOwiki
Revision as of 16:48, 10 May 2007 by Dgorissen (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

The toolbox comes with a number of sample selection algorithms, both for experimental design (initial samples) and sequential design. Of course you are free to add your own.

You can govern how new samples are selected by implementing your own sample selector class that derives from the SampleSelector base class in src/matlab/sampleSelectors. Again, only two methods are needed:

  • a constructor for reading in the configuration extracted from the XML file
  • a selectSamples.m file that, given the toolbox state, returns the next batch of samples