Skip to content

Commit 0c62e30

Browse files
authored
Remove Runtime from all namespaces. (#1956)
1 parent 00577c0 commit 0c62e30

File tree

923 files changed

+8295
-8714
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

923 files changed

+8295
-8714
lines changed

docs/samples/Microsoft.ML.Samples/Dynamic/Calibrator.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Microsoft.ML.Calibrator;
2-
using Microsoft.ML.Runtime;
3-
using Microsoft.ML.Runtime.Data;
2+
using Microsoft.ML;
3+
using Microsoft.ML.Data;
44
using System;
55
using System.Linq;
66

docs/samples/Microsoft.ML.Samples/Dynamic/ConcatTransform.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using Microsoft.ML.Data;
2-
using Microsoft.ML.Runtime.Data;
32
using Microsoft.ML.Transforms;
43
using System;
54
using System.Collections.Generic;

docs/samples/Microsoft.ML.Samples/Dynamic/FastTreeRegression.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
using Microsoft.ML.Runtime.Data;
2-
using Microsoft.ML.Data;
1+
using Microsoft.ML.Data;
32
using System;
43
using System.Collections.Generic;
54

docs/samples/Microsoft.ML.Samples/Dynamic/FeatureContributionCalculationTransform.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using Microsoft.ML.Data;
2-
using Microsoft.ML.Runtime.Data;
32
using System;
43

54
namespace Microsoft.ML.Samples.Dynamic

docs/samples/Microsoft.ML.Samples/Dynamic/FeatureSelectionTransform.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using Microsoft.ML.Data;
2-
using Microsoft.ML.Runtime.Data;
32
using System;
43
using System.Collections.Generic;
54

docs/samples/Microsoft.ML.Samples/Dynamic/FieldAwareFactorizationMachine.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
using Microsoft.ML.Runtime.Data;
2-
using Microsoft.ML.Runtime.FactorizationMachine;
1+
using Microsoft.ML.Data;
32
using System;
4-
using System.Linq;
5-
63
namespace Microsoft.ML.Samples.Dynamic
74
{
85
public class FFM_BinaryClassificationExample

docs/samples/Microsoft.ML.Samples/Dynamic/GeneralizedAdditiveModels.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using Microsoft.ML.Runtime.Data;
1+
using Microsoft.ML.Data;
22
using System;
33
using System.Linq;
44

docs/samples/Microsoft.ML.Samples/Dynamic/IidChangePointDetectorTransform.cs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
4+
15
using System;
26
using System.Linq;
37
using System.Collections.Generic;
4-
using Microsoft.ML.Runtime.Data;
5-
using Microsoft.ML.Runtime;
6-
using Microsoft.ML.Runtime.TimeSeriesProcessing;
8+
using Microsoft.ML.Data;
9+
using Microsoft.ML.TimeSeriesProcessing;
710
using Microsoft.ML.Core.Data;
811
using Microsoft.ML.TimeSeries;
912
using System.IO;
10-
using Microsoft.ML.Data;
1113

1214
namespace Microsoft.ML.Samples.Dynamic
1315
{

docs/samples/Microsoft.ML.Samples/Dynamic/IidSpikeDetectorTransform.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
using System.Linq;
44
using System.Collections.Generic;
55
using Microsoft.ML.Data;
6-
using Microsoft.ML.Runtime.Data;
7-
using Microsoft.ML.Runtime;
8-
using Microsoft.ML.Runtime.TimeSeriesProcessing;
6+
using Microsoft.ML.TimeSeriesProcessing;
97
using Microsoft.ML.Core.Data;
108
using Microsoft.ML.TimeSeries;
119

docs/samples/Microsoft.ML.Samples/Dynamic/KMeans.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using Microsoft.ML.Data;
2-
using Microsoft.ML.Runtime.Data;
32
using System;
43

54
namespace Microsoft.ML.Samples.Dynamic

docs/samples/Microsoft.ML.Samples/Dynamic/KeyToValue_Term.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
using Microsoft.ML.Data;
2-
using Microsoft.ML.Runtime;
3-
using Microsoft.ML.Runtime.Data;
42
using Microsoft.ML.Transforms.Conversions;
53
using Microsoft.ML.Transforms.Text;
64
using System;

docs/samples/Microsoft.ML.Samples/Dynamic/LdaTransform.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
using Microsoft.ML.Data;
2-
using Microsoft.ML.Runtime;
3-
using Microsoft.ML.Runtime.Data;
42
using System;
53
using System.Collections.Generic;
64

docs/samples/Microsoft.ML.Samples/Dynamic/MatrixFactorization.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using Microsoft.ML.Data;
2-
using Microsoft.ML.Runtime.Data;
32
using System;
43
using System.Collections.Generic;
54

docs/samples/Microsoft.ML.Samples/Dynamic/NgramExtraction.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
using Microsoft.ML.Data;
2-
using Microsoft.ML.Runtime;
3-
using Microsoft.ML.Runtime.Data;
42
using System;
53
using System.Collections.Generic;
64

docs/samples/Microsoft.ML.Samples/Dynamic/Normalizer.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using Microsoft.ML.Data;
2-
using Microsoft.ML.Runtime;
32
using Microsoft.ML.Transforms.Normalizers;
43
using System;
54
using System.Collections.Generic;

docs/samples/Microsoft.ML.Samples/Dynamic/OnnxTransform.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using Microsoft.ML.Data;
22
using Microsoft.ML.OnnxRuntime;
3-
using Microsoft.ML.Runtime.Data;
43
using Microsoft.ML.Transforms;
54
using System;
65
using System.Linq;

docs/samples/Microsoft.ML.Samples/Dynamic/PermutationFeatureImportance/PFIHelper.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
using Microsoft.ML.Runtime.Data;
2-
using Microsoft.ML.Runtime.Learners;
1+
using Microsoft.ML.Data;
2+
using Microsoft.ML.Learners;
33
using Microsoft.ML.Trainers.HalLearners;
44
using System;
55
using System.Linq;

docs/samples/Microsoft.ML.Samples/Dynamic/PermutationFeatureImportance/PfiBinaryClassificationExample.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using Microsoft.ML.Runtime.Learners;
1+
using Microsoft.ML.Learners;
22
using System;
33
using System.Linq;
44

docs/samples/Microsoft.ML.Samples/Dynamic/ProjectionTransforms.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
using Microsoft.ML.Runtime;
2-
using Microsoft.ML.Runtime.Data;
3-
using Microsoft.ML.Data;
1+
using Microsoft.ML.Data;
42
using System;
53
using System.Collections.Generic;
64
using System.Linq;

docs/samples/Microsoft.ML.Samples/Dynamic/SDCA.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using Microsoft.ML.Runtime.Data;
1+
using Microsoft.ML.Data;
22
using System;
33
using System.Linq;
44

docs/samples/Microsoft.ML.Samples/Dynamic/SsaChangePointDetectorTransform.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using Microsoft.ML.Core.Data;
22
using Microsoft.ML.Data;
3-
using Microsoft.ML.Runtime;
4-
using Microsoft.ML.Runtime.TimeSeriesProcessing;
3+
using Microsoft.ML.TimeSeriesProcessing;
54
using Microsoft.ML.TimeSeries;
65
using System;
76
using System.Collections.Generic;

docs/samples/Microsoft.ML.Samples/Dynamic/SsaSpikeDetectorTransform.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using Microsoft.ML.Core.Data;
22
using Microsoft.ML.Data;
3-
using Microsoft.ML.Runtime.Data;
4-
using Microsoft.ML.Runtime.TimeSeriesProcessing;
3+
using Microsoft.ML.TimeSeriesProcessing;
54
using Microsoft.ML.TimeSeries;
65
using System;
76
using System.Collections.Generic;

docs/samples/Microsoft.ML.Samples/Dynamic/TensorFlowTransform.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using Microsoft.ML.Data;
2-
using Microsoft.ML.Runtime.Data;
32
using System;
43
using System.Linq;
54

docs/samples/Microsoft.ML.Samples/Dynamic/TextTransform.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
using Microsoft.ML.Runtime.Data;
2-
using Microsoft.ML.Runtime;
3-
using Microsoft.ML.Data;
1+
using Microsoft.ML.Data;
42
using Microsoft.ML.Transforms.Text;
53
using System;
64
using System.Collections.Generic;

docs/samples/Microsoft.ML.Samples/Static/AveragedPerceptronBinaryClassification.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
using Microsoft.ML.Runtime.Data;
1+
using Microsoft.ML.Data;
22
using Microsoft.ML.StaticPipe;
33
using Microsoft.ML.Transforms;
4-
using Microsoft.ML.Transforms.Categorical;
54
using System;
65

76
namespace Microsoft.ML.Samples.Static

docs/samples/Microsoft.ML.Samples/Static/FastTreeBinaryClassification.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
using Microsoft.ML.Runtime.Data;
1+
using Microsoft.ML.Data;
22
using Microsoft.ML.StaticPipe;
33
using Microsoft.ML.Transforms;
4-
using Microsoft.ML.Transforms.Categorical;
5-
using Microsoft.ML.Transforms.FeatureSelection;
64
using System;
75

86
namespace Microsoft.ML.Samples.Static

docs/samples/Microsoft.ML.Samples/Static/FastTreeRegression.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using Microsoft.ML.Runtime.Data;
1+
using Microsoft.ML.Data;
22
using Microsoft.ML.Trainers.FastTree;
33
using Microsoft.ML.StaticPipe;
44
using System;

docs/samples/Microsoft.ML.Samples/Static/FeatureSelectionTransform.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using Microsoft.ML.Data;
2-
using Microsoft.ML.Runtime.Data;
32
using Microsoft.ML.StaticPipe;
43
using System;
54
using System.Collections.Generic;

docs/samples/Microsoft.ML.Samples/Static/LightGBMBinaryClassification.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
using Microsoft.ML.LightGBM.StaticPipe;
2-
using Microsoft.ML.Runtime.Data;
1+
using Microsoft.ML.LightGBM.StaticPipe;
2+
using Microsoft.ML.Data;
33
using Microsoft.ML.StaticPipe;
4+
using Microsoft.ML.Transforms;
45
using System;
56

67
namespace Microsoft.ML.Samples.Static

docs/samples/Microsoft.ML.Samples/Static/LightGBMRegression.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
using Microsoft.ML.Runtime.Data;
2-
using Microsoft.ML.Runtime.LightGBM;
31
using Microsoft.ML.LightGBM.StaticPipe;
2+
using Microsoft.ML.Data;
3+
using Microsoft.ML.LightGBM;
4+
using Microsoft.ML.StaticPipe;
45
using System;
56

67
namespace Microsoft.ML.Samples.Static

docs/samples/Microsoft.ML.Samples/Static/SDCABinaryClassification.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
using Microsoft.ML.Runtime.Data;
1+
using Microsoft.ML.Data;
22
using Microsoft.ML.StaticPipe;
33
using Microsoft.ML.Transforms;
4-
using Microsoft.ML.Transforms.Categorical;
5-
using Microsoft.ML.Transforms.FeatureSelection;
64
using System;
75

86
namespace Microsoft.ML.Samples.Static

docs/samples/Microsoft.ML.Samples/Static/SDCARegression.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
using Microsoft.ML.Runtime.Data;
2-
using Microsoft.ML.Runtime.Learners;
1+
using Microsoft.ML.Data;
2+
using Microsoft.ML.Learners;
33
using Microsoft.ML.StaticPipe;
44
using System;
55

src/Microsoft.ML.Console/Console.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
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-
namespace Microsoft.ML.Runtime.Tools.Console
5+
namespace Microsoft.ML.Tools.Console
66
{
77
public static class Console
88
{

src/Microsoft.ML.Console/Microsoft.ML.Console.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<TargetFramework>netcoreapp2.1</TargetFramework>
55
<OutputType>Exe</OutputType>
66
<AssemblyName>MML</AssemblyName>
7-
<StartupObject>Microsoft.ML.Runtime.Tools.Console.Console</StartupObject>
7+
<StartupObject>Microsoft.ML.Tools.Console.Console</StartupObject>
88
</PropertyGroup>
99

1010
<ItemGroup>

src/Microsoft.ML.Core/BestFriendAttribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
#if CPUMATH_INFRASTRUCTURE
88
// CpuMath has its own BestFriend and WantsToBeBestFriends attributes for making itself a standalone module
9-
namespace Microsoft.ML.Runtime.Internal.CpuMath.Core
9+
namespace Microsoft.ML.Internal.CpuMath.Core
1010
#else
1111
// This namespace contains the BestFriend and WantsToBeBestFriends attributes generally used in ML.NET project settings
1212
namespace Microsoft.ML

src/Microsoft.ML.Core/CommandLine/ArgumentAttribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using System;
66
using System.Linq;
77

8-
namespace Microsoft.ML.Runtime.CommandLine
8+
namespace Microsoft.ML.CommandLine
99
{
1010
/// <summary>
1111
/// Allows control of command line parsing.

src/Microsoft.ML.Core/CommandLine/ArgumentType.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
using System;
66

7-
namespace Microsoft.ML.Runtime.CommandLine
7+
namespace Microsoft.ML.CommandLine
88
{
99
/// <summary>
1010
/// Used to control parsing of command line arguments.

src/Microsoft.ML.Core/CommandLine/CharCursor.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
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 Microsoft.ML.Runtime.Internal.Utilities;
5+
using Microsoft.ML.Internal.Utilities;
66

7-
namespace Microsoft.ML.Runtime.CommandLine
7+
namespace Microsoft.ML.CommandLine
88
{
99
internal sealed class CharCursor
1010
{

src/Microsoft.ML.Core/CommandLine/CmdLexer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
using System.Text;
66

7-
namespace Microsoft.ML.Runtime.CommandLine
7+
namespace Microsoft.ML.CommandLine
88
{
99
[BestFriend]
1010
internal sealed class CmdLexer

src/Microsoft.ML.Core/CommandLine/CmdParser.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,10 @@
99
using System.IO;
1010
using System.Linq;
1111
using System.Reflection;
12-
using System.Runtime.InteropServices;
1312
using System.Text;
14-
using Microsoft.ML.Runtime.EntryPoints;
15-
using Microsoft.ML.Runtime.Internal.Utilities;
13+
using Microsoft.ML.Internal.Utilities;
1614

17-
namespace Microsoft.ML.Runtime.CommandLine
15+
namespace Microsoft.ML.CommandLine
1816
{
1917

2018
/// <summary>

src/Microsoft.ML.Core/CommandLine/DefaultArgumentAttribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
using System;
66

7-
namespace Microsoft.ML.Runtime.CommandLine
7+
namespace Microsoft.ML.CommandLine
88
{
99
/// <summary>
1010
/// Indicates that this argument is the default argument.

src/Microsoft.ML.Core/CommandLine/EnumValueDisplayAttribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
using System;
66

7-
namespace Microsoft.ML.Runtime.CommandLine
7+
namespace Microsoft.ML.CommandLine
88
{
99
/// <summary>
1010
/// On an enum value - specifies the display name.

src/Microsoft.ML.Core/CommandLine/HideEnumValueAttribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
using System;
66

7-
namespace Microsoft.ML.Runtime.CommandLine
7+
namespace Microsoft.ML.CommandLine
88
{
99
/// <summary>
1010
/// On an enum value - indicates that the value should not be shown in help or UI.

src/Microsoft.ML.Core/CommandLine/SpecialPurpose.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
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-
namespace Microsoft.ML.Runtime.CommandLine
5+
namespace Microsoft.ML.CommandLine
66
{
77
[BestFriend]
88
internal static class SpecialPurpose

src/Microsoft.ML.Core/ComponentModel/AssemblyLoadingUtils.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
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 Microsoft.ML.Runtime.Internal.Utilities;
5+
using Microsoft.ML.Internal.Utilities;
66
using System;
77
using System.IO;
88
using System.IO.Compression;
99
using System.Reflection;
1010

11-
namespace Microsoft.ML.Runtime
11+
namespace Microsoft.ML
1212
{
1313
[Obsolete("The usage for this is intended for the internal command line utilities and is not intended for anything related to the API. " +
1414
"Please consider another way of doing whatever it is you're attempting to accomplish.")]
@@ -159,7 +159,7 @@ private static bool ShouldSkipPath(string path)
159159
case "neuraltreeevaluator.dll":
160160
case "optimizationbuilderdotnet.dll":
161161
case "parallelcommunicator.dll":
162-
case "microsoft.ml.runtime.runtests.dll":
162+
case "Microsoft.ML.runtests.dll":
163163
case "scopecompiler.dll":
164164
case "symsgdnative.dll":
165165
case "tbb.dll":

0 commit comments

Comments
 (0)