Skip to content

Final interface of Schema #1500

Closed
Closed
@Zruty0

Description

@Zruty0

As we have agreed on the API reviews, we will make the following modifications to Schema:

  • Make it an ICollection<Schema.Column>
  • Expand Column class to contain 2 fields: IsHidden and Index.
  • Remove all methods except those exposed by collections, this accessors and GetColumnOrNull.
  • Make constructors internal. Create a SchemaBuilder (in a different namespace Microsoft.ML.Schema) that would be responsible to building the schema.
    • This is to make it more obvious that columns are NOT reused by different schemas.
  • Move Schema.Metadata.Builder into a separate class MetadataBuilder in namespace Microsoft.ML.Schema.
  • Finally, probably rename to DataSchema

Metadata

Metadata

Assignees

Labels

APIIssues pertaining the friendly API

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions