Skip to content

Commit b733c99

Browse files
committed
Internalize DefaultColumnNames utility class for storing const string literals.
1 parent 3d0783a commit b733c99

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/Microsoft.ML.Data/Commands/DefaultColumnNames.cs

+7-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,13 @@
44

55
namespace Microsoft.ML.Data
66
{
7-
public static class DefaultColumnNames
7+
/// <summary>
8+
/// A set of string literals intended to be "canonical" names for column names intended for particular purpose.
9+
/// While not part of the public API surface, its primary purpose is intended to be used in such a way as to encourage
10+
/// uniformity on the public API surface, wherever it is judged where columns with default names should be consumed.
11+
/// </summary>
12+
[BestFriend]
13+
internal static class DefaultColumnNames
814
{
915
public const string Features = "Features";
1016
public const string Label = "Label";

0 commit comments

Comments
 (0)