Skip to content

Need a doc on Type-to-DataView schema mapping #554

Description

@Zruty0

We should have a doc that describes exactly how we go from

        public class IrisData
        {
            [Column("0")]
            public float Label;

            [Column("1")]
            public float SepalLength;

            [Column("2")]
            public float SepalWidth;

            [Column("3")]
            public float PetalLength;

            [Column("4")]
            public float PetalWidth;
        }

to the schema of the data view. It should cover:

  • Why field types are important, and how they are used
  • What exactly is ColumnAttribute, ColumnNameAttribute
  • Handling of vectors and VectorTypeAttribute
  • Handling of key types and KeyTypeAttribute
  • SchemaDefinition as a means of runtime schema hints.
  • Limitations / what can not be done.

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentationRelated to documentation of ML.NET

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions