source: trunk/CrossPare/experimentconfig.xsd @ 95

Last change on this file since 95 was 68, checked in by sherbold, 9 years ago
  • added the concept of result storages to the framework and implemented a very simple first prototype of a MySQLResultStorage (that currently only works with a locally running database)
  • Property svn:mime-type set to text/plain
File size: 3.2 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<xs:schema targetNamespace="experimentconfig"
3    elementFormDefault="qualified"
4    xmlns="experimentconfig"
5    xmlns:xs="http://www.w3.org/2001/XMLSchema"
6>
7  <xs:element name="config">
8    <xs:complexType>
9      <xs:sequence minOccurs="1" maxOccurs="1">
10        <xs:element name="partialconfig" type="pathType" minOccurs="0" maxOccurs="unbounded"/>
11        <xs:element name="loader" type="datapathType" minOccurs="0" maxOccurs="unbounded"/>
12                <xs:element name="executionStrategy" type="xs:string" minOccurs="0" maxOccurs="1"/>
13                <xs:element name="saveClassifier" type="xs:string" minOccurs="0" maxOccurs="1" />
14        <xs:element name="resultspath" type="pathType" minOccurs="0" maxOccurs="1"/>
15        <xs:element name="versionfilter" type="setupType" minOccurs="0" maxOccurs="unbounded"/>
16        <xs:element name="testVersionfilter" type="setupType" minOccurs="0" maxOccurs="unbounded"/>
17        <xs:element name="trainVersionfilter" type="setupType" minOccurs="0" maxOccurs="unbounded"/>
18        <xs:element name="setwisepreprocessor" type="setupType" minOccurs="0" maxOccurs="unbounded"/>
19        <xs:element name="setwiseselector" type="setupType" minOccurs="0" maxOccurs="unbounded"/>
20        <xs:element name="setwisepostprocessor" type="setupType" minOccurs="0" maxOccurs="unbounded"/>
21        <xs:element name="setwisetrainer" type="setupType" minOccurs="0" maxOccurs="unbounded"/>
22        <xs:element name="setwisetestdataawaretrainer" type="metricMatchingType" minOccurs="0" maxOccurs="unbounded"/>
23        <xs:element name="preprocessor" type="setupType" minOccurs="0" maxOccurs="unbounded"/>
24        <xs:element name="pointwiseselector" type="setupType" minOccurs="0" maxOccurs="unbounded"/>
25        <xs:element name="postprocessor" type="setupType" minOccurs="0" maxOccurs="unbounded"/>
26        <xs:element name="trainer" type="setupType" minOccurs="0" maxOccurs="unbounded"/>
27        <xs:element name="testawaretrainer" type="setupType" minOccurs="0" maxOccurs="unbounded"/>
28        <xs:element name="eval" type="setupType" minOccurs="0" maxOccurs="unbounded"/>
29        <xs:element name="storage" type="setupType" minOccurs="0" maxOccurs="unbounded"/>
30        <xs:element name="partialconfig" type="pathType" minOccurs="0" maxOccurs="unbounded"/>
31      </xs:sequence>
32    </xs:complexType>
33  </xs:element>
34  <xs:complexType name="datapathType">
35    <xs:attribute name="name" type="xs:string" />
36    <xs:attribute name="datalocation" type="xs:string" />
37    <xs:attribute name="relative" type="xs:boolean" default="true"/>
38  </xs:complexType>
39  <xs:complexType name="pathType">
40    <xs:attribute name="path" type="xs:string" />
41    <xs:attribute name="relative" type="xs:boolean" default="true"/>
42  </xs:complexType>
43  <xs:complexType name="setupType">
44    <xs:attribute name="name" type="xs:string" />
45    <xs:attribute name="param" type="xs:string" />
46  </xs:complexType>
47  <xs:complexType name="metricMatchingType">
48    <xs:attribute name="name" type="xs:string" />
49    <xs:attribute name="param" type="xs:string" />
50    <xs:attribute name="method" type="xs:string" />
51    <xs:attribute name="threshold" type="xs:float" />
52  </xs:complexType>
53</xs:schema>
Note: See TracBrowser for help on using the repository browser.