-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Part 3] Added convenience constructors for set of transforms. #520
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
Changes from 2 commits
d9c4a29
6cd77eb
75a8b6d
d72a4ac
3dd9847
730fe93
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,10 +25,15 @@ namespace Microsoft.ML.Runtime.Data | |
/// </summary> | ||
public sealed class ProduceIdTransform : RowToRowTransformBase | ||
{ | ||
private static class Defaults | ||
{ | ||
public const string Column = "Id"; | ||
} | ||
|
||
|
||
public sealed class Arguments | ||
{ | ||
[Argument(ArgumentType.AtMostOnce, HelpText = "Name of the column to produce", ShortName = "col", SortOrder = 1)] | ||
public string Column = "Id"; | ||
public string Column = Defaults.Column; | ||
} | ||
|
||
private sealed class Bindings : ColumnBindingsBase | ||
|
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Empty? #Closed