Difference between revisions of "Config:InitialDesign"

From SUMOwiki
Jump to navigationJump to search
Line 1: Line 1:
'''Generated for SUMO toolbox version 6'''.
+
'''Generated for SUMO toolbox version 6.1'''.
''We are well aware that the list below is incomplete and possibly even out of date in some cases. We try to document everything as best we can but much is limited by available time and manpower.  The most up to date documentation can always be found (if not here) in the default.xml configuration file and, of course, in the source files.''
+
''We are well aware that documentation is not always complete and possibly even out of date in some cases. We try to document everything as best we can but much is limited by available time and manpower.  We are are a university research group after all. The most up to date documentation can always be found (if not here) in the default.xml configuration file and, of course, in the source files.  If something is unclear please dont hesitate to [[Reporting problems|ask]].''
 
== InitialDesign ==
 
== InitialDesign ==
  
Line 20: Line 20:
 
   <!-- how many points to generate for each dimension as a vector -->
 
   <!-- how many points to generate for each dimension as a vector -->
 
   <!-- a scalar value (l) is the same as [l l ... l] (length of input dimension) -->
 
   <!-- a scalar value (l) is the same as [l l ... l] (length of input dimension) -->
   <Option key="levels" value="10"/>
+
   <Option key="levels" value="3"/>
 +
</[[Config:InitialDesign|InitialDesign]]>
 +
</source>
 +
=== random ===
 +
Specifies a trivial Random design
 +
<source xmlns:saxon="http://icl.com/saxon" lang="xml">
 +
<[[Config:InitialDesign|InitialDesign]] type="[[InitialDesign#RandomDesign|RandomDesign]]">
 +
  <Option key="points" value="20"/>
 
</[[Config:InitialDesign|InitialDesign]]>
 
</[[Config:InitialDesign|InitialDesign]]>
 
</source>
 
</source>
Line 41: Line 48:
 
       <Option key="levels" value="2"/>
 
       <Option key="levels" value="2"/>
 
   </[[Config:InitialDesign|InitialDesign]]>
 
   </[[Config:InitialDesign|InitialDesign]]>
 +
</[[Config:InitialDesign|InitialDesign]]>
 +
</source>
 +
=== dataset ===
 +
Use an exsiting dataset as the initial design
 +
<source xmlns:saxon="http://icl.com/saxon" lang="xml">
 +
<[[Config:InitialDesign|InitialDesign]] type="[[InitialDesign#DatasetDesign|DatasetDesign]]">
 +
  <!-- Where should we load the dataset from? -->
 +
  <Option key="filename" value="/path/to/your/dataset.txt"/>
 +
  <!-- Does the dataset also contain responses? (instead of only the inputs)
 +
        If so, hasOutputs must be set to yes and the range of the inputs in the file must
 +
        match the range of the simulator.  If not, the range of the inputs must be [-1 1].
 +
  -->
 +
  <Option key="hasOutputs" value="no"/>
 
</[[Config:InitialDesign|InitialDesign]]>
 
</[[Config:InitialDesign|InitialDesign]]>
 
</source>
 
</source>

Revision as of 17:15, 17 February 2009

Generated for SUMO toolbox version 6.1. We are well aware that documentation is not always complete and possibly even out of date in some cases. We try to document everything as best we can but much is limited by available time and manpower. We are are a university research group after all. The most up to date documentation can always be found (if not here) in the default.xml configuration file and, of course, in the source files. If something is unclear please dont hesitate to ask.

InitialDesign

lhd

Specifies a Latin HyperCube

<[[Config:InitialDesign|InitialDesign]] type="[[InitialDesign#LatinHyperCubeDesign|LatinHyperCubeDesign]]">
   <!-- how many points to generate -->
   <Option key="points" value="20"/>
   <!--<Option key="weight" value="0.5"/>-->
   <!--<Option key="coolingFactor" value="0.9"/>-->
   <!--<Option key="p" value="5.0"/>-->
</[[Config:InitialDesign|InitialDesign]]>

factorial

Specifies a simple Factorial Design (uniform grid)

<[[Config:InitialDesign|InitialDesign]] type="[[InitialDesign#FactorialDesign|FactorialDesign]]">
   <!-- how many points to generate for each dimension as a vector -->
   <!-- a scalar value (l) is the same as [l l ... l] (length of input dimension) -->
   <Option key="levels" value="3"/>
</[[Config:InitialDesign|InitialDesign]]>

random

Specifies a trivial Random design

<[[Config:InitialDesign|InitialDesign]] type="[[InitialDesign#RandomDesign|RandomDesign]]">
   <Option key="points" value="20"/>
</[[Config:InitialDesign|InitialDesign]]>

lhdWithCornerPoints

Specifies a combined Latin HyperCube and FactorialDesign

<[[Config:InitialDesign|InitialDesign]] type="[[InitialDesign#CombinedDesign|CombinedDesign]]">
   <!-- Select samples in a Latin Hypercube Design -->
   <[[Config:InitialDesign|InitialDesign]] type="[[InitialDesign#LatinHyperCubeDesign|LatinHyperCubeDesign]]">
      <!-- how many points to generate -->
      <Option key="points" value="20"/>
      <!--<Option key="weight" value="0.5"/>-->
      <!--<Option key="coolingFactor" value="0.9"/>-->
      <!--<Option key="p" value="5.0"/>-->
   </[[Config:InitialDesign|InitialDesign]]>

   <[[Config:InitialDesign|InitialDesign]] type="[[InitialDesign#FactorialDesign|FactorialDesign]]">
      <!-- how many points to generate for each dimension as a vector -->
      <!-- a scalar value (l) is the same as [l l ... l] (length of input dimension) -->
      <Option key="levels" value="2"/>
   </[[Config:InitialDesign|InitialDesign]]>
</[[Config:InitialDesign|InitialDesign]]>

dataset

Use an exsiting dataset as the initial design

<[[Config:InitialDesign|InitialDesign]] type="[[InitialDesign#DatasetDesign|DatasetDesign]]">
   <!-- Where should we load the dataset from? -->
   <Option key="filename" value="/path/to/your/dataset.txt"/>
   <!-- Does the dataset also contain responses? (instead of only the inputs) 
        If so, hasOutputs must be set to yes and the range of the inputs in the file must
        match the range of the simulator.  If not, the range of the inputs must be [-1 1].
   -->
   <Option key="hasOutputs" value="no"/>
</[[Config:InitialDesign|InitialDesign]]>