Skip to content

Commit 27cc11f

Browse files
committed
change.
1 parent fae1e29 commit 27cc11f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.ML.LightGbm/LightGbmRankingTrainer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public enum EvaluateMetricType
126126
/// <summary>
127127
/// Comma-separated list of gains associated with each relevance label.
128128
/// </summary>
129-
[Argument(ArgumentType.Multiple, HelpText = "An array of gains associated to each relevance label.", ShortName = "gains")]
129+
[Argument(ArgumentType.AtMostOnce, HelpText = "An array of gains associated to each relevance label.", ShortName = "gains")]
130130
[TGUI(Label = "Ranking Label Gain")]
131131
public int[] CustomGains = { 0, 3, 7, 15, 31, 63, 127, 255, 511, 1023, 2047, 4095 };
132132

0 commit comments

Comments
 (0)