Skip to content

Commit 8c9df9f

Browse files
committed
Update contact in error messages
1 parent 4937b5c commit 8c9df9f

File tree

3 files changed

+6
-15
lines changed

3 files changed

+6
-15
lines changed

src/Microsoft.ML.Data/Dirty/PredictorBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public abstract class PredictorBase<TOutput> : IPredictorProducing<TOutput>
1919
{
2020
public const string NormalizerWarningFormat =
2121
"Ignoring integrated normalizer while loading a predictor of type {0}.{1}" +
22-
" Please contact tlcsupp for assistance with converting legacy models.";
22+
" Please refer https://aka.ms/MLNetIssue for assistance with converting legacy models.";
2323

2424
protected readonly IHost Host;
2525

src/Microsoft.ML.Maml/MAML.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,16 +183,16 @@ internal static int MainCore(TlcEnvironment env, string args, bool alwaysPrintSt
183183
if (count == 0)
184184
{
185185
// Didn't recognize any of the exceptions.
186-
ch.Error(MessageSensitivity.None, "***** Unexpected failure. Please contact 'tlcsupp' with details *****");
186+
ch.Error(MessageSensitivity.None, "***** Unexpected failure. Please refer to https://aka.ms/MLNetIssue with details *****");
187187
if (isDumpSaved)
188188
{
189-
ch.Error(MessageSensitivity.None, "***** Error log has been saved to '{0}', please send this file to 'tlcsupp' *****",
189+
ch.Error(MessageSensitivity.None, "***** Error log has been saved to '{0}', please refer to https://aka.ms/MLNetIssue *****",
190190
dumpFilePath);
191191
}
192192
}
193193
else if (isDumpSaved)
194194
{
195-
ch.Error(MessageSensitivity.None, "Error log has been saved to '{0}'. Please send this file to 'tlcsupp' if you need assistance.",
195+
ch.Error(MessageSensitivity.None, "Error log has been saved to '{0}'. Please refer to https://aka.ms/MLNetIssue if you need assistance.",
196196
dumpFilePath);
197197
}
198198

src/Microsoft.ML.Sweeper/Algorithms/Grid.cs

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,7 @@ public virtual ParameterSet[] ProposeSweeps(int maxSweeps, IEnumerable<IRunResul
8080
(AlreadyGenerated(paramSet, prevParamSets) || AlreadyGenerated(paramSet, result)));
8181

8282
Contracts.Assert(paramSet != null);
83-
84-
if (!result.Contains(paramSet))
85-
{
86-
result.Add(paramSet);
87-
}
83+
result.Add(paramSet);
8884
}
8985

9086
return result.ToArray();
@@ -177,12 +173,7 @@ public override ParameterSet[] ProposeSweeps(int maxSweeps, IEnumerable<IRunResu
177173
if (!AlreadyGenerated(_cache[iPerm], prevParamSets))
178174
break;
179175
}
180-
181-
if(!_cache.Contains(_cache[iPerm]))
182-
{
183-
result.Add(_cache[iPerm]);
184-
}
185-
176+
result.Add(_cache[iPerm]);
186177
}
187178
return result.ToArray();
188179
}

0 commit comments

Comments
 (0)