Created
March 24, 2014 15:17
-
-
Save reyoung/9742205 to your computer and use it in GitHub Desktop.
A Feed Forward Network XML Schema Definition file for casanova machine learning system.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" | |
targetNamespace="http://robocup.tju.edu.cn" | |
xmlns="http://robocup.tju.edu.cn" | |
elementFormDefault="qualified"> | |
<xs:simpleType name="activationType"> | |
<xs:restriction base="xs:string"> | |
<xs:enumeration value="sigmoid"/> | |
<xs:enumeration value="tanh"/> | |
<xs:enumeration value="softmax"/> | |
</xs:restriction> | |
</xs:simpleType> | |
<xs:element name="network"> | |
<xs:complexType> | |
<xs:all> | |
<xs:element name="name" type="xs:string" minOccurs="1"/> | |
<xs:element name="layer" minOccurs="1"> | |
<xs:complexType> | |
<xs:sequence> | |
<xs:element name="input" minOccurs="1" maxOccurs="1"> | |
<xs:complexType> | |
<xs:simpleContent> | |
<xs:extension base="xs:nonNegativeInteger"> | |
<xs:attribute name="bias" type="xs:boolean" default="true" use="required"/> | |
</xs:extension> | |
</xs:simpleContent> | |
</xs:complexType> | |
</xs:element> | |
<xs:element name="hidden" minOccurs="0" maxOccurs="unbounded"> | |
<xs:complexType> | |
<xs:simpleContent> | |
<xs:extension base="xs:nonNegativeInteger"> | |
<xs:attribute name="bias" type="xs:boolean" default="true" use="required"/> | |
<xs:attribute name="activation" type="activationType" use="required"/> | |
</xs:extension> | |
</xs:simpleContent> | |
</xs:complexType> | |
</xs:element> | |
<xs:element name="output" minOccurs="1" maxOccurs="1"> | |
<xs:complexType> | |
<xs:simpleContent> | |
<xs:extension base="xs:nonNegativeInteger"> | |
<xs:attribute name="activation" type="activationType" use="required"/> | |
</xs:extension> | |
</xs:simpleContent> | |
</xs:complexType> | |
</xs:element> | |
</xs:sequence> | |
</xs:complexType> | |
</xs:element> | |
<xs:element name="weights" minOccurs="0" maxOccurs="1"> | |
<xs:complexType> | |
<xs:sequence> | |
<xs:element name="weight" minOccurs="1" maxOccurs="unbounded" type="xs:double" /> | |
</xs:sequence> | |
</xs:complexType> | |
</xs:element> | |
</xs:all> | |
</xs:complexType> | |
</xs:element> | |
</xs:schema> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment