Skip to content

Conversation

@TomFinley
Copy link
Contributor

@TomFinley TomFinley commented Dec 1, 2018

Fixes #1755.

At least initially staged as three commits, where we change some places, change the more difficult and rote places like tests and whatnot, then remove everything.

* Stop using IColumn in predicted label scorers.
* Stop using IColumn in static schema shape analysis.
* Stop using IColumn in linear model statistics creation.
* Stop using IColumn in FastTree statistics creation.
* Stop using IColumn in benchmarking.
* Stop using IColumn in many tests.
* Add minor conveniences to metadata builder.
* Allow metadata builder to have metadata of metadata.
* Add appropriate validation in certain places.
* Put warnings on an inappropriate method dealing with Batch that should not exist.
@TomFinley TomFinley added the API Issues pertaining the friendly API label Dec 1, 2018
@TomFinley TomFinley self-assigned this Dec 1, 2018
Copy link
Member

@sfilipi sfilipi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

Copy link
Member

@eerhardt eerhardt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

/// <param name="type">The metadata type.</param>
/// <param name="getter">The getter delegate.</param>
public void Add<TValue>(string name, ColumnType type, ValueGetter<TValue> getter)
/// <param name="metadata">Metadata of the input column. Note that metadata on a metadata column is somewhat rare
Copy link
Member

@wschin wschin Dec 3, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does input column mean here? Is it a metadata column (specified by name, type, getter) or a column which metadata will be attached to? Maybe change input column to metadata column added?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah. I'll think about this and handle in next PR after this.

@TomFinley TomFinley merged commit d6ad1b4 into dotnet:master Dec 3, 2018
@TomFinley TomFinley deleted the tfinley/IColumn branch March 6, 2019 16:32
@ghost ghost locked as resolved and limited conversation to collaborators Mar 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

API Issues pertaining the friendly API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants