Skip to content

Remove ColumnType "Is" properties (except IsKey and IsVector) #2023

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jan 4, 2019

Conversation

eerhardt
Copy link
Member

@eerhardt eerhardt commented Jan 4, 2019

Remove the following properties from ColumnType:

  • IsPrimitive
  • IsNumber
  • IsText
  • IsBool

And move IsStandardScalar to an extension method, so it can be left in ML.NET when ColumnType is extracted with IDataView to a separate package.

I plan on removing IsKey and IsVector each in their own PR along with the rest of the "Key" and "Vector" members on ColumnType.

Part of the work necessary for #1860

Copy link
Contributor

@TomFinley TomFinley left a comment

Choose a reason for hiding this comment

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

Excellent. Also helpful for #1533. Thanks @eerhardt !

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:

@eerhardt eerhardt merged commit 312f9e4 into dotnet:master Jan 4, 2019
@eerhardt eerhardt deleted the ColumnTypeIs branch January 4, 2019 23:55
@ghost ghost locked as resolved and limited conversation to collaborators Mar 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants