Difference between revisions of "Config:ToolboxConfiguration"

From SUMOwiki
Jump to navigationJump to search
(AutoConfig for SUMO 6.2)
Line 15: Line 15:
 
<[[Config:Optimizer|Optimizer]]/>
 
<[[Config:Optimizer|Optimizer]]/>
 
</[[Config:ToolboxConfiguration|ToolboxConfiguration]]>
 
</[[Config:ToolboxConfiguration|ToolboxConfiguration]]>
 +
</source>
 +
 +
 +
== Interpreting the configuration file ==
 +
<source xmlns:saxon="http://icl.com/saxon" lang="xml">
 +
 +
<?xml version="1.0" encoding="ISO-8859-1" ?>
 +
<ToolboxConfiguration version="7.0">
 +
<!--
 +
        This is an example comment.
 +
-->
 +
<Plan>
 +
                <ContextConfig>default</ContextConfig>
 +
<SUMO>default</SUMO>
 +
<LevelPlot>default</LevelPlot>
 +
<Simulator>Math/Academic/Academic2DTwice.xml</Simulator>
 +
                <Run name="" repeat="1">
 +
<InitialDesign>lhdWithCornerPoints</InitialDesign>
 +
<SampleSelector>random</SampleSelector>
 +
<SampleEvaluator>matlab</SampleEvaluator>
 +
<AdaptiveModelBuilder>kriging</AdaptiveModelBuilder>
 +
<Measure type="CrossValidation" target="0.01" errorFcn="rootRelativeSquareError" use="on" />
 +
<Outputs>
 +
<Output name="out">
 +
</Output>
 +
<Output name="outinverse">
 +
</Output>
 +
</Outputs>
 +
</Run>
 +
</Plan>
 +
 +
        <ContextConfig id="default">
 +
        ...
 +
</ContextConfig>
 +
 +
<Logging>
 +
        ...
 +
</Logging>
 +
 +
<LevelPlot id="default" type="LevelPlot" combineOutputs="true">
 +
        ...
 +
    </LevelPlot>
 +
 +
<SUMO id="default" type="SUMO">
 +
        ...
 +
</SUMO>
 +
 +
        <SampleEvaluator id="matlab" type="ibbt.sumo.sampleevaluators.matlab.MatlabSampleEvaluator">
 +
...
 +
</SampleEvaluator>
 +
 +
<SampleSelector id="random" type="RandomSampleSelector" combineOutputs="false"/>
 +
 +
<AdaptiveModelBuilder id="kriging" type="AdaptiveModelBuilder" combineOutputs="false">
 +
        ...
 +
        </AdaptiveModelBuilder>
 +
 +
<InitialDesign id="lhdWithCornerPoints" type="CombinedDesign">
 +
        ...
 +
</InitialDesign>
 +
</ToolboxConfiguration>
 +
 
</source>
 
</source>

Revision as of 15:05, 10 February 2012

Toolbox configuration file

This is the default SUMO toolbox configuration, this is what gets used when you run 'go' without any arguments You can edit this file directly or make a copy and run that. See the wiki for detailed information.

<[[Config:ToolboxConfiguration|ToolboxConfiguration]] version="7.0">
<[[Config:Plan|Plan]]/>
<[[Config:ContextConfig|ContextConfig]]/>
<[[Config:Logging|Logging]]/>
<[[Config:LevelPlot|LevelPlot]]/>
<[[Config:SUMO|SUMO]]/>
<[[Config:SampleEvaluator|SampleEvaluator]]/>
<[[Config:SampleSelector|SampleSelector]]/>
<[[Config:AdaptiveModelBuilder|AdaptiveModelBuilder]]/>
<[[Config:BasisFunction|BasisFunction]]/>
<[[Config:InitialDesign|InitialDesign]]/>
<[[Config:Optimizer|Optimizer]]/>
</[[Config:ToolboxConfiguration|ToolboxConfiguration]]>


Interpreting the configuration file

<?xml version="1.0" encoding="ISO-8859-1" ?>
<ToolboxConfiguration version="7.0">
	<!--
        This is an example comment.
	-->
	<Plan>
                <ContextConfig>default</ContextConfig>
		<SUMO>default</SUMO>
		<LevelPlot>default</LevelPlot>
		<Simulator>Math/Academic/Academic2DTwice.xml</Simulator>
                <Run name="" repeat="1">
			<InitialDesign>lhdWithCornerPoints</InitialDesign>
			<SampleSelector>random</SampleSelector>
			<SampleEvaluator>matlab</SampleEvaluator>
			<AdaptiveModelBuilder>kriging</AdaptiveModelBuilder>
			<Measure type="CrossValidation" target="0.01" errorFcn="rootRelativeSquareError" use="on" />
			<Outputs>
				<Output name="out">
				</Output>
				<Output name="outinverse">
				</Output>
			</Outputs>
		</Run>
	</Plan>

        <ContextConfig id="default">
        	...
	</ContextConfig>

	<Logging>
        	...
	</Logging>

	<LevelPlot id="default" type="LevelPlot" combineOutputs="true">
        	...
    	</LevelPlot>	

	<SUMO id="default" type="SUMO">
        	...
	</SUMO>

        <SampleEvaluator id="matlab" type="ibbt.sumo.sampleevaluators.matlab.MatlabSampleEvaluator">
		...
	</SampleEvaluator>

	<SampleSelector id="random" type="RandomSampleSelector" combineOutputs="false"/>

	<AdaptiveModelBuilder id="kriging" type="AdaptiveModelBuilder" combineOutputs="false">
        	...
        </AdaptiveModelBuilder>	
	
	<InitialDesign id="lhdWithCornerPoints" type="CombinedDesign">
        	...
	</InitialDesign>
</ToolboxConfiguration>