Git Product home page Git Product logo

schemas's Introduction

AnIML XML schemas

Welcome to the Analytical Information Markup Language (AnIML).

This repository is the home of the AnIML Core Schema and the AnIML Technique Schema.

http://www.animl.org

schemas's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

schemas's Issues

Specify a new "mixed" type for technique definitions

Currently a series can have AllTypeNameList (parameters as well) and while it is most often suitable to specify the type it is sometimes not generic enough, e.g. one can have a table of key/value pairs and each value might be a different type.

The XML can easily express this using a mixture of <S>, <I>, ... in a table or parameter but there is now way to express this in the technique definition.

I therefore like to suggest to specify an "Any" Type that can be used for whatever type is desired, this is similar to "numeric" where it allows any integer or floating point value (even though the spec is not clear for tables if a mixed value mode is acceptable).

Specify a new SeriesType for numeric lists and blob data

Currently AnIML specify three kind of series types

schemas/animl-core.xsd

Lines 606 to 608 in 96d00c6

<xsd:element ref="IndividualValueSet" maxOccurs="unbounded"/>
<xsd:element ref="EncodedValueSet" maxOccurs="unbounded"/>
<xsd:element ref="AutoIncrementedValueSet" maxOccurs="unbounded"/>

beside the AutoIncrementedValueSet they are all quite exhaustive in the result in terms of storage space and quite limited, e.g. the EncodedValueSet requires a specific encoding (while it is not completely specified how data is encoded), and IndividualValueSet always requires additional tags, also the XSD can not be used to effectively constrain the used values to the correct data type.

Because of this I'd like to propose two new types of value sets:

  1. NumbericValueSet what is of type xsd:list holding xsd:numeric types, this is much more space efficient (e.g. only a plain list of space delimited numbers) but still can hold different datatypes, so for a series of INT one might simply specify that all values have to be interpreted as such instead of wrapping the actual value.
  2. BlobValueSet what has an attribute encoding that specifies the data stored in it what might be a common type specified in the AnIML specification (e.g. gzip, RLE, delta-compressed-double, ...) or even custom types, which can hold either an element <data> (with base64 encoded data) or <reference> (that holds a reference e.g. to a file next to the animl, database id or similar) to offload the real data bytes and allows the xs:any content type so it can be enhanced with any required custom data.

(SI)UnitType is definited multiple times

astm.core.UnitType and astm.core.SIUnitType but also astm.technique.UnitType and astm.technique.SIUnitType exist, which causes problems when implementing this in strictly type safe languages such as Java from automatically generated code using xjc. It also looks like the definitions are completely redundant.

Add licensing information

Hi,
it would be great if this repo (actually, both AniML repos) carried some license information.
Which license to choose is of course up to you.
Yours,
Steffen

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.