Skip to content

Commit 702fc85

Browse files
committed
Minor cleaning
1 parent 6aabec6 commit 702fc85

32 files changed

+4
-7674
lines changed

src/Microsoft.ML.Legacy/CSharpApi.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2317,7 +2317,7 @@ public sealed partial class TextLoaderArguments
23172317
/// <summary>
23182318
/// Import a dataset from a text file
23192319
/// </summary>
2320-
[Obsolete("")]
2320+
[Obsolete]
23212321
public sealed partial class TextLoader : Microsoft.ML.Legacy.ILearningPipelineLoader
23222322
{
23232323

src/Microsoft.ML.Legacy/LearningPipelineDebugProxy.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ public PipelineItemDebugColumn()
236236
}
237237
}
238238

239+
[Obsolete]
239240
[DebuggerDisplay("{Values}")]
240241
internal class PipelineItemDebugRow
241242
{

src/Microsoft.ML.Legacy/Models/BinaryClassificationEvaluator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
using Microsoft.ML.Runtime;
66
using Microsoft.ML.Runtime.Data;
77
using Microsoft.ML.Legacy.Transforms;
8-
using System;
98

9+
#pragma warning disable 612
1010
namespace Microsoft.ML.Legacy.Models
1111
{
1212
public sealed partial class BinaryClassificationEvaluator

src/Microsoft.ML.Legacy/Models/ClusterEvaluator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
using Microsoft.ML.Legacy.Transforms;
66
using Microsoft.ML.Runtime;
77
using Microsoft.ML.Runtime.Data;
8-
using System;
98

9+
#pragma warning disable 612
1010
namespace Microsoft.ML.Legacy.Models
1111
{
1212
public sealed partial class ClusterEvaluator

src/Microsoft.ML.Legacy/Runtime/EntryPoints/ImportTextData.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ public sealed class Input
3131
public string CustomSchema = null;
3232
}
3333

34-
[Obsolete]
3534
[TlcModule.EntryPointKind(typeof(ILearningPipelineLoader))]
3635
public sealed class LoaderInput
3736
{
@@ -62,7 +61,6 @@ public static Output ImportText(IHostEnvironment env, Input input)
6261
}
6362
#pragma warning restore 0618
6463

65-
[Obsolete]
6664
[TlcModule.EntryPoint(Name = "Data.TextLoader", Desc = "Import a dataset from a text file")]
6765
public static Output TextLoader(IHostEnvironment env, LoaderInput input)
6866
{

src/Microsoft.ML.Legacy/Trainers/LightGBM.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33
// See the LICENSE file in the project root for more information.
44

5-
using System;
6-
75
namespace Microsoft.ML.Legacy.Trainers
86
{
97
/// <summary>

src/Microsoft.ML.PipelineInference/AutoInference.cs

Lines changed: 0 additions & 519 deletions
This file was deleted.

src/Microsoft.ML.PipelineInference/AutoMlEngines/DefaultsEngine.cs

Lines changed: 0 additions & 88 deletions
This file was deleted.

0 commit comments

Comments
 (0)