diff --git a/docs/samples/Microsoft.ML.Samples/Dynamic/Calibrator.cs b/docs/samples/Microsoft.ML.Samples/Dynamic/Calibrator.cs
index 96339d44fa..865fba994f 100644
--- a/docs/samples/Microsoft.ML.Samples/Dynamic/Calibrator.cs
+++ b/docs/samples/Microsoft.ML.Samples/Dynamic/Calibrator.cs
@@ -1,6 +1,6 @@
using Microsoft.ML.Calibrator;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML;
+using Microsoft.ML.Data;
using System;
using System.Linq;
diff --git a/docs/samples/Microsoft.ML.Samples/Dynamic/ConcatTransform.cs b/docs/samples/Microsoft.ML.Samples/Dynamic/ConcatTransform.cs
index 9ac39e2cd4..8f1cd6e06e 100644
--- a/docs/samples/Microsoft.ML.Samples/Dynamic/ConcatTransform.cs
+++ b/docs/samples/Microsoft.ML.Samples/Dynamic/ConcatTransform.cs
@@ -1,5 +1,4 @@
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.Data;
using Microsoft.ML.Transforms;
using System;
using System.Collections.Generic;
diff --git a/docs/samples/Microsoft.ML.Samples/Dynamic/FastTreeRegression.cs b/docs/samples/Microsoft.ML.Samples/Dynamic/FastTreeRegression.cs
index 634513c6de..2fcd6f41f4 100644
--- a/docs/samples/Microsoft.ML.Samples/Dynamic/FastTreeRegression.cs
+++ b/docs/samples/Microsoft.ML.Samples/Dynamic/FastTreeRegression.cs
@@ -1,5 +1,4 @@
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Data;
+using Microsoft.ML.Data;
using System;
using System.Collections.Generic;
diff --git a/docs/samples/Microsoft.ML.Samples/Dynamic/FeatureContributionCalculationTransform.cs b/docs/samples/Microsoft.ML.Samples/Dynamic/FeatureContributionCalculationTransform.cs
index 3daf76f856..c7ebf84504 100644
--- a/docs/samples/Microsoft.ML.Samples/Dynamic/FeatureContributionCalculationTransform.cs
+++ b/docs/samples/Microsoft.ML.Samples/Dynamic/FeatureContributionCalculationTransform.cs
@@ -1,5 +1,4 @@
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.Data;
using System;
namespace Microsoft.ML.Samples.Dynamic
diff --git a/docs/samples/Microsoft.ML.Samples/Dynamic/FeatureSelectionTransform.cs b/docs/samples/Microsoft.ML.Samples/Dynamic/FeatureSelectionTransform.cs
index f0d0442d42..f7d922db30 100644
--- a/docs/samples/Microsoft.ML.Samples/Dynamic/FeatureSelectionTransform.cs
+++ b/docs/samples/Microsoft.ML.Samples/Dynamic/FeatureSelectionTransform.cs
@@ -1,5 +1,4 @@
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.Data;
using System;
using System.Collections.Generic;
diff --git a/docs/samples/Microsoft.ML.Samples/Dynamic/FieldAwareFactorizationMachine.cs b/docs/samples/Microsoft.ML.Samples/Dynamic/FieldAwareFactorizationMachine.cs
index eeffd8214e..5b22c7d416 100644
--- a/docs/samples/Microsoft.ML.Samples/Dynamic/FieldAwareFactorizationMachine.cs
+++ b/docs/samples/Microsoft.ML.Samples/Dynamic/FieldAwareFactorizationMachine.cs
@@ -1,8 +1,5 @@
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.FactorizationMachine;
+using Microsoft.ML.Data;
using System;
-using System.Linq;
-
namespace Microsoft.ML.Samples.Dynamic
{
public class FFM_BinaryClassificationExample
diff --git a/docs/samples/Microsoft.ML.Samples/Dynamic/GeneralizedAdditiveModels.cs b/docs/samples/Microsoft.ML.Samples/Dynamic/GeneralizedAdditiveModels.cs
index ae05e606d4..81f8d7a306 100644
--- a/docs/samples/Microsoft.ML.Samples/Dynamic/GeneralizedAdditiveModels.cs
+++ b/docs/samples/Microsoft.ML.Samples/Dynamic/GeneralizedAdditiveModels.cs
@@ -1,4 +1,4 @@
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML.Data;
using System;
using System.Linq;
diff --git a/docs/samples/Microsoft.ML.Samples/Dynamic/IidChangePointDetectorTransform.cs b/docs/samples/Microsoft.ML.Samples/Dynamic/IidChangePointDetectorTransform.cs
index 773410e542..8d1df4632e 100644
--- a/docs/samples/Microsoft.ML.Samples/Dynamic/IidChangePointDetectorTransform.cs
+++ b/docs/samples/Microsoft.ML.Samples/Dynamic/IidChangePointDetectorTransform.cs
@@ -1,13 +1,15 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
using System;
using System.Linq;
using System.Collections.Generic;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.TimeSeriesProcessing;
+using Microsoft.ML.Data;
+using Microsoft.ML.TimeSeriesProcessing;
using Microsoft.ML.Core.Data;
using Microsoft.ML.TimeSeries;
using System.IO;
-using Microsoft.ML.Data;
namespace Microsoft.ML.Samples.Dynamic
{
diff --git a/docs/samples/Microsoft.ML.Samples/Dynamic/IidSpikeDetectorTransform.cs b/docs/samples/Microsoft.ML.Samples/Dynamic/IidSpikeDetectorTransform.cs
index 308c47932f..2d51bdba64 100644
--- a/docs/samples/Microsoft.ML.Samples/Dynamic/IidSpikeDetectorTransform.cs
+++ b/docs/samples/Microsoft.ML.Samples/Dynamic/IidSpikeDetectorTransform.cs
@@ -3,9 +3,7 @@
using System.Linq;
using System.Collections.Generic;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.TimeSeriesProcessing;
+using Microsoft.ML.TimeSeriesProcessing;
using Microsoft.ML.Core.Data;
using Microsoft.ML.TimeSeries;
diff --git a/docs/samples/Microsoft.ML.Samples/Dynamic/KMeans.cs b/docs/samples/Microsoft.ML.Samples/Dynamic/KMeans.cs
index fc678ed24d..2dff3d5b3c 100644
--- a/docs/samples/Microsoft.ML.Samples/Dynamic/KMeans.cs
+++ b/docs/samples/Microsoft.ML.Samples/Dynamic/KMeans.cs
@@ -1,5 +1,4 @@
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.Data;
using System;
namespace Microsoft.ML.Samples.Dynamic
diff --git a/docs/samples/Microsoft.ML.Samples/Dynamic/KeyToValue_Term.cs b/docs/samples/Microsoft.ML.Samples/Dynamic/KeyToValue_Term.cs
index 5ba169b38e..6acb34fc42 100644
--- a/docs/samples/Microsoft.ML.Samples/Dynamic/KeyToValue_Term.cs
+++ b/docs/samples/Microsoft.ML.Samples/Dynamic/KeyToValue_Term.cs
@@ -1,6 +1,4 @@
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
using Microsoft.ML.Transforms.Conversions;
using Microsoft.ML.Transforms.Text;
using System;
diff --git a/docs/samples/Microsoft.ML.Samples/Dynamic/LdaTransform.cs b/docs/samples/Microsoft.ML.Samples/Dynamic/LdaTransform.cs
index 79c074e7b3..c0d9637bd1 100644
--- a/docs/samples/Microsoft.ML.Samples/Dynamic/LdaTransform.cs
+++ b/docs/samples/Microsoft.ML.Samples/Dynamic/LdaTransform.cs
@@ -1,6 +1,4 @@
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
using System;
using System.Collections.Generic;
diff --git a/docs/samples/Microsoft.ML.Samples/Dynamic/MatrixFactorization.cs b/docs/samples/Microsoft.ML.Samples/Dynamic/MatrixFactorization.cs
index f8603ea524..a6bfd4ce57 100644
--- a/docs/samples/Microsoft.ML.Samples/Dynamic/MatrixFactorization.cs
+++ b/docs/samples/Microsoft.ML.Samples/Dynamic/MatrixFactorization.cs
@@ -1,5 +1,4 @@
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.Data;
using System;
using System.Collections.Generic;
diff --git a/docs/samples/Microsoft.ML.Samples/Dynamic/NgramExtraction.cs b/docs/samples/Microsoft.ML.Samples/Dynamic/NgramExtraction.cs
index 5d1567753e..f7438a8494 100644
--- a/docs/samples/Microsoft.ML.Samples/Dynamic/NgramExtraction.cs
+++ b/docs/samples/Microsoft.ML.Samples/Dynamic/NgramExtraction.cs
@@ -1,6 +1,4 @@
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
using System;
using System.Collections.Generic;
diff --git a/docs/samples/Microsoft.ML.Samples/Dynamic/Normalizer.cs b/docs/samples/Microsoft.ML.Samples/Dynamic/Normalizer.cs
index a8de69a04d..50fe5ccf44 100644
--- a/docs/samples/Microsoft.ML.Samples/Dynamic/Normalizer.cs
+++ b/docs/samples/Microsoft.ML.Samples/Dynamic/Normalizer.cs
@@ -1,5 +1,4 @@
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
using Microsoft.ML.Transforms.Normalizers;
using System;
using System.Collections.Generic;
diff --git a/docs/samples/Microsoft.ML.Samples/Dynamic/OnnxTransform.cs b/docs/samples/Microsoft.ML.Samples/Dynamic/OnnxTransform.cs
index bb7b9a70c8..be5b9bcec0 100644
--- a/docs/samples/Microsoft.ML.Samples/Dynamic/OnnxTransform.cs
+++ b/docs/samples/Microsoft.ML.Samples/Dynamic/OnnxTransform.cs
@@ -1,6 +1,5 @@
using Microsoft.ML.Data;
using Microsoft.ML.OnnxRuntime;
-using Microsoft.ML.Runtime.Data;
using Microsoft.ML.Transforms;
using System;
using System.Linq;
diff --git a/docs/samples/Microsoft.ML.Samples/Dynamic/PermutationFeatureImportance/PFIHelper.cs b/docs/samples/Microsoft.ML.Samples/Dynamic/PermutationFeatureImportance/PFIHelper.cs
index 268864a788..07a1ac2225 100644
--- a/docs/samples/Microsoft.ML.Samples/Dynamic/PermutationFeatureImportance/PFIHelper.cs
+++ b/docs/samples/Microsoft.ML.Samples/Dynamic/PermutationFeatureImportance/PFIHelper.cs
@@ -1,5 +1,5 @@
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Learners;
+using Microsoft.ML.Data;
+using Microsoft.ML.Learners;
using Microsoft.ML.Trainers.HalLearners;
using System;
using System.Linq;
diff --git a/docs/samples/Microsoft.ML.Samples/Dynamic/PermutationFeatureImportance/PfiBinaryClassificationExample.cs b/docs/samples/Microsoft.ML.Samples/Dynamic/PermutationFeatureImportance/PfiBinaryClassificationExample.cs
index 250bbcd8d4..5c8c38649c 100644
--- a/docs/samples/Microsoft.ML.Samples/Dynamic/PermutationFeatureImportance/PfiBinaryClassificationExample.cs
+++ b/docs/samples/Microsoft.ML.Samples/Dynamic/PermutationFeatureImportance/PfiBinaryClassificationExample.cs
@@ -1,4 +1,4 @@
-using Microsoft.ML.Runtime.Learners;
+using Microsoft.ML.Learners;
using System;
using System.Linq;
diff --git a/docs/samples/Microsoft.ML.Samples/Dynamic/ProjectionTransforms.cs b/docs/samples/Microsoft.ML.Samples/Dynamic/ProjectionTransforms.cs
index b6246ab746..d16a5528e6 100644
--- a/docs/samples/Microsoft.ML.Samples/Dynamic/ProjectionTransforms.cs
+++ b/docs/samples/Microsoft.ML.Samples/Dynamic/ProjectionTransforms.cs
@@ -1,6 +1,4 @@
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Data;
+using Microsoft.ML.Data;
using System;
using System.Collections.Generic;
using System.Linq;
diff --git a/docs/samples/Microsoft.ML.Samples/Dynamic/SDCA.cs b/docs/samples/Microsoft.ML.Samples/Dynamic/SDCA.cs
index 09dea18ff1..499327c437 100644
--- a/docs/samples/Microsoft.ML.Samples/Dynamic/SDCA.cs
+++ b/docs/samples/Microsoft.ML.Samples/Dynamic/SDCA.cs
@@ -1,4 +1,4 @@
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML.Data;
using System;
using System.Linq;
diff --git a/docs/samples/Microsoft.ML.Samples/Dynamic/SsaChangePointDetectorTransform.cs b/docs/samples/Microsoft.ML.Samples/Dynamic/SsaChangePointDetectorTransform.cs
index d52fffb44a..aa94a0b49d 100644
--- a/docs/samples/Microsoft.ML.Samples/Dynamic/SsaChangePointDetectorTransform.cs
+++ b/docs/samples/Microsoft.ML.Samples/Dynamic/SsaChangePointDetectorTransform.cs
@@ -1,7 +1,6 @@
using Microsoft.ML.Core.Data;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.TimeSeriesProcessing;
+using Microsoft.ML.TimeSeriesProcessing;
using Microsoft.ML.TimeSeries;
using System;
using System.Collections.Generic;
diff --git a/docs/samples/Microsoft.ML.Samples/Dynamic/SsaSpikeDetectorTransform.cs b/docs/samples/Microsoft.ML.Samples/Dynamic/SsaSpikeDetectorTransform.cs
index bd6c81bb2a..090e680125 100644
--- a/docs/samples/Microsoft.ML.Samples/Dynamic/SsaSpikeDetectorTransform.cs
+++ b/docs/samples/Microsoft.ML.Samples/Dynamic/SsaSpikeDetectorTransform.cs
@@ -1,7 +1,6 @@
using Microsoft.ML.Core.Data;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.TimeSeriesProcessing;
+using Microsoft.ML.TimeSeriesProcessing;
using Microsoft.ML.TimeSeries;
using System;
using System.Collections.Generic;
diff --git a/docs/samples/Microsoft.ML.Samples/Dynamic/TensorFlowTransform.cs b/docs/samples/Microsoft.ML.Samples/Dynamic/TensorFlowTransform.cs
index 8c9fb477ba..46eb3f5242 100644
--- a/docs/samples/Microsoft.ML.Samples/Dynamic/TensorFlowTransform.cs
+++ b/docs/samples/Microsoft.ML.Samples/Dynamic/TensorFlowTransform.cs
@@ -1,5 +1,4 @@
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.Data;
using System;
using System.Linq;
diff --git a/docs/samples/Microsoft.ML.Samples/Dynamic/TextTransform.cs b/docs/samples/Microsoft.ML.Samples/Dynamic/TextTransform.cs
index 23933a03a2..5d3ab034de 100644
--- a/docs/samples/Microsoft.ML.Samples/Dynamic/TextTransform.cs
+++ b/docs/samples/Microsoft.ML.Samples/Dynamic/TextTransform.cs
@@ -1,6 +1,4 @@
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Data;
+using Microsoft.ML.Data;
using Microsoft.ML.Transforms.Text;
using System;
using System.Collections.Generic;
diff --git a/docs/samples/Microsoft.ML.Samples/Static/AveragedPerceptronBinaryClassification.cs b/docs/samples/Microsoft.ML.Samples/Static/AveragedPerceptronBinaryClassification.cs
index d2359526e9..68e4b35015 100644
--- a/docs/samples/Microsoft.ML.Samples/Static/AveragedPerceptronBinaryClassification.cs
+++ b/docs/samples/Microsoft.ML.Samples/Static/AveragedPerceptronBinaryClassification.cs
@@ -1,7 +1,6 @@
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML.Data;
using Microsoft.ML.StaticPipe;
using Microsoft.ML.Transforms;
-using Microsoft.ML.Transforms.Categorical;
using System;
namespace Microsoft.ML.Samples.Static
diff --git a/docs/samples/Microsoft.ML.Samples/Static/FastTreeBinaryClassification.cs b/docs/samples/Microsoft.ML.Samples/Static/FastTreeBinaryClassification.cs
index d28b7c79de..041d297645 100644
--- a/docs/samples/Microsoft.ML.Samples/Static/FastTreeBinaryClassification.cs
+++ b/docs/samples/Microsoft.ML.Samples/Static/FastTreeBinaryClassification.cs
@@ -1,8 +1,6 @@
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML.Data;
using Microsoft.ML.StaticPipe;
using Microsoft.ML.Transforms;
-using Microsoft.ML.Transforms.Categorical;
-using Microsoft.ML.Transforms.FeatureSelection;
using System;
namespace Microsoft.ML.Samples.Static
diff --git a/docs/samples/Microsoft.ML.Samples/Static/FastTreeRegression.cs b/docs/samples/Microsoft.ML.Samples/Static/FastTreeRegression.cs
index ba271b25ce..990bad111a 100644
--- a/docs/samples/Microsoft.ML.Samples/Static/FastTreeRegression.cs
+++ b/docs/samples/Microsoft.ML.Samples/Static/FastTreeRegression.cs
@@ -1,4 +1,4 @@
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML.Data;
using Microsoft.ML.Trainers.FastTree;
using Microsoft.ML.StaticPipe;
using System;
diff --git a/docs/samples/Microsoft.ML.Samples/Static/FeatureSelectionTransform.cs b/docs/samples/Microsoft.ML.Samples/Static/FeatureSelectionTransform.cs
index d38f428eea..a621cbbb14 100644
--- a/docs/samples/Microsoft.ML.Samples/Static/FeatureSelectionTransform.cs
+++ b/docs/samples/Microsoft.ML.Samples/Static/FeatureSelectionTransform.cs
@@ -1,5 +1,4 @@
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.Data;
using Microsoft.ML.StaticPipe;
using System;
using System.Collections.Generic;
diff --git a/docs/samples/Microsoft.ML.Samples/Static/LightGBMBinaryClassification.cs b/docs/samples/Microsoft.ML.Samples/Static/LightGBMBinaryClassification.cs
index ce02dc4864..48a374667c 100644
--- a/docs/samples/Microsoft.ML.Samples/Static/LightGBMBinaryClassification.cs
+++ b/docs/samples/Microsoft.ML.Samples/Static/LightGBMBinaryClassification.cs
@@ -1,6 +1,7 @@
-using Microsoft.ML.LightGBM.StaticPipe;
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML.LightGBM.StaticPipe;
+using Microsoft.ML.Data;
using Microsoft.ML.StaticPipe;
+using Microsoft.ML.Transforms;
using System;
namespace Microsoft.ML.Samples.Static
diff --git a/docs/samples/Microsoft.ML.Samples/Static/LightGBMRegression.cs b/docs/samples/Microsoft.ML.Samples/Static/LightGBMRegression.cs
index 505663190b..7c0ac7c6c6 100644
--- a/docs/samples/Microsoft.ML.Samples/Static/LightGBMRegression.cs
+++ b/docs/samples/Microsoft.ML.Samples/Static/LightGBMRegression.cs
@@ -1,6 +1,7 @@
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.LightGBM;
using Microsoft.ML.LightGBM.StaticPipe;
+using Microsoft.ML.Data;
+using Microsoft.ML.LightGBM;
+using Microsoft.ML.StaticPipe;
using System;
namespace Microsoft.ML.Samples.Static
diff --git a/docs/samples/Microsoft.ML.Samples/Static/SDCABinaryClassification.cs b/docs/samples/Microsoft.ML.Samples/Static/SDCABinaryClassification.cs
index 886342c416..474cec2b31 100644
--- a/docs/samples/Microsoft.ML.Samples/Static/SDCABinaryClassification.cs
+++ b/docs/samples/Microsoft.ML.Samples/Static/SDCABinaryClassification.cs
@@ -1,8 +1,6 @@
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML.Data;
using Microsoft.ML.StaticPipe;
using Microsoft.ML.Transforms;
-using Microsoft.ML.Transforms.Categorical;
-using Microsoft.ML.Transforms.FeatureSelection;
using System;
namespace Microsoft.ML.Samples.Static
diff --git a/docs/samples/Microsoft.ML.Samples/Static/SDCARegression.cs b/docs/samples/Microsoft.ML.Samples/Static/SDCARegression.cs
index 1ebb4cf1db..6efb66008f 100644
--- a/docs/samples/Microsoft.ML.Samples/Static/SDCARegression.cs
+++ b/docs/samples/Microsoft.ML.Samples/Static/SDCARegression.cs
@@ -1,5 +1,5 @@
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Learners;
+using Microsoft.ML.Data;
+using Microsoft.ML.Learners;
using Microsoft.ML.StaticPipe;
using System;
diff --git a/src/Microsoft.ML.Console/Console.cs b/src/Microsoft.ML.Console/Console.cs
index 152d65951a..549f222de7 100644
--- a/src/Microsoft.ML.Console/Console.cs
+++ b/src/Microsoft.ML.Console/Console.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-namespace Microsoft.ML.Runtime.Tools.Console
+namespace Microsoft.ML.Tools.Console
{
public static class Console
{
diff --git a/src/Microsoft.ML.Console/Microsoft.ML.Console.csproj b/src/Microsoft.ML.Console/Microsoft.ML.Console.csproj
index f7c87c0abd..7fadb9ea75 100644
--- a/src/Microsoft.ML.Console/Microsoft.ML.Console.csproj
+++ b/src/Microsoft.ML.Console/Microsoft.ML.Console.csproj
@@ -4,7 +4,7 @@
netcoreapp2.1
Exe
MML
- Microsoft.ML.Runtime.Tools.Console.Console
+ Microsoft.ML.Tools.Console.Console
diff --git a/src/Microsoft.ML.Core/BestFriendAttribute.cs b/src/Microsoft.ML.Core/BestFriendAttribute.cs
index 1470f95c34..19c70922e7 100644
--- a/src/Microsoft.ML.Core/BestFriendAttribute.cs
+++ b/src/Microsoft.ML.Core/BestFriendAttribute.cs
@@ -6,7 +6,7 @@
#if CPUMATH_INFRASTRUCTURE
// CpuMath has its own BestFriend and WantsToBeBestFriends attributes for making itself a standalone module
-namespace Microsoft.ML.Runtime.Internal.CpuMath.Core
+namespace Microsoft.ML.Internal.CpuMath.Core
#else
// This namespace contains the BestFriend and WantsToBeBestFriends attributes generally used in ML.NET project settings
namespace Microsoft.ML
diff --git a/src/Microsoft.ML.Core/CommandLine/ArgumentAttribute.cs b/src/Microsoft.ML.Core/CommandLine/ArgumentAttribute.cs
index 70f9ec8d98..fdc296d7f8 100644
--- a/src/Microsoft.ML.Core/CommandLine/ArgumentAttribute.cs
+++ b/src/Microsoft.ML.Core/CommandLine/ArgumentAttribute.cs
@@ -5,7 +5,7 @@
using System;
using System.Linq;
-namespace Microsoft.ML.Runtime.CommandLine
+namespace Microsoft.ML.CommandLine
{
///
/// Allows control of command line parsing.
diff --git a/src/Microsoft.ML.Core/CommandLine/ArgumentType.cs b/src/Microsoft.ML.Core/CommandLine/ArgumentType.cs
index 5840615fd5..d27acf9387 100644
--- a/src/Microsoft.ML.Core/CommandLine/ArgumentType.cs
+++ b/src/Microsoft.ML.Core/CommandLine/ArgumentType.cs
@@ -4,7 +4,7 @@
using System;
-namespace Microsoft.ML.Runtime.CommandLine
+namespace Microsoft.ML.CommandLine
{
///
/// Used to control parsing of command line arguments.
diff --git a/src/Microsoft.ML.Core/CommandLine/CharCursor.cs b/src/Microsoft.ML.Core/CommandLine/CharCursor.cs
index d8a591331c..85a60a7f36 100644
--- a/src/Microsoft.ML.Core/CommandLine/CharCursor.cs
+++ b/src/Microsoft.ML.Core/CommandLine/CharCursor.cs
@@ -2,9 +2,9 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Internal.Utilities;
-namespace Microsoft.ML.Runtime.CommandLine
+namespace Microsoft.ML.CommandLine
{
internal sealed class CharCursor
{
diff --git a/src/Microsoft.ML.Core/CommandLine/CmdLexer.cs b/src/Microsoft.ML.Core/CommandLine/CmdLexer.cs
index 7dc81ea8d2..ce4d6ef4d3 100644
--- a/src/Microsoft.ML.Core/CommandLine/CmdLexer.cs
+++ b/src/Microsoft.ML.Core/CommandLine/CmdLexer.cs
@@ -4,7 +4,7 @@
using System.Text;
-namespace Microsoft.ML.Runtime.CommandLine
+namespace Microsoft.ML.CommandLine
{
[BestFriend]
internal sealed class CmdLexer
diff --git a/src/Microsoft.ML.Core/CommandLine/CmdParser.cs b/src/Microsoft.ML.Core/CommandLine/CmdParser.cs
index 30ad079c13..cecb73fb4b 100644
--- a/src/Microsoft.ML.Core/CommandLine/CmdParser.cs
+++ b/src/Microsoft.ML.Core/CommandLine/CmdParser.cs
@@ -9,12 +9,10 @@
using System.IO;
using System.Linq;
using System.Reflection;
-using System.Runtime.InteropServices;
using System.Text;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Internal.Utilities;
-namespace Microsoft.ML.Runtime.CommandLine
+namespace Microsoft.ML.CommandLine
{
///
diff --git a/src/Microsoft.ML.Core/CommandLine/DefaultArgumentAttribute.cs b/src/Microsoft.ML.Core/CommandLine/DefaultArgumentAttribute.cs
index 2d676f1ece..12121df9ea 100644
--- a/src/Microsoft.ML.Core/CommandLine/DefaultArgumentAttribute.cs
+++ b/src/Microsoft.ML.Core/CommandLine/DefaultArgumentAttribute.cs
@@ -4,7 +4,7 @@
using System;
-namespace Microsoft.ML.Runtime.CommandLine
+namespace Microsoft.ML.CommandLine
{
///
/// Indicates that this argument is the default argument.
diff --git a/src/Microsoft.ML.Core/CommandLine/EnumValueDisplayAttribute.cs b/src/Microsoft.ML.Core/CommandLine/EnumValueDisplayAttribute.cs
index b6cf4254ca..9b3652d9b4 100644
--- a/src/Microsoft.ML.Core/CommandLine/EnumValueDisplayAttribute.cs
+++ b/src/Microsoft.ML.Core/CommandLine/EnumValueDisplayAttribute.cs
@@ -4,7 +4,7 @@
using System;
-namespace Microsoft.ML.Runtime.CommandLine
+namespace Microsoft.ML.CommandLine
{
///
/// On an enum value - specifies the display name.
diff --git a/src/Microsoft.ML.Core/CommandLine/HideEnumValueAttribute.cs b/src/Microsoft.ML.Core/CommandLine/HideEnumValueAttribute.cs
index 964a5cc3f3..078a8abfa8 100644
--- a/src/Microsoft.ML.Core/CommandLine/HideEnumValueAttribute.cs
+++ b/src/Microsoft.ML.Core/CommandLine/HideEnumValueAttribute.cs
@@ -4,7 +4,7 @@
using System;
-namespace Microsoft.ML.Runtime.CommandLine
+namespace Microsoft.ML.CommandLine
{
///
/// On an enum value - indicates that the value should not be shown in help or UI.
diff --git a/src/Microsoft.ML.Core/CommandLine/SpecialPurpose.cs b/src/Microsoft.ML.Core/CommandLine/SpecialPurpose.cs
index 46423d43d9..491ef4b21c 100644
--- a/src/Microsoft.ML.Core/CommandLine/SpecialPurpose.cs
+++ b/src/Microsoft.ML.Core/CommandLine/SpecialPurpose.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-namespace Microsoft.ML.Runtime.CommandLine
+namespace Microsoft.ML.CommandLine
{
[BestFriend]
internal static class SpecialPurpose
diff --git a/src/Microsoft.ML.Core/ComponentModel/AssemblyLoadingUtils.cs b/src/Microsoft.ML.Core/ComponentModel/AssemblyLoadingUtils.cs
index e947776bc9..9358898ea6 100644
--- a/src/Microsoft.ML.Core/ComponentModel/AssemblyLoadingUtils.cs
+++ b/src/Microsoft.ML.Core/ComponentModel/AssemblyLoadingUtils.cs
@@ -2,13 +2,13 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Internal.Utilities;
using System;
using System.IO;
using System.IO.Compression;
using System.Reflection;
-namespace Microsoft.ML.Runtime
+namespace Microsoft.ML
{
[Obsolete("The usage for this is intended for the internal command line utilities and is not intended for anything related to the API. " +
"Please consider another way of doing whatever it is you're attempting to accomplish.")]
@@ -159,7 +159,7 @@ private static bool ShouldSkipPath(string path)
case "neuraltreeevaluator.dll":
case "optimizationbuilderdotnet.dll":
case "parallelcommunicator.dll":
- case "microsoft.ml.runtime.runtests.dll":
+ case "Microsoft.ML.runtests.dll":
case "scopecompiler.dll":
case "symsgdnative.dll":
case "tbb.dll":
diff --git a/src/Microsoft.ML.Core/ComponentModel/ComponentCatalog.cs b/src/Microsoft.ML.Core/ComponentModel/ComponentCatalog.cs
index d022a63eab..398e1e1e38 100644
--- a/src/Microsoft.ML.Core/ComponentModel/ComponentCatalog.cs
+++ b/src/Microsoft.ML.Core/ComponentModel/ComponentCatalog.cs
@@ -2,9 +2,9 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Internal.Utilities;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -12,7 +12,7 @@
using System.Text.RegularExpressions;
// REVIEW: Determine ideal namespace.
-namespace Microsoft.ML.Runtime
+namespace Microsoft.ML
{
///
/// This catalogs instantiatable components (aka, loadable classes). Components are registered via
diff --git a/src/Microsoft.ML.Core/ComponentModel/ComponentFactory.cs b/src/Microsoft.ML.Core/ComponentModel/ComponentFactory.cs
index 25165f62c9..93ebdf6397 100644
--- a/src/Microsoft.ML.Core/ComponentModel/ComponentFactory.cs
+++ b/src/Microsoft.ML.Core/ComponentModel/ComponentFactory.cs
@@ -4,7 +4,7 @@
using System;
-namespace Microsoft.ML.Runtime
+namespace Microsoft.ML
{
///
/// This is a token interface that all component factories must implement.
diff --git a/src/Microsoft.ML.Core/ComponentModel/LoadableClassAttribute.cs b/src/Microsoft.ML.Core/ComponentModel/LoadableClassAttribute.cs
index bd0be7f84e..7e8ea83e73 100644
--- a/src/Microsoft.ML.Core/ComponentModel/LoadableClassAttribute.cs
+++ b/src/Microsoft.ML.Core/ComponentModel/LoadableClassAttribute.cs
@@ -5,9 +5,9 @@
using System;
using System.Linq;
using System.Reflection;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Internal.Utilities;
-namespace Microsoft.ML.Runtime
+namespace Microsoft.ML
{
///
/// Common signature type with no extra parameters.
diff --git a/src/Microsoft.ML.Core/Data/ColumnType.cs b/src/Microsoft.ML.Core/Data/ColumnType.cs
index 66bfbc6076..a75093ca0e 100644
--- a/src/Microsoft.ML.Core/Data/ColumnType.cs
+++ b/src/Microsoft.ML.Core/Data/ColumnType.cs
@@ -10,9 +10,9 @@
using System.Reflection;
using System.Text;
using System.Threading;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Internal.Utilities;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// This is the abstract base class for all types in the type system.
diff --git a/src/Microsoft.ML.Core/Data/DataKind.cs b/src/Microsoft.ML.Core/Data/DataKind.cs
index b52d5d7587..6844f17a05 100644
--- a/src/Microsoft.ML.Core/Data/DataKind.cs
+++ b/src/Microsoft.ML.Core/Data/DataKind.cs
@@ -5,7 +5,7 @@
using System;
using System.Text;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// Data type specifier.
diff --git a/src/Microsoft.ML.Core/Data/ICommand.cs b/src/Microsoft.ML.Core/Data/ICommand.cs
index 44d4c7340b..2e00b8b272 100644
--- a/src/Microsoft.ML.Core/Data/ICommand.cs
+++ b/src/Microsoft.ML.Core/Data/ICommand.cs
@@ -3,10 +3,10 @@
// See the LICENSE file in the project root for more information.
using System;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Data;
-namespace Microsoft.ML.Runtime.Command
+namespace Microsoft.ML.Command
{
///
/// The signature for commands.
diff --git a/src/Microsoft.ML.Core/Data/IDataView.cs b/src/Microsoft.ML.Core/Data/IDataView.cs
index 51f6400dc0..893b17a26a 100644
--- a/src/Microsoft.ML.Core/Data/IDataView.cs
+++ b/src/Microsoft.ML.Core/Data/IDataView.cs
@@ -2,11 +2,10 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Data;
using System;
using System.Collections.Generic;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// Legacy interface for schema information.
diff --git a/src/Microsoft.ML.Core/Data/IEstimator.cs b/src/Microsoft.ML.Core/Data/IEstimator.cs
index 28bda75ff1..6fe0fe200b 100644
--- a/src/Microsoft.ML.Core/Data/IEstimator.cs
+++ b/src/Microsoft.ML.Core/Data/IEstimator.cs
@@ -3,8 +3,6 @@
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Immutable;
diff --git a/src/Microsoft.ML.Core/Data/IFileHandle.cs b/src/Microsoft.ML.Core/Data/IFileHandle.cs
index 37b871b7b6..b5b2ae8183 100644
--- a/src/Microsoft.ML.Core/Data/IFileHandle.cs
+++ b/src/Microsoft.ML.Core/Data/IFileHandle.cs
@@ -5,9 +5,9 @@
using System;
using System.Collections.Generic;
using System.IO;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Internal.Utilities;
-namespace Microsoft.ML.Runtime
+namespace Microsoft.ML
{
///
/// A file handle.
diff --git a/src/Microsoft.ML.Core/Data/IHostEnvironment.cs b/src/Microsoft.ML.Core/Data/IHostEnvironment.cs
index bfff2459ef..72639c6ac2 100644
--- a/src/Microsoft.ML.Core/Data/IHostEnvironment.cs
+++ b/src/Microsoft.ML.Core/Data/IHostEnvironment.cs
@@ -5,7 +5,7 @@
using System;
using System.ComponentModel.Composition.Hosting;
-namespace Microsoft.ML.Runtime
+namespace Microsoft.ML
{
///
/// A channel provider can create new channels and generic information pipes.
diff --git a/src/Microsoft.ML.Core/Data/IProgressChannel.cs b/src/Microsoft.ML.Core/Data/IProgressChannel.cs
index 924e7806f9..26dd7e1831 100644
--- a/src/Microsoft.ML.Core/Data/IProgressChannel.cs
+++ b/src/Microsoft.ML.Core/Data/IProgressChannel.cs
@@ -4,7 +4,7 @@
using System;
-namespace Microsoft.ML.Runtime
+namespace Microsoft.ML
{
///
/// This is a factory interface for .
diff --git a/src/Microsoft.ML.Core/Data/IRowToRowMapper.cs b/src/Microsoft.ML.Core/Data/IRowToRowMapper.cs
index 29de619946..4f0a541363 100644
--- a/src/Microsoft.ML.Core/Data/IRowToRowMapper.cs
+++ b/src/Microsoft.ML.Core/Data/IRowToRowMapper.cs
@@ -5,7 +5,7 @@
using Microsoft.ML.Data;
using System;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// This interface maps an input to an output . Typically, the output contains
diff --git a/src/Microsoft.ML.Core/Data/ISchemaBindableMapper.cs b/src/Microsoft.ML.Core/Data/ISchemaBindableMapper.cs
index ff005d157d..5ae835fe8c 100644
--- a/src/Microsoft.ML.Core/Data/ISchemaBindableMapper.cs
+++ b/src/Microsoft.ML.Core/Data/ISchemaBindableMapper.cs
@@ -5,7 +5,7 @@
using Microsoft.ML.Data;
using System.Collections.Generic;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// A mapper that can be bound to a (which is an ISchema, with mappings from column kinds
diff --git a/src/Microsoft.ML.Core/Data/IValueMapper.cs b/src/Microsoft.ML.Core/Data/IValueMapper.cs
index f5e194cd80..dcdf6706c7 100644
--- a/src/Microsoft.ML.Core/Data/IValueMapper.cs
+++ b/src/Microsoft.ML.Core/Data/IValueMapper.cs
@@ -2,9 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using System;
-
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// Delegate type to map/convert a value.
diff --git a/src/Microsoft.ML.Core/Data/InPredicate.cs b/src/Microsoft.ML.Core/Data/InPredicate.cs
index 74d16e906d..3c35bf600a 100644
--- a/src/Microsoft.ML.Core/Data/InPredicate.cs
+++ b/src/Microsoft.ML.Core/Data/InPredicate.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
public delegate bool InPredicate(in T value);
}
diff --git a/src/Microsoft.ML.Core/Data/LinkedRootCursorBase.cs b/src/Microsoft.ML.Core/Data/LinkedRootCursorBase.cs
index 9025e27af4..efb785a835 100644
--- a/src/Microsoft.ML.Core/Data/LinkedRootCursorBase.cs
+++ b/src/Microsoft.ML.Core/Data/LinkedRootCursorBase.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// Base class for a cursor has an input cursor, but still needs to do work on
diff --git a/src/Microsoft.ML.Core/Data/LinkedRowFilterCursorBase.cs b/src/Microsoft.ML.Core/Data/LinkedRowFilterCursorBase.cs
index 67f66b2103..fa35240ad1 100644
--- a/src/Microsoft.ML.Core/Data/LinkedRowFilterCursorBase.cs
+++ b/src/Microsoft.ML.Core/Data/LinkedRowFilterCursorBase.cs
@@ -2,9 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Data;
-
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// Base class for creating a cursor of rows that filters out some input rows.
diff --git a/src/Microsoft.ML.Core/Data/LinkedRowRootCursorBase.cs b/src/Microsoft.ML.Core/Data/LinkedRowRootCursorBase.cs
index fb045ec6e4..1f427ddeb9 100644
--- a/src/Microsoft.ML.Core/Data/LinkedRowRootCursorBase.cs
+++ b/src/Microsoft.ML.Core/Data/LinkedRowRootCursorBase.cs
@@ -2,9 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Data;
-
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// A base class for a that has an input cursor, but still needs
diff --git a/src/Microsoft.ML.Core/Data/MetadataBuilder.cs b/src/Microsoft.ML.Core/Data/MetadataBuilder.cs
index 06bf090567..54907bc137 100644
--- a/src/Microsoft.ML.Core/Data/MetadataBuilder.cs
+++ b/src/Microsoft.ML.Core/Data/MetadataBuilder.cs
@@ -2,9 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Internal.Utilities;
using System;
using System.Collections.Generic;
using System.Linq;
diff --git a/src/Microsoft.ML.Core/Data/MetadataUtils.cs b/src/Microsoft.ML.Core/Data/MetadataUtils.cs
index cbb8d7bd2f..efa22d134a 100644
--- a/src/Microsoft.ML.Core/Data/MetadataUtils.cs
+++ b/src/Microsoft.ML.Core/Data/MetadataUtils.cs
@@ -9,9 +9,7 @@
using System.Linq;
using System.Threading;
using Microsoft.ML.Core.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Internal.Utilities;
namespace Microsoft.ML.Data
{
diff --git a/src/Microsoft.ML.Core/Data/ProgressReporter.cs b/src/Microsoft.ML.Core/Data/ProgressReporter.cs
index 191364e2a3..e49c559571 100644
--- a/src/Microsoft.ML.Core/Data/ProgressReporter.cs
+++ b/src/Microsoft.ML.Core/Data/ProgressReporter.cs
@@ -7,9 +7,9 @@
using System.Collections.Generic;
using System.Linq;
using System.Threading;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Internal.Utilities;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// The progress reporting classes used by descendants.
diff --git a/src/Microsoft.ML.Core/Data/ReadOnlyMemoryUtils.cs b/src/Microsoft.ML.Core/Data/ReadOnlyMemoryUtils.cs
index 20ebb85b04..8d20ebcd21 100644
--- a/src/Microsoft.ML.Core/Data/ReadOnlyMemoryUtils.cs
+++ b/src/Microsoft.ML.Core/Data/ReadOnlyMemoryUtils.cs
@@ -2,13 +2,13 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Internal.Utilities;
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
[BestFriend]
internal static class ReadOnlyMemoryUtils
diff --git a/src/Microsoft.ML.Core/Data/RoleMappedSchema.cs b/src/Microsoft.ML.Core/Data/RoleMappedSchema.cs
index 643136b6e0..8c4c7318c0 100644
--- a/src/Microsoft.ML.Core/Data/RoleMappedSchema.cs
+++ b/src/Microsoft.ML.Core/Data/RoleMappedSchema.cs
@@ -4,9 +4,9 @@
using System.Collections.Generic;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Internal.Utilities;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// Encapsulates an plus column role mapping information. The purpose of role mappings is to
diff --git a/src/Microsoft.ML.Core/Data/RootCursorBase.cs b/src/Microsoft.ML.Core/Data/RootCursorBase.cs
index 15c0b501ff..dae6c32888 100644
--- a/src/Microsoft.ML.Core/Data/RootCursorBase.cs
+++ b/src/Microsoft.ML.Core/Data/RootCursorBase.cs
@@ -2,10 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using System;
-using Microsoft.ML.Data;
-
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
// REVIEW: Since each cursor will create a channel, it would be great that the RootCursorBase takes
// ownership of the channel so the derived classes don't have to.
diff --git a/src/Microsoft.ML.Core/Data/RowId.cs b/src/Microsoft.ML.Core/Data/RowId.cs
index 09a5fa2d25..c5b7795a07 100644
--- a/src/Microsoft.ML.Core/Data/RowId.cs
+++ b/src/Microsoft.ML.Core/Data/RowId.cs
@@ -4,9 +4,9 @@
using System;
using System.Runtime.CompilerServices;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Internal.Utilities;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// A structure serving as a sixteen-byte unsigned integer. It is used as the row id of .
diff --git a/src/Microsoft.ML.Core/Data/Schema.cs b/src/Microsoft.ML.Core/Data/Schema.cs
index 700cac4f3e..b2fb948f37 100644
--- a/src/Microsoft.ML.Core/Data/Schema.cs
+++ b/src/Microsoft.ML.Core/Data/Schema.cs
@@ -2,9 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Internal.Utilities;
using System;
using System.Collections;
using System.Collections.Generic;
diff --git a/src/Microsoft.ML.Core/Data/SchemaBuilder.cs b/src/Microsoft.ML.Core/Data/SchemaBuilder.cs
index 711360ac79..41f109530f 100644
--- a/src/Microsoft.ML.Core/Data/SchemaBuilder.cs
+++ b/src/Microsoft.ML.Core/Data/SchemaBuilder.cs
@@ -2,11 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using System;
using System.Collections.Generic;
-using System.Text;
namespace Microsoft.ML.Data
{
diff --git a/src/Microsoft.ML.Core/Data/SchemaDebuggerProxy.cs b/src/Microsoft.ML.Core/Data/SchemaDebuggerProxy.cs
index a6fe722741..0f0116af8f 100644
--- a/src/Microsoft.ML.Core/Data/SchemaDebuggerProxy.cs
+++ b/src/Microsoft.ML.Core/Data/SchemaDebuggerProxy.cs
@@ -2,8 +2,8 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Data;
+using Microsoft.ML.Internal.Utilities;
using System.Collections.Generic;
using System.Linq;
diff --git a/src/Microsoft.ML.Core/Data/ServerChannel.cs b/src/Microsoft.ML.Core/Data/ServerChannel.cs
index a9b33d1986..c66fcd3980 100644
--- a/src/Microsoft.ML.Core/Data/ServerChannel.cs
+++ b/src/Microsoft.ML.Core/Data/ServerChannel.cs
@@ -5,10 +5,10 @@
using System;
using System.Collections.Generic;
using System.Reflection;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.EntryPoints;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.EntryPoints;
-namespace Microsoft.ML.Runtime
+namespace Microsoft.ML
{
///
/// Instances of this class are used to set up a bundle of named delegates. These
diff --git a/src/Microsoft.ML.Core/Data/SynchronizedCursorBase.cs b/src/Microsoft.ML.Core/Data/SynchronizedCursorBase.cs
index 91549ab047..47ee841fb5 100644
--- a/src/Microsoft.ML.Core/Data/SynchronizedCursorBase.cs
+++ b/src/Microsoft.ML.Core/Data/SynchronizedCursorBase.cs
@@ -4,7 +4,7 @@
using Microsoft.ML.Data;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// Base class for creating a cursor on top of another cursor that does not add or remove rows.
diff --git a/src/Microsoft.ML.Core/Data/VBuffer.cs b/src/Microsoft.ML.Core/Data/VBuffer.cs
index a86f0bdae4..949857bc2b 100644
--- a/src/Microsoft.ML.Core/Data/VBuffer.cs
+++ b/src/Microsoft.ML.Core/Data/VBuffer.cs
@@ -4,9 +4,9 @@
using System;
using System.Collections.Generic;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Internal.Utilities;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// A buffer that supports both dense and sparse representations. This is the
diff --git a/src/Microsoft.ML.Core/Data/VBufferEditor.cs b/src/Microsoft.ML.Core/Data/VBufferEditor.cs
index 8da19b641f..1dafac0fa5 100644
--- a/src/Microsoft.ML.Core/Data/VBufferEditor.cs
+++ b/src/Microsoft.ML.Core/Data/VBufferEditor.cs
@@ -4,7 +4,7 @@
using System;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// Various methods for creating instances.
diff --git a/src/Microsoft.ML.Core/Data/WrappingRow.cs b/src/Microsoft.ML.Core/Data/WrappingRow.cs
index 4022778945..f6568cf205 100644
--- a/src/Microsoft.ML.Core/Data/WrappingRow.cs
+++ b/src/Microsoft.ML.Core/Data/WrappingRow.cs
@@ -4,7 +4,7 @@
using System;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// Convenient base class for implementors that wrap a single
diff --git a/src/Microsoft.ML.Core/EntryPoints/EntryPointModuleAttribute.cs b/src/Microsoft.ML.Core/EntryPoints/EntryPointModuleAttribute.cs
index 0163222fc1..175e7cb09a 100644
--- a/src/Microsoft.ML.Core/EntryPoints/EntryPointModuleAttribute.cs
+++ b/src/Microsoft.ML.Core/EntryPoints/EntryPointModuleAttribute.cs
@@ -4,7 +4,7 @@
using System;
-namespace Microsoft.ML.Runtime.EntryPoints
+namespace Microsoft.ML.EntryPoints
{
///
/// This is a signature for classes that are 'holders' of entry points and components.
diff --git a/src/Microsoft.ML.Core/EntryPoints/EntryPointUtils.cs b/src/Microsoft.ML.Core/EntryPoints/EntryPointUtils.cs
index a7c3ddd298..f03048f8af 100644
--- a/src/Microsoft.ML.Core/EntryPoints/EntryPointUtils.cs
+++ b/src/Microsoft.ML.Core/EntryPoints/EntryPointUtils.cs
@@ -3,12 +3,12 @@
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Internal.Utilities;
using System;
using System.Linq;
-namespace Microsoft.ML.Runtime.EntryPoints
+namespace Microsoft.ML.EntryPoints
{
[BestFriend]
internal static class EntryPointUtils
diff --git a/src/Microsoft.ML.Core/EntryPoints/ModuleArgs.cs b/src/Microsoft.ML.Core/EntryPoints/ModuleArgs.cs
index 3ed68ae056..1308008c6e 100644
--- a/src/Microsoft.ML.Core/EntryPoints/ModuleArgs.cs
+++ b/src/Microsoft.ML.Core/EntryPoints/ModuleArgs.cs
@@ -4,15 +4,11 @@
using System;
using System.Collections.Generic;
-using System.Diagnostics;
using System.Linq;
-using System.Net.Sockets;
-using System.Reflection;
using System.Text;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Data;
-namespace Microsoft.ML.Runtime.EntryPoints
+namespace Microsoft.ML.EntryPoints
{
///
/// This class defines attributes to annotate module inputs, outputs, entry points etc. when defining
diff --git a/src/Microsoft.ML.Core/EntryPoints/PredictorModel.cs b/src/Microsoft.ML.Core/EntryPoints/PredictorModel.cs
index 8a9117c7b4..30872a5faa 100644
--- a/src/Microsoft.ML.Core/EntryPoints/PredictorModel.cs
+++ b/src/Microsoft.ML.Core/EntryPoints/PredictorModel.cs
@@ -2,11 +2,10 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using System;
using System.IO;
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML.Data;
-namespace Microsoft.ML.Runtime.EntryPoints
+namespace Microsoft.ML.EntryPoints
{
///
/// Base type for standard predictor model port type.
diff --git a/src/Microsoft.ML.Core/EntryPoints/TransformModel.cs b/src/Microsoft.ML.Core/EntryPoints/TransformModel.cs
index 2e025019ff..110c75c7aa 100644
--- a/src/Microsoft.ML.Core/EntryPoints/TransformModel.cs
+++ b/src/Microsoft.ML.Core/EntryPoints/TransformModel.cs
@@ -2,12 +2,10 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using System;
using System.IO;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.Data;
-namespace Microsoft.ML.Runtime.EntryPoints
+namespace Microsoft.ML.EntryPoints
{
///
/// Interface for standard transform model port type.
diff --git a/src/Microsoft.ML.Core/Environment/ConsoleEnvironment.cs b/src/Microsoft.ML.Core/Environment/ConsoleEnvironment.cs
index 4dfd92b11f..057969c81f 100644
--- a/src/Microsoft.ML.Core/Environment/ConsoleEnvironment.cs
+++ b/src/Microsoft.ML.Core/Environment/ConsoleEnvironment.cs
@@ -9,7 +9,7 @@
using System.Linq;
using System.Threading;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
using Stopwatch = System.Diagnostics.Stopwatch;
diff --git a/src/Microsoft.ML.Core/Environment/HostEnvironmentBase.cs b/src/Microsoft.ML.Core/Environment/HostEnvironmentBase.cs
index 0641d28369..3f1da929bd 100644
--- a/src/Microsoft.ML.Core/Environment/HostEnvironmentBase.cs
+++ b/src/Microsoft.ML.Core/Environment/HostEnvironmentBase.cs
@@ -9,7 +9,7 @@
using System.ComponentModel.Composition.Hosting;
using System.IO;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// Base class for channel providers. This is a common base class for.
diff --git a/src/Microsoft.ML.Core/Environment/TelemetryMessage.cs b/src/Microsoft.ML.Core/Environment/TelemetryMessage.cs
index 72b08e2715..57762bfdf1 100644
--- a/src/Microsoft.ML.Core/Environment/TelemetryMessage.cs
+++ b/src/Microsoft.ML.Core/Environment/TelemetryMessage.cs
@@ -8,7 +8,7 @@
using System.Text;
using System.Threading.Tasks;
-namespace Microsoft.ML.Runtime
+namespace Microsoft.ML
{
///
/// A telemetry message.
diff --git a/src/Microsoft.ML.Core/Prediction/IPredictor.cs b/src/Microsoft.ML.Core/Prediction/IPredictor.cs
index 6bd1ac2056..682cec417d 100644
--- a/src/Microsoft.ML.Core/Prediction/IPredictor.cs
+++ b/src/Microsoft.ML.Core/Prediction/IPredictor.cs
@@ -2,9 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using System;
-
-namespace Microsoft.ML.Runtime
+namespace Microsoft.ML
{
///
/// Type of prediction task
diff --git a/src/Microsoft.ML.Core/Prediction/ITrainer.cs b/src/Microsoft.ML.Core/Prediction/ITrainer.cs
index 5e796aa602..ad5a0b2539 100644
--- a/src/Microsoft.ML.Core/Prediction/ITrainer.cs
+++ b/src/Microsoft.ML.Core/Prediction/ITrainer.cs
@@ -2,10 +2,9 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime.Data;
-using System;
+using Microsoft.ML.Data;
-namespace Microsoft.ML.Runtime
+namespace Microsoft.ML
{
// REVIEW: Would be nice if the registration under SignatureTrainer were automatic
// given registration for one of the "sub-class" signatures.
diff --git a/src/Microsoft.ML.Core/Prediction/ITree.cs b/src/Microsoft.ML.Core/Prediction/ITree.cs
index 67642ecfc5..9b07acdef7 100644
--- a/src/Microsoft.ML.Core/Prediction/ITree.cs
+++ b/src/Microsoft.ML.Core/Prediction/ITree.cs
@@ -2,10 +2,9 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using System;
using System.Collections.Generic;
-namespace Microsoft.ML.Runtime.TreePredictor
+namespace Microsoft.ML.TreePredictor
{
// The interfaces contained herein are meant to allow tree visualizer to run without an explicit dependency
// on FastTree, so as to allow it greater generality. These should probably be moved somewhere else, but where?
diff --git a/src/Microsoft.ML.Core/Prediction/TrainContext.cs b/src/Microsoft.ML.Core/Prediction/TrainContext.cs
index e5e4bbad1c..ff37caf598 100644
--- a/src/Microsoft.ML.Core/Prediction/TrainContext.cs
+++ b/src/Microsoft.ML.Core/Prediction/TrainContext.cs
@@ -2,9 +2,9 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML.Data;
-namespace Microsoft.ML.Runtime
+namespace Microsoft.ML
{
///
/// Holds information relevant to trainers. Instances of this class are meant to be constructed and passed
diff --git a/src/Microsoft.ML.Core/Prediction/TrainerInfo.cs b/src/Microsoft.ML.Core/Prediction/TrainerInfo.cs
index 4f97c0c893..53398bc651 100644
--- a/src/Microsoft.ML.Core/Prediction/TrainerInfo.cs
+++ b/src/Microsoft.ML.Core/Prediction/TrainerInfo.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-namespace Microsoft.ML.Runtime
+namespace Microsoft.ML
{
///
/// Instances of this class posses information about trainers, in terms of their requirements and capabilities.
diff --git a/src/Microsoft.ML.Core/Properties/AssemblyInfo.cs b/src/Microsoft.ML.Core/Properties/AssemblyInfo.cs
index 352ca8bb2f..58bda21829 100644
--- a/src/Microsoft.ML.Core/Properties/AssemblyInfo.cs
+++ b/src/Microsoft.ML.Core/Properties/AssemblyInfo.cs
@@ -33,7 +33,7 @@
[assembly: InternalsVisibleTo(assemblyName: "Microsoft.ML.PCA" + PublicKey.Value)]
[assembly: InternalsVisibleTo(assemblyName: "Microsoft.ML.PipelineInference" + PublicKey.Value)]
[assembly: InternalsVisibleTo(assemblyName: "Microsoft.ML.Recommender" + PublicKey.Value)]
-[assembly: InternalsVisibleTo(assemblyName: "Microsoft.ML.Runtime.ImageAnalytics" + PublicKey.Value)]
+[assembly: InternalsVisibleTo(assemblyName: "Microsoft.ML.ImageAnalytics" + PublicKey.Value)]
[assembly: InternalsVisibleTo(assemblyName: "Microsoft.ML.Scoring" + PublicKey.Value)]
[assembly: InternalsVisibleTo(assemblyName: "Microsoft.ML.StandardLearners" + PublicKey.Value)]
[assembly: InternalsVisibleTo(assemblyName: "Microsoft.ML.Sweeper" + PublicKey.Value)]
diff --git a/src/Microsoft.ML.Core/PublicKey.cs b/src/Microsoft.ML.Core/PublicKey.cs
index 9a944c3d18..63718c3f8e 100644
--- a/src/Microsoft.ML.Core/PublicKey.cs
+++ b/src/Microsoft.ML.Core/PublicKey.cs
@@ -7,8 +7,8 @@
namespace Microsoft.ML
#else
// CpuMath module has its own PublicKey for isolating itself from Microsoft.ML.Core
-// Note that CpuMath uses its own BestFriend defined in Microsoft.ML.Runtime.Internal.CpuMath.Core.
-namespace Microsoft.ML.Runtime.Internal.CpuMath.Core
+// Note that CpuMath uses its own BestFriend defined in Microsoft.ML.Internal.CpuMath.Core.
+namespace Microsoft.ML.Internal.CpuMath.Core
#endif
{
[BestFriend]
diff --git a/src/Microsoft.ML.Core/Utilities/BigArray.cs b/src/Microsoft.ML.Core/Utilities/BigArray.cs
index 3bfb4f688f..bda630cbc0 100644
--- a/src/Microsoft.ML.Core/Utilities/BigArray.cs
+++ b/src/Microsoft.ML.Core/Utilities/BigArray.cs
@@ -6,7 +6,7 @@
using System.Collections;
using System.Collections.Generic;
-namespace Microsoft.ML.Runtime.Internal.Utilities
+namespace Microsoft.ML.Internal.Utilities
{
///
/// An array-like data structure that supports storing more than
diff --git a/src/Microsoft.ML.Core/Utilities/BinFinder.cs b/src/Microsoft.ML.Core/Utilities/BinFinder.cs
index cdfd0ad08b..642aeedd98 100644
--- a/src/Microsoft.ML.Core/Utilities/BinFinder.cs
+++ b/src/Microsoft.ML.Core/Utilities/BinFinder.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-namespace Microsoft.ML.Runtime.Internal.Utilities
+namespace Microsoft.ML.Internal.Utilities
{
[BestFriend]
internal abstract class BinFinderBase
@@ -273,7 +273,7 @@ public static Double GetSplitValue(Double a, Double b)
}
}
-namespace Microsoft.ML.Runtime.Internal.Utilities
+namespace Microsoft.ML.Internal.Utilities
{
// This needs to be large enough to represent a product of 2 ints without losing precision
using EnergyType = System.Int64;
@@ -525,7 +525,7 @@ private void UpdatePeg(Peg peg)
}
}
-namespace Microsoft.ML.Runtime.Internal.Utilities
+namespace Microsoft.ML.Internal.Utilities
{
// Reasonable choices are Double and System.Int64.
using EnergyType = System.Double;
diff --git a/src/Microsoft.ML.Core/Utilities/BitUtils.cs b/src/Microsoft.ML.Core/Utilities/BitUtils.cs
index 376b0ac8ef..bd42a8f0f3 100644
--- a/src/Microsoft.ML.Core/Utilities/BitUtils.cs
+++ b/src/Microsoft.ML.Core/Utilities/BitUtils.cs
@@ -5,7 +5,7 @@
using System;
using System.Runtime.CompilerServices;
-namespace Microsoft.ML.Runtime.Internal.Utilities
+namespace Microsoft.ML.Internal.Utilities
{
internal static partial class Utils
{
diff --git a/src/Microsoft.ML.Core/Utilities/CharUtils.cs b/src/Microsoft.ML.Core/Utilities/CharUtils.cs
index d88197c8e7..089239f1a7 100644
--- a/src/Microsoft.ML.Core/Utilities/CharUtils.cs
+++ b/src/Microsoft.ML.Core/Utilities/CharUtils.cs
@@ -8,7 +8,7 @@
using System.Runtime.CompilerServices;
using System.Threading;
-namespace Microsoft.ML.Runtime.Internal.Utilities
+namespace Microsoft.ML.Internal.Utilities
{
[BestFriend]
internal static class CharUtils
diff --git a/src/Microsoft.ML.Core/Utilities/CmdIndenter.cs b/src/Microsoft.ML.Core/Utilities/CmdIndenter.cs
index 6b4dbc48db..4866122f05 100644
--- a/src/Microsoft.ML.Core/Utilities/CmdIndenter.cs
+++ b/src/Microsoft.ML.Core/Utilities/CmdIndenter.cs
@@ -8,9 +8,9 @@
using System.Linq;
using System.Text;
using System.Threading.Tasks;
-using Microsoft.ML.Runtime.CommandLine;
+using Microsoft.ML.CommandLine;
-namespace Microsoft.ML.Runtime.Internal.Utilities
+namespace Microsoft.ML.Internal.Utilities
{
[BestFriend]
internal static class CmdIndenter
diff --git a/src/Microsoft.ML.Core/Utilities/Contracts.cs b/src/Microsoft.ML.Core/Utilities/Contracts.cs
index cda7cbc539..6fc94f6304 100644
--- a/src/Microsoft.ML.Core/Utilities/Contracts.cs
+++ b/src/Microsoft.ML.Core/Utilities/Contracts.cs
@@ -17,9 +17,9 @@
using System.Threading;
#if CPUMATH_INFRASTRUCTURE
-namespace Microsoft.ML.Runtime.Internal.CpuMath.Core
+namespace Microsoft.ML.Internal.CpuMath.Core
#else
-namespace Microsoft.ML.Runtime
+namespace Microsoft.ML
#endif
{
using Conditional = System.Diagnostics.ConditionalAttribute;
diff --git a/src/Microsoft.ML.Core/Utilities/DoubleParser.cs b/src/Microsoft.ML.Core/Utilities/DoubleParser.cs
index 4f2ef9ad80..ded68121d9 100644
--- a/src/Microsoft.ML.Core/Utilities/DoubleParser.cs
+++ b/src/Microsoft.ML.Core/Utilities/DoubleParser.cs
@@ -11,7 +11,7 @@
using System.Linq;
using System.Text;
-namespace Microsoft.ML.Runtime.Internal.Utilities
+namespace Microsoft.ML.Internal.Utilities
{
[BestFriend]
internal static class DoubleParser
diff --git a/src/Microsoft.ML.Core/Utilities/FixedSizeQueue.cs b/src/Microsoft.ML.Core/Utilities/FixedSizeQueue.cs
index 7263304046..ab2d938d22 100644
--- a/src/Microsoft.ML.Core/Utilities/FixedSizeQueue.cs
+++ b/src/Microsoft.ML.Core/Utilities/FixedSizeQueue.cs
@@ -2,9 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using System;
-
-namespace Microsoft.ML.Runtime.Internal.Utilities
+namespace Microsoft.ML.Internal.Utilities
{
using Conditional = System.Diagnostics.ConditionalAttribute;
diff --git a/src/Microsoft.ML.Core/Utilities/FloatUtils.cs b/src/Microsoft.ML.Core/Utilities/FloatUtils.cs
index 06d403da9a..b93541eb3e 100644
--- a/src/Microsoft.ML.Core/Utilities/FloatUtils.cs
+++ b/src/Microsoft.ML.Core/Utilities/FloatUtils.cs
@@ -6,7 +6,7 @@
using System.Globalization;
using System.Runtime.InteropServices;
-namespace Microsoft.ML.Runtime.Internal.Utilities
+namespace Microsoft.ML.Internal.Utilities
{
[BestFriend]
internal static class FloatUtils
diff --git a/src/Microsoft.ML.Core/Utilities/HashArray.cs b/src/Microsoft.ML.Core/Utilities/HashArray.cs
index 64dced9792..c9f31b5361 100644
--- a/src/Microsoft.ML.Core/Utilities/HashArray.cs
+++ b/src/Microsoft.ML.Core/Utilities/HashArray.cs
@@ -6,7 +6,7 @@
using System;
-namespace Microsoft.ML.Runtime.Internal.Utilities
+namespace Microsoft.ML.Internal.Utilities
{
// REVIEW: May want to add an IEnumerable>.
diff --git a/src/Microsoft.ML.Core/Utilities/Hashing.cs b/src/Microsoft.ML.Core/Utilities/Hashing.cs
index ae36fae95d..8345a319ac 100644
--- a/src/Microsoft.ML.Core/Utilities/Hashing.cs
+++ b/src/Microsoft.ML.Core/Utilities/Hashing.cs
@@ -3,11 +3,10 @@
// See the LICENSE file in the project root for more information.
using System;
-using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Text;
-namespace Microsoft.ML.Runtime.Internal.Utilities
+namespace Microsoft.ML.Internal.Utilities
{
[BestFriend]
internal static class Hashing
diff --git a/src/Microsoft.ML.Core/Utilities/Heap.cs b/src/Microsoft.ML.Core/Utilities/Heap.cs
index 7652163f10..fe1178abd3 100644
--- a/src/Microsoft.ML.Core/Utilities/Heap.cs
+++ b/src/Microsoft.ML.Core/Utilities/Heap.cs
@@ -5,7 +5,7 @@
using System;
using System.Collections.Generic;
-namespace Microsoft.ML.Runtime.Internal.Utilities
+namespace Microsoft.ML.Internal.Utilities
{
using Conditional = System.Diagnostics.ConditionalAttribute;
diff --git a/src/Microsoft.ML.Core/Utilities/HybridMemoryStream.cs b/src/Microsoft.ML.Core/Utilities/HybridMemoryStream.cs
index 02f713dd6e..c1db619510 100644
--- a/src/Microsoft.ML.Core/Utilities/HybridMemoryStream.cs
+++ b/src/Microsoft.ML.Core/Utilities/HybridMemoryStream.cs
@@ -5,7 +5,7 @@
using System;
using System.IO;
-namespace Microsoft.ML.Runtime.Internal.Utilities
+namespace Microsoft.ML.Internal.Utilities
{
using Conditional = System.Diagnostics.ConditionalAttribute;
diff --git a/src/Microsoft.ML.Core/Utilities/IndentedTextWriterExtensions.cs b/src/Microsoft.ML.Core/Utilities/IndentedTextWriterExtensions.cs
index fe8fd12e96..fd733dc60c 100644
--- a/src/Microsoft.ML.Core/Utilities/IndentedTextWriterExtensions.cs
+++ b/src/Microsoft.ML.Core/Utilities/IndentedTextWriterExtensions.cs
@@ -4,10 +4,8 @@
using System;
using System.CodeDom.Compiler;
-using System.IO;
-using System.Text;
-namespace Microsoft.ML.Runtime.Internal.Utilities
+namespace Microsoft.ML.Internal.Utilities
{
[BestFriend]
internal static class IndentedTextWriterExtensions
diff --git a/src/Microsoft.ML.Core/Utilities/LineParser.cs b/src/Microsoft.ML.Core/Utilities/LineParser.cs
index 73d9bb6158..bc8eabcdda 100644
--- a/src/Microsoft.ML.Core/Utilities/LineParser.cs
+++ b/src/Microsoft.ML.Core/Utilities/LineParser.cs
@@ -5,7 +5,7 @@
using System;
using System.Runtime.CompilerServices;
-namespace Microsoft.ML.Runtime.Internal.Utilities
+namespace Microsoft.ML.Internal.Utilities
{
[BestFriend]
internal static class LineParser
diff --git a/src/Microsoft.ML.Core/Utilities/LruCache.cs b/src/Microsoft.ML.Core/Utilities/LruCache.cs
index e041efde02..ad874b60c1 100644
--- a/src/Microsoft.ML.Core/Utilities/LruCache.cs
+++ b/src/Microsoft.ML.Core/Utilities/LruCache.cs
@@ -5,7 +5,7 @@
using System.Collections.Generic;
using System.Linq;
-namespace Microsoft.ML.Runtime.Internal.Utilities
+namespace Microsoft.ML.Internal.Utilities
{
///
/// Implements a least recently used cache.
diff --git a/src/Microsoft.ML.Core/Utilities/MathUtils.cs b/src/Microsoft.ML.Core/Utilities/MathUtils.cs
index 296639d1b3..4517729f3b 100644
--- a/src/Microsoft.ML.Core/Utilities/MathUtils.cs
+++ b/src/Microsoft.ML.Core/Utilities/MathUtils.cs
@@ -8,7 +8,7 @@
using System.Collections.Generic;
using System.Linq;
-namespace Microsoft.ML.Runtime.Internal.Utilities
+namespace Microsoft.ML.Internal.Utilities
{
///
/// Some useful math methods.
diff --git a/src/Microsoft.ML.Core/Utilities/MatrixTransposeOps.cs b/src/Microsoft.ML.Core/Utilities/MatrixTransposeOps.cs
index cb945e56a2..2e25599c1d 100644
--- a/src/Microsoft.ML.Core/Utilities/MatrixTransposeOps.cs
+++ b/src/Microsoft.ML.Core/Utilities/MatrixTransposeOps.cs
@@ -7,7 +7,7 @@
using System.Linq;
using System.Threading.Tasks;
-namespace Microsoft.ML.Runtime.Internal.Utilities
+namespace Microsoft.ML.Internal.Utilities
{
[BestFriend]
internal static class MatrixTransposeOps
diff --git a/src/Microsoft.ML.Core/Utilities/MinWaiter.cs b/src/Microsoft.ML.Core/Utilities/MinWaiter.cs
index fbaf8fb6d6..23af027bc1 100644
--- a/src/Microsoft.ML.Core/Utilities/MinWaiter.cs
+++ b/src/Microsoft.ML.Core/Utilities/MinWaiter.cs
@@ -5,7 +5,7 @@
using System;
using System.Threading;
-namespace Microsoft.ML.Runtime.Internal.Utilities
+namespace Microsoft.ML.Internal.Utilities
{
///
/// A synchronization primitive meant to address situations where you have a set of
diff --git a/src/Microsoft.ML.Core/Utilities/NormStr.cs b/src/Microsoft.ML.Core/Utilities/NormStr.cs
index c79e2425d1..5849925ee8 100644
--- a/src/Microsoft.ML.Core/Utilities/NormStr.cs
+++ b/src/Microsoft.ML.Core/Utilities/NormStr.cs
@@ -8,9 +8,9 @@
using System.Linq;
using System.Threading;
using System.Text;
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML.Data;
-namespace Microsoft.ML.Runtime.Internal.Utilities
+namespace Microsoft.ML.Internal.Utilities
{
using Conditional = System.Diagnostics.ConditionalAttribute;
diff --git a/src/Microsoft.ML.Core/Utilities/ObjectPool.cs b/src/Microsoft.ML.Core/Utilities/ObjectPool.cs
index a06202af76..a5a9591fae 100644
--- a/src/Microsoft.ML.Core/Utilities/ObjectPool.cs
+++ b/src/Microsoft.ML.Core/Utilities/ObjectPool.cs
@@ -6,7 +6,7 @@
using System.Collections.Concurrent;
using System.Threading;
-namespace Microsoft.ML.Runtime.Internal.Utilities
+namespace Microsoft.ML.Internal.Utilities
{
[BestFriend]
internal sealed class ObjectPool : ObjectPoolBase where T : class, new()
diff --git a/src/Microsoft.ML.Core/Utilities/OrderedWaiter.cs b/src/Microsoft.ML.Core/Utilities/OrderedWaiter.cs
index ca0ef23445..5a71c6205d 100644
--- a/src/Microsoft.ML.Core/Utilities/OrderedWaiter.cs
+++ b/src/Microsoft.ML.Core/Utilities/OrderedWaiter.cs
@@ -5,7 +5,7 @@
using System;
using System.Threading;
-namespace Microsoft.ML.Runtime.Internal.Utilities
+namespace Microsoft.ML.Internal.Utilities
{
///
/// The primary use case for this structure is to impose ordering among
diff --git a/src/Microsoft.ML.Core/Utilities/PathUtils.cs b/src/Microsoft.ML.Core/Utilities/PathUtils.cs
index 98407e24a1..c10e36b1eb 100644
--- a/src/Microsoft.ML.Core/Utilities/PathUtils.cs
+++ b/src/Microsoft.ML.Core/Utilities/PathUtils.cs
@@ -6,7 +6,7 @@
using System.IO;
using System.Threading;
-namespace Microsoft.ML.Runtime.Internal.Utilities
+namespace Microsoft.ML.Internal.Utilities
{
internal static partial class Utils
{
diff --git a/src/Microsoft.ML.Core/Utilities/PlatformUtils.cs b/src/Microsoft.ML.Core/Utilities/PlatformUtils.cs
index 2bd8acab3e..16cadbdb5b 100644
--- a/src/Microsoft.ML.Core/Utilities/PlatformUtils.cs
+++ b/src/Microsoft.ML.Core/Utilities/PlatformUtils.cs
@@ -6,7 +6,7 @@
using System.Collections.ObjectModel;
using System.Reflection;
-namespace Microsoft.ML.Runtime.Internal.Utilities
+namespace Microsoft.ML.Internal.Utilities
{
///
/// Contains extension methods that aid in building cross platform.
diff --git a/src/Microsoft.ML.Core/Utilities/Random.cs b/src/Microsoft.ML.Core/Utilities/Random.cs
index 50093698b6..c79a22426b 100644
--- a/src/Microsoft.ML.Core/Utilities/Random.cs
+++ b/src/Microsoft.ML.Core/Utilities/Random.cs
@@ -4,9 +4,9 @@
using System;
using System.IO;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Internal.Utilities;
-namespace Microsoft.ML.Runtime
+namespace Microsoft.ML
{
[BestFriend]
internal static class RandomUtils
diff --git a/src/Microsoft.ML.Core/Utilities/ReservoirSampler.cs b/src/Microsoft.ML.Core/Utilities/ReservoirSampler.cs
index 91fc4d3a62..f442fd8e59 100644
--- a/src/Microsoft.ML.Core/Utilities/ReservoirSampler.cs
+++ b/src/Microsoft.ML.Core/Utilities/ReservoirSampler.cs
@@ -5,9 +5,9 @@
using System;
using System.Collections.Generic;
using System.Linq;
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML.Data;
-namespace Microsoft.ML.Runtime.Internal.Utilities
+namespace Microsoft.ML.Internal.Utilities
{
///
/// This is an interface for creating samples of a requested size from a stream of data of type .
diff --git a/src/Microsoft.ML.Core/Utilities/ResourceManagerUtils.cs b/src/Microsoft.ML.Core/Utilities/ResourceManagerUtils.cs
index 9e9c6f80bb..0813dac0fe 100644
--- a/src/Microsoft.ML.Core/Utilities/ResourceManagerUtils.cs
+++ b/src/Microsoft.ML.Core/Utilities/ResourceManagerUtils.cs
@@ -10,7 +10,7 @@
using System.Threading;
using System.Threading.Tasks;
-namespace Microsoft.ML.Runtime.Internal.Utilities
+namespace Microsoft.ML.Internal.Utilities
{
///
/// This class takes care of downloading resources needed by ML.NET components. Resources are located in
diff --git a/src/Microsoft.ML.Core/Utilities/Stats.cs b/src/Microsoft.ML.Core/Utilities/Stats.cs
index 26c538084e..c1630158dd 100644
--- a/src/Microsoft.ML.Core/Utilities/Stats.cs
+++ b/src/Microsoft.ML.Core/Utilities/Stats.cs
@@ -6,7 +6,7 @@
using System;
-namespace Microsoft.ML.Runtime.Internal.Utilities
+namespace Microsoft.ML.Internal.Utilities
{
///
/// A class containing common statistical functions
diff --git a/src/Microsoft.ML.Core/Utilities/Stream.cs b/src/Microsoft.ML.Core/Utilities/Stream.cs
index 4fe21e7df7..633ee672f7 100644
--- a/src/Microsoft.ML.Core/Utilities/Stream.cs
+++ b/src/Microsoft.ML.Core/Utilities/Stream.cs
@@ -9,7 +9,7 @@
using System.Text;
using System.Threading;
-namespace Microsoft.ML.Runtime.Internal.Utilities
+namespace Microsoft.ML.Internal.Utilities
{
internal static partial class Utils
{
diff --git a/src/Microsoft.ML.Core/Utilities/SubsetStream.cs b/src/Microsoft.ML.Core/Utilities/SubsetStream.cs
index 3bf9ad2c9e..022ca28cb1 100644
--- a/src/Microsoft.ML.Core/Utilities/SubsetStream.cs
+++ b/src/Microsoft.ML.Core/Utilities/SubsetStream.cs
@@ -5,7 +5,7 @@
using System;
using System.IO;
-namespace Microsoft.ML.Runtime.Internal.Utilities
+namespace Microsoft.ML.Internal.Utilities
{
///
/// Returns a "view" stream, which appears to be a possibly truncated
diff --git a/src/Microsoft.ML.Core/Utilities/SummaryStatistics.cs b/src/Microsoft.ML.Core/Utilities/SummaryStatistics.cs
index 3e36191564..3382885e9c 100644
--- a/src/Microsoft.ML.Core/Utilities/SummaryStatistics.cs
+++ b/src/Microsoft.ML.Core/Utilities/SummaryStatistics.cs
@@ -4,7 +4,7 @@
using System;
-namespace Microsoft.ML.Runtime.Internal.Utilities
+namespace Microsoft.ML.Internal.Utilities
{
internal abstract class SummaryStatisticsBase
{
diff --git a/src/Microsoft.ML.Core/Utilities/SupervisedBinFinder.cs b/src/Microsoft.ML.Core/Utilities/SupervisedBinFinder.cs
index 63257823a2..d76a9e578d 100644
--- a/src/Microsoft.ML.Core/Utilities/SupervisedBinFinder.cs
+++ b/src/Microsoft.ML.Core/Utilities/SupervisedBinFinder.cs
@@ -8,7 +8,7 @@
using System.Collections.Generic;
using System.Diagnostics;
-namespace Microsoft.ML.Runtime.Internal.Utilities
+namespace Microsoft.ML.Internal.Utilities
{
///
/// This class performs discretization of (value, label) pairs into bins in a way that minimizes
diff --git a/src/Microsoft.ML.Core/Utilities/TextReaderStream.cs b/src/Microsoft.ML.Core/Utilities/TextReaderStream.cs
index 682a0336cb..691876c0c7 100644
--- a/src/Microsoft.ML.Core/Utilities/TextReaderStream.cs
+++ b/src/Microsoft.ML.Core/Utilities/TextReaderStream.cs
@@ -6,7 +6,7 @@
using System.IO;
using System.Text;
-namespace Microsoft.ML.Runtime.Internal.Utilities
+namespace Microsoft.ML.Internal.Utilities
{
///
/// A readable that is backed by a .
diff --git a/src/Microsoft.ML.Core/Utilities/ThreadUtils.cs b/src/Microsoft.ML.Core/Utilities/ThreadUtils.cs
index 46a82a4e7c..3585b36f23 100644
--- a/src/Microsoft.ML.Core/Utilities/ThreadUtils.cs
+++ b/src/Microsoft.ML.Core/Utilities/ThreadUtils.cs
@@ -8,7 +8,7 @@
using System.Threading;
using System.Threading.Tasks;
-namespace Microsoft.ML.Runtime.Internal.Utilities
+namespace Microsoft.ML.Internal.Utilities
{
internal static partial class Utils
{
diff --git a/src/Microsoft.ML.Core/Utilities/Tree.cs b/src/Microsoft.ML.Core/Utilities/Tree.cs
index 8d4c0f7585..cbec20fe8e 100644
--- a/src/Microsoft.ML.Core/Utilities/Tree.cs
+++ b/src/Microsoft.ML.Core/Utilities/Tree.cs
@@ -5,7 +5,7 @@
using System.Collections;
using System.Collections.Generic;
-namespace Microsoft.ML.Runtime.Internal.Utilities
+namespace Microsoft.ML.Internal.Utilities
{
///
/// The tree structure is simultaneously a tree, and a node in a tree. The interface to
diff --git a/src/Microsoft.ML.Core/Utilities/Utils.cs b/src/Microsoft.ML.Core/Utilities/Utils.cs
index a84e1b31ee..f5234c69b3 100644
--- a/src/Microsoft.ML.Core/Utilities/Utils.cs
+++ b/src/Microsoft.ML.Core/Utilities/Utils.cs
@@ -13,7 +13,7 @@
using System.Text.RegularExpressions;
using System.Threading;
-namespace Microsoft.ML.Runtime.Internal.Utilities
+namespace Microsoft.ML.Internal.Utilities
{
[BestFriend]
diff --git a/src/Microsoft.ML.Core/Utilities/VBufferUtils.cs b/src/Microsoft.ML.Core/Utilities/VBufferUtils.cs
index 974af42339..9120ccbedd 100644
--- a/src/Microsoft.ML.Core/Utilities/VBufferUtils.cs
+++ b/src/Microsoft.ML.Core/Utilities/VBufferUtils.cs
@@ -4,9 +4,9 @@
using System;
using System.Collections.Generic;
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML.Data;
-namespace Microsoft.ML.Runtime.Internal.Utilities
+namespace Microsoft.ML.Internal.Utilities
{
// REVIEW: Consider automatic densification in some of the operations, where appropriate.
// REVIEW: Once we do the conversions from Vector/WritableVector, review names of methods,
diff --git a/src/Microsoft.ML.CpuMath/AlignedArray.cs b/src/Microsoft.ML.CpuMath/AlignedArray.cs
index a303b072e0..25f9457661 100644
--- a/src/Microsoft.ML.CpuMath/AlignedArray.cs
+++ b/src/Microsoft.ML.CpuMath/AlignedArray.cs
@@ -2,10 +2,10 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime.Internal.CpuMath.Core;
+using Microsoft.ML.Internal.CpuMath.Core;
using System;
-namespace Microsoft.ML.Runtime.Internal.CpuMath
+namespace Microsoft.ML.Internal.CpuMath
{
///
/// This implements a logical array of floats that is automatically aligned for SSE/AVX operations.
diff --git a/src/Microsoft.ML.CpuMath/AlignedMatrix.cs b/src/Microsoft.ML.CpuMath/AlignedMatrix.cs
index 6d550fc3fc..9e8c95ae51 100644
--- a/src/Microsoft.ML.CpuMath/AlignedMatrix.cs
+++ b/src/Microsoft.ML.CpuMath/AlignedMatrix.cs
@@ -4,12 +4,12 @@
using Float = System.Single;
-using Microsoft.ML.Runtime.Internal.CpuMath.Core;
+using Microsoft.ML.Internal.CpuMath.Core;
using System;
using System.Collections;
using System.Collections.Generic;
-namespace Microsoft.ML.Runtime.Internal.CpuMath
+namespace Microsoft.ML.Internal.CpuMath
{
using Conditional = System.Diagnostics.ConditionalAttribute;
diff --git a/src/Microsoft.ML.CpuMath/AssemblyInfo.cs b/src/Microsoft.ML.CpuMath/AssemblyInfo.cs
index 7710703c29..52b73c15a8 100644
--- a/src/Microsoft.ML.CpuMath/AssemblyInfo.cs
+++ b/src/Microsoft.ML.CpuMath/AssemblyInfo.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime.Internal.CpuMath.Core;
+using Microsoft.ML.Internal.CpuMath.Core;
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Microsoft.ML.CpuMath.UnitTests.netstandard" + PublicKey.TestValue)]
diff --git a/src/Microsoft.ML.CpuMath/AvxIntrinsics.cs b/src/Microsoft.ML.CpuMath/AvxIntrinsics.cs
index 1b19b46949..fc50acc90e 100644
--- a/src/Microsoft.ML.CpuMath/AvxIntrinsics.cs
+++ b/src/Microsoft.ML.CpuMath/AvxIntrinsics.cs
@@ -9,7 +9,7 @@
// * P suffix means sparse (unaligned) partial vector - the vector is only part of a larger sparse vector.
// * Tran means the matrix is transposed.
-using Microsoft.ML.Runtime.Internal.CpuMath.Core;
+using Microsoft.ML.Internal.CpuMath.Core;
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -17,7 +17,7 @@
using System.Runtime.Intrinsics.X86;
using nuint = System.UInt64;
-namespace Microsoft.ML.Runtime.Internal.CpuMath
+namespace Microsoft.ML.Internal.CpuMath
{
internal static class AvxIntrinsics
{
diff --git a/src/Microsoft.ML.CpuMath/CpuAligenedMathUtils.cs b/src/Microsoft.ML.CpuMath/CpuAligenedMathUtils.cs
index 33690055b2..c80cdec192 100644
--- a/src/Microsoft.ML.CpuMath/CpuAligenedMathUtils.cs
+++ b/src/Microsoft.ML.CpuMath/CpuAligenedMathUtils.cs
@@ -2,9 +2,9 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime.Internal.CpuMath.Core;
+using Microsoft.ML.Internal.CpuMath.Core;
-namespace Microsoft.ML.Runtime.Internal.CpuMath
+namespace Microsoft.ML.Internal.CpuMath
{
[BestFriend]
internal static class CpuAligenedMathUtils
diff --git a/src/Microsoft.ML.CpuMath/CpuMathUtils.netcoreapp.cs b/src/Microsoft.ML.CpuMath/CpuMathUtils.netcoreapp.cs
index d895e590a9..2a4a8618d7 100644
--- a/src/Microsoft.ML.CpuMath/CpuMathUtils.netcoreapp.cs
+++ b/src/Microsoft.ML.CpuMath/CpuMathUtils.netcoreapp.cs
@@ -2,12 +2,12 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime.Internal.CpuMath.Core;
+using Microsoft.ML.Internal.CpuMath.Core;
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics.X86;
using System;
-namespace Microsoft.ML.Runtime.Internal.CpuMath
+namespace Microsoft.ML.Internal.CpuMath
{
internal static partial class CpuMathUtils
{
diff --git a/src/Microsoft.ML.CpuMath/CpuMathUtils.netstandard.cs b/src/Microsoft.ML.CpuMath/CpuMathUtils.netstandard.cs
index a046bbba98..ff021697d6 100644
--- a/src/Microsoft.ML.CpuMath/CpuMathUtils.netstandard.cs
+++ b/src/Microsoft.ML.CpuMath/CpuMathUtils.netstandard.cs
@@ -2,12 +2,12 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime.Internal.CpuMath.Core;
+using Microsoft.ML.Internal.CpuMath.Core;
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
-namespace Microsoft.ML.Runtime.Internal.CpuMath
+namespace Microsoft.ML.Internal.CpuMath
{
[BestFriend]
internal static partial class CpuMathUtils
diff --git a/src/Microsoft.ML.CpuMath/EigenUtils.cs b/src/Microsoft.ML.CpuMath/EigenUtils.cs
index cff9d1b32d..af5bb33508 100644
--- a/src/Microsoft.ML.CpuMath/EigenUtils.cs
+++ b/src/Microsoft.ML.CpuMath/EigenUtils.cs
@@ -2,11 +2,11 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime.Internal.CpuMath.Core;
+using Microsoft.ML.Internal.CpuMath.Core;
using System;
using Float = System.Single;
-namespace Microsoft.ML.Runtime.Internal.CpuMath
+namespace Microsoft.ML.Internal.CpuMath
{
[BestFriend]
// REVIEW: improve perf with SSE and Multithreading
diff --git a/src/Microsoft.ML.CpuMath/ICpuBuffer.cs b/src/Microsoft.ML.CpuMath/ICpuBuffer.cs
index a121351cff..ffffc9aaa6 100644
--- a/src/Microsoft.ML.CpuMath/ICpuBuffer.cs
+++ b/src/Microsoft.ML.CpuMath/ICpuBuffer.cs
@@ -2,12 +2,12 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime.Internal.CpuMath.Core;
+using Microsoft.ML.Internal.CpuMath.Core;
using System;
using System.Collections.Generic;
using Float = System.Single;
-namespace Microsoft.ML.Runtime.Internal.CpuMath
+namespace Microsoft.ML.Internal.CpuMath
{
using Conditional = System.Diagnostics.ConditionalAttribute;
diff --git a/src/Microsoft.ML.CpuMath/IntUtils.cs b/src/Microsoft.ML.CpuMath/IntUtils.cs
index dbb07e31cb..9c57f66fad 100644
--- a/src/Microsoft.ML.CpuMath/IntUtils.cs
+++ b/src/Microsoft.ML.CpuMath/IntUtils.cs
@@ -2,12 +2,12 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime.Internal.CpuMath.Core;
+using Microsoft.ML.Internal.CpuMath.Core;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.Security;
-namespace Microsoft.ML.Runtime.Internal.CpuMath
+namespace Microsoft.ML.Internal.CpuMath
{
[BestFriend]
internal static class IntUtils
diff --git a/src/Microsoft.ML.CpuMath/ProbabilityFunctions.cs b/src/Microsoft.ML.CpuMath/ProbabilityFunctions.cs
index 64875bb8b6..c00d72ea85 100644
--- a/src/Microsoft.ML.CpuMath/ProbabilityFunctions.cs
+++ b/src/Microsoft.ML.CpuMath/ProbabilityFunctions.cs
@@ -2,10 +2,10 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime.Internal.CpuMath.Core;
+using Microsoft.ML.Internal.CpuMath.Core;
using System;
-namespace Microsoft.ML.Runtime.Internal.CpuMath
+namespace Microsoft.ML.Internal.CpuMath
{
///
/// Probability Functions.
diff --git a/src/Microsoft.ML.CpuMath/SseIntrinsics.cs b/src/Microsoft.ML.CpuMath/SseIntrinsics.cs
index 44bf8abcaa..c9334cc70e 100644
--- a/src/Microsoft.ML.CpuMath/SseIntrinsics.cs
+++ b/src/Microsoft.ML.CpuMath/SseIntrinsics.cs
@@ -13,7 +13,7 @@
// * D suffix means convolution matrix, with implicit source padding.
// * Tran means the matrix is transposed.
-using Microsoft.ML.Runtime.Internal.CpuMath.Core;
+using Microsoft.ML.Internal.CpuMath.Core;
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -21,7 +21,7 @@
using System.Runtime.Intrinsics.X86;
using nuint = System.UInt64;
-namespace Microsoft.ML.Runtime.Internal.CpuMath
+namespace Microsoft.ML.Internal.CpuMath
{
internal static class SseIntrinsics
{
diff --git a/src/Microsoft.ML.CpuMath/Thunk.cs b/src/Microsoft.ML.CpuMath/Thunk.cs
index 8ff725b54a..d3bbea60a9 100644
--- a/src/Microsoft.ML.CpuMath/Thunk.cs
+++ b/src/Microsoft.ML.CpuMath/Thunk.cs
@@ -2,11 +2,11 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime.Internal.CpuMath.Core;
+using Microsoft.ML.Internal.CpuMath.Core;
using System.Runtime.InteropServices;
using System.Security;
-namespace Microsoft.ML.Runtime.Internal.CpuMath
+namespace Microsoft.ML.Internal.CpuMath
{
[BestFriend]
internal static unsafe class Thunk
diff --git a/src/Microsoft.ML.Data/Commands/CrossValidationCommand.cs b/src/Microsoft.ML.Data/Commands/CrossValidationCommand.cs
index 7a53d2651b..cc1865660e 100644
--- a/src/Microsoft.ML.Data/Commands/CrossValidationCommand.cs
+++ b/src/Microsoft.ML.Data/Commands/CrossValidationCommand.cs
@@ -3,12 +3,11 @@
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Command;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Calibration;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML;
+using Microsoft.ML.Command;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Internal.Calibration;
+using Microsoft.ML.Internal.Utilities;
using Microsoft.ML.Transforms;
using Microsoft.ML.Transforms.Conversions;
using System;
@@ -20,7 +19,7 @@
[assembly: LoadableClass(typeof(CrossValidationCommand), typeof(CrossValidationCommand.Arguments), typeof(SignatureCommand),
"Cross Validation", CrossValidationCommand.LoadName)]
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
[BestFriend]
internal sealed class CrossValidationCommand : DataCommand.ImplBase
diff --git a/src/Microsoft.ML.Data/Commands/DataCommand.cs b/src/Microsoft.ML.Data/Commands/DataCommand.cs
index 493a47b639..d74cd2cd03 100644
--- a/src/Microsoft.ML.Data/Commands/DataCommand.cs
+++ b/src/Microsoft.ML.Data/Commands/DataCommand.cs
@@ -6,13 +6,13 @@
using System.Collections.Generic;
using System.IO;
using System.Linq;
-using Microsoft.ML.Runtime.Command;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data.IO;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML.Command;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Data.IO;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// This holds useful base classes for commands that ingest a primary dataset and deal with associated model files.
diff --git a/src/Microsoft.ML.Data/Commands/DefaultColumnNames.cs b/src/Microsoft.ML.Data/Commands/DefaultColumnNames.cs
index 85b6b0f1a5..d66e4d518b 100644
--- a/src/Microsoft.ML.Data/Commands/DefaultColumnNames.cs
+++ b/src/Microsoft.ML.Data/Commands/DefaultColumnNames.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
public static class DefaultColumnNames
{
diff --git a/src/Microsoft.ML.Data/Commands/EvaluateCommand.cs b/src/Microsoft.ML.Data/Commands/EvaluateCommand.cs
index 315b6d7fbe..06f81f4306 100644
--- a/src/Microsoft.ML.Data/Commands/EvaluateCommand.cs
+++ b/src/Microsoft.ML.Data/Commands/EvaluateCommand.cs
@@ -5,11 +5,11 @@
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Command;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML;
+using Microsoft.ML.Command;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Data;
+using Microsoft.ML.Internal.Utilities;
[assembly: LoadableClass(EvaluateTransform.Summary, typeof(IDataTransform), typeof(EvaluateTransform), typeof(EvaluateTransform.Arguments), typeof(SignatureDataTransform),
"Evaluate Predictor", "Evaluate")]
@@ -17,7 +17,7 @@
[assembly: LoadableClass(EvaluateCommand.Summary, typeof(EvaluateCommand), typeof(EvaluateCommand.Arguments), typeof(SignatureCommand),
"Evaluate Predictor", "Evaluate")]
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
// REVIEW: For simplicity (since this is currently the case),
// we assume that all metrics are either numeric, or numeric vectors.
diff --git a/src/Microsoft.ML.Data/Commands/SaveDataCommand.cs b/src/Microsoft.ML.Data/Commands/SaveDataCommand.cs
index 6d8d668b81..403bdba3bd 100644
--- a/src/Microsoft.ML.Data/Commands/SaveDataCommand.cs
+++ b/src/Microsoft.ML.Data/Commands/SaveDataCommand.cs
@@ -2,12 +2,12 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Command;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Data.IO;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML;
+using Microsoft.ML.Command;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Data;
+using Microsoft.ML.Data.IO;
+using Microsoft.ML.Internal.Utilities;
using Microsoft.ML.Transforms;
using System;
using System.Collections.Generic;
@@ -20,7 +20,7 @@
[assembly: LoadableClass(ShowDataCommand.Summary, typeof(ShowDataCommand), typeof(ShowDataCommand.Arguments), typeof(SignatureCommand),
"Show Data", "ShowData", "show")]
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
internal sealed class SaveDataCommand : DataCommand.ImplBase
{
diff --git a/src/Microsoft.ML.Data/Commands/SavePredictorCommand.cs b/src/Microsoft.ML.Data/Commands/SavePredictorCommand.cs
index c537cbd3ab..898cd67ef0 100644
--- a/src/Microsoft.ML.Data/Commands/SavePredictorCommand.cs
+++ b/src/Microsoft.ML.Data/Commands/SavePredictorCommand.cs
@@ -4,21 +4,21 @@
using System.IO;
using System.Text;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Command;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
-using Microsoft.ML.Runtime.Tools;
+using Microsoft.ML;
+using Microsoft.ML.Command;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Data;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
+using Microsoft.ML.Tools;
// REVIEW: Fix these namespaces.
-using Microsoft.ML.Runtime.Internal.Internallearn;
+using Microsoft.ML.Internal.Internallearn;
[assembly: LoadableClass(SavePredictorCommand.Summary, typeof(SavePredictorCommand), typeof(SavePredictorCommand.Arguments), typeof(SignatureCommand),
"Save Predictor As", "SavePredictorAs", "SavePredictor", "SaveAs", "SaveModel")]
-namespace Microsoft.ML.Runtime.Tools
+namespace Microsoft.ML.Tools
{
internal sealed class SavePredictorCommand : ICommand
{
diff --git a/src/Microsoft.ML.Data/Commands/ScoreCommand.cs b/src/Microsoft.ML.Data/Commands/ScoreCommand.cs
index fe289fa4f7..3f5db72df0 100644
--- a/src/Microsoft.ML.Data/Commands/ScoreCommand.cs
+++ b/src/Microsoft.ML.Data/Commands/ScoreCommand.cs
@@ -8,17 +8,16 @@
using System.Collections.Generic;
using System.IO;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Command;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Data.IO;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML;
+using Microsoft.ML.Command;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Data.IO;
+using Microsoft.ML.Internal.Utilities;
[assembly: LoadableClass(ScoreCommand.Summary, typeof(ScoreCommand), typeof(ScoreCommand.Arguments), typeof(SignatureCommand),
"Score Predictor", "Score")]
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
using TScorerFactory = IComponentFactory;
diff --git a/src/Microsoft.ML.Data/Commands/ShowSchemaCommand.cs b/src/Microsoft.ML.Data/Commands/ShowSchemaCommand.cs
index 48c28a377f..5a7e180abc 100644
--- a/src/Microsoft.ML.Data/Commands/ShowSchemaCommand.cs
+++ b/src/Microsoft.ML.Data/Commands/ShowSchemaCommand.cs
@@ -10,17 +10,16 @@
using System.Reflection;
using System.Text;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Command;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Data.Conversion;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML;
+using Microsoft.ML.Command;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Data.Conversion;
+using Microsoft.ML.Internal.Utilities;
[assembly: LoadableClass(ShowSchemaCommand.Summary, typeof(ShowSchemaCommand), typeof(ShowSchemaCommand.Arguments), typeof(SignatureCommand),
"Show Schema", ShowSchemaCommand.LoadName, "schema")]
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
internal sealed class ShowSchemaCommand : DataCommand.ImplBase
{
diff --git a/src/Microsoft.ML.Data/Commands/TestCommand.cs b/src/Microsoft.ML.Data/Commands/TestCommand.cs
index eb7d689b61..c27e95aa29 100644
--- a/src/Microsoft.ML.Data/Commands/TestCommand.cs
+++ b/src/Microsoft.ML.Data/Commands/TestCommand.cs
@@ -3,16 +3,16 @@
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Command;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML;
+using Microsoft.ML.Command;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Data;
+using Microsoft.ML.Internal.Utilities;
[assembly: LoadableClass(TestCommand.Summary, typeof(TestCommand), typeof(TestCommand.Arguments), typeof(SignatureCommand),
"Test Predictor", "Test")]
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// This command is essentially chaining together and
diff --git a/src/Microsoft.ML.Data/Commands/TrainCommand.cs b/src/Microsoft.ML.Data/Commands/TrainCommand.cs
index 7a1bec133a..a9b9671177 100644
--- a/src/Microsoft.ML.Data/Commands/TrainCommand.cs
+++ b/src/Microsoft.ML.Data/Commands/TrainCommand.cs
@@ -3,14 +3,13 @@
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Command;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Data.IO;
-using Microsoft.ML.Runtime.Internal.Calibration;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML;
+using Microsoft.ML.Command;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Data.IO;
+using Microsoft.ML.Internal.Calibration;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
using Microsoft.ML.Transforms.Normalizers;
using System;
using System.Collections.Generic;
@@ -20,7 +19,7 @@
[assembly: LoadableClass(TrainCommand.Summary, typeof(TrainCommand), typeof(TrainCommand.Arguments), typeof(SignatureCommand),
"Train Predictor", "Train")]
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
using ColumnRole = RoleMappedSchema.ColumnRole;
diff --git a/src/Microsoft.ML.Data/Commands/TrainTestCommand.cs b/src/Microsoft.ML.Data/Commands/TrainTestCommand.cs
index 466c759f10..40bac35c7b 100644
--- a/src/Microsoft.ML.Data/Commands/TrainTestCommand.cs
+++ b/src/Microsoft.ML.Data/Commands/TrainTestCommand.cs
@@ -4,18 +4,18 @@
using System.Collections.Generic;
using System.IO;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Command;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Calibration;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML;
+using Microsoft.ML.Command;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Data;
+using Microsoft.ML.Internal.Calibration;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
[assembly: LoadableClass(TrainTestCommand.Summary, typeof(TrainTestCommand), typeof(TrainTestCommand.Arguments), typeof(SignatureCommand),
"Train Test", TrainTestCommand.LoadName)]
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
[BestFriend]
internal sealed class TrainTestCommand : DataCommand.ImplBase
diff --git a/src/Microsoft.ML.Data/Commands/TypeInfoCommand.cs b/src/Microsoft.ML.Data/Commands/TypeInfoCommand.cs
index e9db784f1f..1e3fc16e5d 100644
--- a/src/Microsoft.ML.Data/Commands/TypeInfoCommand.cs
+++ b/src/Microsoft.ML.Data/Commands/TypeInfoCommand.cs
@@ -6,11 +6,11 @@
using System.Collections.Generic;
using System.Linq;
using Microsoft.ML.Data.Commands;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Command;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Data.Conversion;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML;
+using Microsoft.ML.Command;
+using Microsoft.ML.Data;
+using Microsoft.ML.Data.Conversion;
+using Microsoft.ML.Internal.Utilities;
[assembly: LoadableClass(typeof(TypeInfoCommand), typeof(TypeInfoCommand.Arguments), typeof(SignatureCommand),
"", TypeInfoCommand.LoadName)]
diff --git a/src/Microsoft.ML.Data/Data/BufferBuilder.cs b/src/Microsoft.ML.Data/Data/BufferBuilder.cs
index 2f37f4ea81..3527c50096 100644
--- a/src/Microsoft.ML.Data/Data/BufferBuilder.cs
+++ b/src/Microsoft.ML.Data/Data/BufferBuilder.cs
@@ -3,9 +3,9 @@
// See the LICENSE file in the project root for more information.
using System;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Internal.Utilities;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
using Conditional = System.Diagnostics.ConditionalAttribute;
diff --git a/src/Microsoft.ML.Data/Data/Combiner.cs b/src/Microsoft.ML.Data/Data/Combiner.cs
index 6335620b8b..834dd7a4ee 100644
--- a/src/Microsoft.ML.Data/Data/Combiner.cs
+++ b/src/Microsoft.ML.Data/Data/Combiner.cs
@@ -9,7 +9,7 @@
using System;
using System.Threading;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
// REVIEW: Need better names for these and possibly a distinct namespace. These are too
// specialized to have such prominent fully qualified names.
diff --git a/src/Microsoft.ML.Data/Data/Conversion.cs b/src/Microsoft.ML.Data/Data/Conversion.cs
index cf4379e74d..ccb681b925 100644
--- a/src/Microsoft.ML.Data/Data/Conversion.cs
+++ b/src/Microsoft.ML.Data/Data/Conversion.cs
@@ -10,9 +10,9 @@
using System.Reflection;
using System.Text;
using System.Threading;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Internal.Utilities;
-namespace Microsoft.ML.Runtime.Data.Conversion
+namespace Microsoft.ML.Data.Conversion
{
using BL = Boolean;
using DT = DateTime;
diff --git a/src/Microsoft.ML.Data/Data/DataViewUtils.cs b/src/Microsoft.ML.Data/Data/DataViewUtils.cs
index 01f6960cce..1ee926378c 100644
--- a/src/Microsoft.ML.Data/Data/DataViewUtils.cs
+++ b/src/Microsoft.ML.Data/Data/DataViewUtils.cs
@@ -9,11 +9,10 @@
using System.Reflection;
using System.Text;
using System.Threading;
-using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.Data.Conversion;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Data.Conversion;
+using Microsoft.ML.Internal.Utilities;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
public static class DataViewUtils
{
diff --git a/src/Microsoft.ML.Data/Data/IDataLoader.cs b/src/Microsoft.ML.Data/Data/IDataLoader.cs
index 8aecbb70df..fcd09a628f 100644
--- a/src/Microsoft.ML.Data/Data/IDataLoader.cs
+++ b/src/Microsoft.ML.Data/Data/IDataLoader.cs
@@ -4,9 +4,9 @@
using System;
using System.IO;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML.Model;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// An interface for exposing some number of items that can be opened for reading.
diff --git a/src/Microsoft.ML.Data/Data/IRowSeekable.cs b/src/Microsoft.ML.Data/Data/IRowSeekable.cs
index d1ae1ebb7e..b29a49343c 100644
--- a/src/Microsoft.ML.Data/Data/IRowSeekable.cs
+++ b/src/Microsoft.ML.Data/Data/IRowSeekable.cs
@@ -2,10 +2,9 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Data;
using System;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
// REVIEW: Would it be a better apporach to add something akin to CanSeek,
// as we have a CanShuffle? The idea is trying to make IRowSeekable propagate along certain transforms.
diff --git a/src/Microsoft.ML.Data/Data/ITransposeDataView.cs b/src/Microsoft.ML.Data/Data/ITransposeDataView.cs
index 88116431ec..a608a28712 100644
--- a/src/Microsoft.ML.Data/Data/ITransposeDataView.cs
+++ b/src/Microsoft.ML.Data/Data/ITransposeDataView.cs
@@ -2,9 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using System;
-
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
// REVIEW: There are a couple problems. Firstly, what to do about cases where
// the number of rows exceeds int.MaxValue? Right now we just fail. Practically this makes
diff --git a/src/Microsoft.ML.Data/Data/RowCursorUtils.cs b/src/Microsoft.ML.Data/Data/RowCursorUtils.cs
index 0e5e226b39..7f6aeff35e 100644
--- a/src/Microsoft.ML.Data/Data/RowCursorUtils.cs
+++ b/src/Microsoft.ML.Data/Data/RowCursorUtils.cs
@@ -7,11 +7,10 @@
using System.Linq;
using System.Reflection;
using System.Text;
-using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.Data.Conversion;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Data.Conversion;
+using Microsoft.ML.Internal.Utilities;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
public static class RowCursorUtils
{
@@ -473,7 +472,7 @@ public static T Fetch(IExceptionContext ectx, Row row, string name)
///
/// Given a row, returns a one-row data view. This is useful for cases where you have a row, and you
/// wish to use some facility normally only exposed to dataviews. (For example, you have an
- /// but want to save it somewhere using a .)
+ /// but want to save it somewhere using a .)
/// Note that it is not possible for this method to ensure that the input does not
/// change, so users of this convenience must take care of what they do with the input row or the data
/// source it came from, while the returned dataview is potentially being used.
diff --git a/src/Microsoft.ML.Data/Data/SchemaDefinition.cs b/src/Microsoft.ML.Data/Data/SchemaDefinition.cs
index 437d37d071..b06d04301b 100644
--- a/src/Microsoft.ML.Data/Data/SchemaDefinition.cs
+++ b/src/Microsoft.ML.Data/Data/SchemaDefinition.cs
@@ -6,9 +6,9 @@
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML;
+using Microsoft.ML.Data;
+using Microsoft.ML.Internal.Utilities;
namespace Microsoft.ML.Data
{
diff --git a/src/Microsoft.ML.Data/Data/SlotCursor.cs b/src/Microsoft.ML.Data/Data/SlotCursor.cs
index 7e151254e0..1b043a9273 100644
--- a/src/Microsoft.ML.Data/Data/SlotCursor.cs
+++ b/src/Microsoft.ML.Data/Data/SlotCursor.cs
@@ -4,7 +4,7 @@
using System;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// A cursor that allows slot-by-slot access of data. This is to
diff --git a/src/Microsoft.ML.Data/DataDebuggerPreview.cs b/src/Microsoft.ML.Data/DataDebuggerPreview.cs
index 5c09e17049..c07bfcc287 100644
--- a/src/Microsoft.ML.Data/DataDebuggerPreview.cs
+++ b/src/Microsoft.ML.Data/DataDebuggerPreview.cs
@@ -2,9 +2,9 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML;
+using Microsoft.ML.Data;
+using Microsoft.ML.Internal.Utilities;
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
diff --git a/src/Microsoft.ML.Data/DataLoadSave/Binary/BinaryLoader.cs b/src/Microsoft.ML.Data/DataLoadSave/Binary/BinaryLoader.cs
index ddaf747b3a..8a39549de9 100644
--- a/src/Microsoft.ML.Data/DataLoadSave/Binary/BinaryLoader.cs
+++ b/src/Microsoft.ML.Data/DataLoadSave/Binary/BinaryLoader.cs
@@ -3,13 +3,12 @@
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Command;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Data.IO;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML;
+using Microsoft.ML.Command;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Data.IO;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
using Microsoft.ML.Transforms;
using System;
using System.Collections.Concurrent;
@@ -34,7 +33,7 @@
[assembly: LoadableClass(typeof(BinaryLoader.InfoCommand), typeof(BinaryLoader.InfoCommand.Arguments), typeof(SignatureCommand),
"", BinaryLoader.InfoCommand.LoadName, "idv")]
-namespace Microsoft.ML.Runtime.Data.IO
+namespace Microsoft.ML.Data.IO
{
public sealed class BinaryLoader : IDataLoader, IDisposable
{
diff --git a/src/Microsoft.ML.Data/DataLoadSave/Binary/BinaryLoaderSaverCatalog.cs b/src/Microsoft.ML.Data/DataLoadSave/Binary/BinaryLoaderSaverCatalog.cs
index d697112719..f1e1350358 100644
--- a/src/Microsoft.ML.Data/DataLoadSave/Binary/BinaryLoaderSaverCatalog.cs
+++ b/src/Microsoft.ML.Data/DataLoadSave/Binary/BinaryLoaderSaverCatalog.cs
@@ -3,9 +3,9 @@
// See the LICENSE file in the project root for more information.
using System.IO;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Data.IO;
+using Microsoft.ML;
+using Microsoft.ML.Data;
+using Microsoft.ML.Data.IO;
namespace Microsoft.ML
{
diff --git a/src/Microsoft.ML.Data/DataLoadSave/Binary/BinarySaver.cs b/src/Microsoft.ML.Data/DataLoadSave/Binary/BinarySaver.cs
index 11be283690..58e56bcd4a 100644
--- a/src/Microsoft.ML.Data/DataLoadSave/Binary/BinarySaver.cs
+++ b/src/Microsoft.ML.Data/DataLoadSave/Binary/BinarySaver.cs
@@ -13,16 +13,15 @@
using System.Threading;
using System.Threading.Tasks;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Data.IO;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Data.IO;
+using Microsoft.ML.Internal.Utilities;
[assembly: LoadableClass(BinarySaver.Summary, typeof(BinarySaver), typeof(BinarySaver.Arguments), typeof(SignatureDataSaver),
"Binary Saver", "BinarySaver", "Binary")]
-namespace Microsoft.ML.Runtime.Data.IO
+namespace Microsoft.ML.Data.IO
{
using Stopwatch = System.Diagnostics.Stopwatch;
diff --git a/src/Microsoft.ML.Data/DataLoadSave/Binary/BlockLookup.cs b/src/Microsoft.ML.Data/DataLoadSave/Binary/BlockLookup.cs
index c5b1571f5a..ff5edd2014 100644
--- a/src/Microsoft.ML.Data/DataLoadSave/Binary/BlockLookup.cs
+++ b/src/Microsoft.ML.Data/DataLoadSave/Binary/BlockLookup.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-namespace Microsoft.ML.Runtime.Data.IO
+namespace Microsoft.ML.Data.IO
{
///
/// This structure is utilized by both the binary loader and binary saver to hold
diff --git a/src/Microsoft.ML.Data/DataLoadSave/Binary/CodecFactory.cs b/src/Microsoft.ML.Data/DataLoadSave/Binary/CodecFactory.cs
index 735ea8730b..66a3ceacc1 100644
--- a/src/Microsoft.ML.Data/DataLoadSave/Binary/CodecFactory.cs
+++ b/src/Microsoft.ML.Data/DataLoadSave/Binary/CodecFactory.cs
@@ -6,9 +6,9 @@
using System.Collections.Generic;
using System.IO;
using System.Text;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Internal.Utilities;
-namespace Microsoft.ML.Runtime.Data.IO
+namespace Microsoft.ML.Data.IO
{
internal sealed partial class CodecFactory
{
diff --git a/src/Microsoft.ML.Data/DataLoadSave/Binary/Codecs.cs b/src/Microsoft.ML.Data/DataLoadSave/Binary/Codecs.cs
index 11963c3700..10ab84dd11 100644
--- a/src/Microsoft.ML.Data/DataLoadSave/Binary/Codecs.cs
+++ b/src/Microsoft.ML.Data/DataLoadSave/Binary/Codecs.cs
@@ -8,10 +8,10 @@
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Internal.Internallearn;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Internal.Internallearn;
-namespace Microsoft.ML.Runtime.Data.IO
+namespace Microsoft.ML.Data.IO
{
internal sealed partial class CodecFactory
{
diff --git a/src/Microsoft.ML.Data/DataLoadSave/Binary/CompressionKind.cs b/src/Microsoft.ML.Data/DataLoadSave/Binary/CompressionKind.cs
index 438177807a..4c22a9b31f 100644
--- a/src/Microsoft.ML.Data/DataLoadSave/Binary/CompressionKind.cs
+++ b/src/Microsoft.ML.Data/DataLoadSave/Binary/CompressionKind.cs
@@ -5,13 +5,13 @@
using System;
using System.IO;
using System.IO.Compression;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data.IO;
-using Microsoft.ML.Runtime.Data.IO.Zlib;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Data.IO;
+using Microsoft.ML.Data.IO.Zlib;
+using Microsoft.ML.Internal.Utilities;
-namespace Microsoft.ML.Runtime.Data.IO
+namespace Microsoft.ML.Data.IO
{
///
/// A code indicating the kind of compression. It is supposed that each kind of compression is totally
diff --git a/src/Microsoft.ML.Data/DataLoadSave/Binary/Header.cs b/src/Microsoft.ML.Data/DataLoadSave/Binary/Header.cs
index b552ab6523..0395094700 100644
--- a/src/Microsoft.ML.Data/DataLoadSave/Binary/Header.cs
+++ b/src/Microsoft.ML.Data/DataLoadSave/Binary/Header.cs
@@ -4,7 +4,7 @@
using System.Runtime.InteropServices;
-namespace Microsoft.ML.Runtime.Data.IO
+namespace Microsoft.ML.Data.IO
{
[StructLayout(LayoutKind.Explicit, Size = HeaderSize)]
public struct Header
diff --git a/src/Microsoft.ML.Data/DataLoadSave/Binary/IValueCodec.cs b/src/Microsoft.ML.Data/DataLoadSave/Binary/IValueCodec.cs
index 2f81e90056..5419e67ab8 100644
--- a/src/Microsoft.ML.Data/DataLoadSave/Binary/IValueCodec.cs
+++ b/src/Microsoft.ML.Data/DataLoadSave/Binary/IValueCodec.cs
@@ -5,7 +5,7 @@
using System;
using System.IO;
-namespace Microsoft.ML.Runtime.Data.IO
+namespace Microsoft.ML.Data.IO
{
///
/// A value codec encapsulates implementations capable of writing and reading data of some
diff --git a/src/Microsoft.ML.Data/DataLoadSave/Binary/MemoryStreamPool.cs b/src/Microsoft.ML.Data/DataLoadSave/Binary/MemoryStreamPool.cs
index 105b0cf8a0..5fbb5c1318 100644
--- a/src/Microsoft.ML.Data/DataLoadSave/Binary/MemoryStreamPool.cs
+++ b/src/Microsoft.ML.Data/DataLoadSave/Binary/MemoryStreamPool.cs
@@ -5,9 +5,9 @@
using System;
using System.IO;
using System.Threading;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Internal.Utilities;
-namespace Microsoft.ML.Runtime.Data.IO
+namespace Microsoft.ML.Data.IO
{
internal sealed class MemoryStreamPool
{
diff --git a/src/Microsoft.ML.Data/DataLoadSave/Binary/UnsafeTypeOps.cs b/src/Microsoft.ML.Data/DataLoadSave/Binary/UnsafeTypeOps.cs
index 49d3919e43..5fc7215a20 100644
--- a/src/Microsoft.ML.Data/DataLoadSave/Binary/UnsafeTypeOps.cs
+++ b/src/Microsoft.ML.Data/DataLoadSave/Binary/UnsafeTypeOps.cs
@@ -7,11 +7,11 @@
using System;
using System.Collections.Generic;
using System.IO;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML;
+using Microsoft.ML.Data;
using System.Runtime.InteropServices;
-namespace Microsoft.ML.Runtime.Internal.Internallearn
+namespace Microsoft.ML.Internal.Internallearn
{
///
/// Represents some common global operations over a type
diff --git a/src/Microsoft.ML.Data/DataLoadSave/Binary/Zlib/Constants.cs b/src/Microsoft.ML.Data/DataLoadSave/Binary/Zlib/Constants.cs
index 51f3869ee8..5599a2909d 100644
--- a/src/Microsoft.ML.Data/DataLoadSave/Binary/Zlib/Constants.cs
+++ b/src/Microsoft.ML.Data/DataLoadSave/Binary/Zlib/Constants.cs
@@ -8,7 +8,7 @@
using System.Text;
using System.Threading.Tasks;
-namespace Microsoft.ML.Runtime.Data.IO.Zlib
+namespace Microsoft.ML.Data.IO.Zlib
{
///
/// See zlib.h
diff --git a/src/Microsoft.ML.Data/DataLoadSave/Binary/Zlib/ZDeflateStream.cs b/src/Microsoft.ML.Data/DataLoadSave/Binary/Zlib/ZDeflateStream.cs
index 9b46743ab5..b7d2a98ac9 100644
--- a/src/Microsoft.ML.Data/DataLoadSave/Binary/Zlib/ZDeflateStream.cs
+++ b/src/Microsoft.ML.Data/DataLoadSave/Binary/Zlib/ZDeflateStream.cs
@@ -5,7 +5,7 @@
using System;
using System.IO;
-namespace Microsoft.ML.Runtime.Data.IO.Zlib
+namespace Microsoft.ML.Data.IO.Zlib
{
public sealed class ZDeflateStream : Stream
{
diff --git a/src/Microsoft.ML.Data/DataLoadSave/Binary/Zlib/ZInflateStream.cs b/src/Microsoft.ML.Data/DataLoadSave/Binary/Zlib/ZInflateStream.cs
index cb8bef5360..57b6e55aaf 100644
--- a/src/Microsoft.ML.Data/DataLoadSave/Binary/Zlib/ZInflateStream.cs
+++ b/src/Microsoft.ML.Data/DataLoadSave/Binary/Zlib/ZInflateStream.cs
@@ -4,9 +4,9 @@
using System;
using System.IO;
-using Microsoft.ML.Runtime;
+using Microsoft.ML;
-namespace Microsoft.ML.Runtime.Data.IO.Zlib
+namespace Microsoft.ML.Data.IO.Zlib
{
public sealed class ZInflateStream : Stream
{
diff --git a/src/Microsoft.ML.Data/DataLoadSave/Binary/Zlib/Zlib.cs b/src/Microsoft.ML.Data/DataLoadSave/Binary/Zlib/Zlib.cs
index 7b2ae812a8..879394acfe 100644
--- a/src/Microsoft.ML.Data/DataLoadSave/Binary/Zlib/Zlib.cs
+++ b/src/Microsoft.ML.Data/DataLoadSave/Binary/Zlib/Zlib.cs
@@ -6,7 +6,7 @@
using System.Runtime.InteropServices;
using System.Security;
-namespace Microsoft.ML.Runtime.Data.IO.Zlib
+namespace Microsoft.ML.Data.IO.Zlib
{
internal static class Zlib
{
diff --git a/src/Microsoft.ML.Data/DataLoadSave/CompositeDataLoader.cs b/src/Microsoft.ML.Data/DataLoadSave/CompositeDataLoader.cs
index 1395ec833d..93636ea701 100644
--- a/src/Microsoft.ML.Data/DataLoadSave/CompositeDataLoader.cs
+++ b/src/Microsoft.ML.Data/DataLoadSave/CompositeDataLoader.cs
@@ -3,11 +3,10 @@
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
using System;
using System.Collections.Generic;
using System.IO;
@@ -20,7 +19,7 @@
[assembly: LoadableClass(typeof(IDataLoader), typeof(CompositeDataLoader), null, typeof(SignatureLoadDataLoader),
"Pipe DataL Loader", CompositeDataLoader.LoaderSignature)]
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// A data loader that wraps an underlying loader plus a sequence of transforms.
diff --git a/src/Microsoft.ML.Data/DataLoadSave/CompositeDataReader.cs b/src/Microsoft.ML.Data/DataLoadSave/CompositeDataReader.cs
index 830684ae0d..2e9a61e76c 100644
--- a/src/Microsoft.ML.Data/DataLoadSave/CompositeDataReader.cs
+++ b/src/Microsoft.ML.Data/DataLoadSave/CompositeDataReader.cs
@@ -3,9 +3,9 @@
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Core.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML;
+using Microsoft.ML.Data;
+using Microsoft.ML.Model;
using System.IO;
namespace Microsoft.ML.Data
diff --git a/src/Microsoft.ML.Data/DataLoadSave/CompositeReaderEstimator.cs b/src/Microsoft.ML.Data/DataLoadSave/CompositeReaderEstimator.cs
index 61f1246563..2b24ed77c7 100644
--- a/src/Microsoft.ML.Data/DataLoadSave/CompositeReaderEstimator.cs
+++ b/src/Microsoft.ML.Data/DataLoadSave/CompositeReaderEstimator.cs
@@ -5,7 +5,7 @@
using Microsoft.ML.Core.Data;
using Microsoft.ML.Data;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// An estimator class for composite data reader.
diff --git a/src/Microsoft.ML.Data/DataLoadSave/DataOperations.cs b/src/Microsoft.ML.Data/DataLoadSave/DataOperations.cs
index cc0998da03..c07bd3b4de 100644
--- a/src/Microsoft.ML.Data/DataLoadSave/DataOperations.cs
+++ b/src/Microsoft.ML.Data/DataLoadSave/DataOperations.cs
@@ -3,11 +3,10 @@
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Internal.Utilities;
using Microsoft.ML.Transforms;
-namespace Microsoft.ML.Runtime
+namespace Microsoft.ML
{
///
/// A catalog of operations over data that are not transformers or estimators.
diff --git a/src/Microsoft.ML.Data/DataLoadSave/EstimatorChain.cs b/src/Microsoft.ML.Data/DataLoadSave/EstimatorChain.cs
index 7d20d22761..946b86d145 100644
--- a/src/Microsoft.ML.Data/DataLoadSave/EstimatorChain.cs
+++ b/src/Microsoft.ML.Data/DataLoadSave/EstimatorChain.cs
@@ -4,10 +4,10 @@
using Microsoft.ML.Core.Data;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Internal.Utilities;
using System.Linq;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// Represents a chain (potentially empty) of estimators that end with a .
diff --git a/src/Microsoft.ML.Data/DataLoadSave/EstimatorExtensions.cs b/src/Microsoft.ML.Data/DataLoadSave/EstimatorExtensions.cs
index f64ecb4ef2..3fa87d3183 100644
--- a/src/Microsoft.ML.Data/DataLoadSave/EstimatorExtensions.cs
+++ b/src/Microsoft.ML.Data/DataLoadSave/EstimatorExtensions.cs
@@ -4,9 +4,8 @@
using Microsoft.ML.Core.Data;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML;
+using Microsoft.ML.Internal.Utilities;
using System;
namespace Microsoft.ML
diff --git a/src/Microsoft.ML.Data/DataLoadSave/FakeSchema.cs b/src/Microsoft.ML.Data/DataLoadSave/FakeSchema.cs
index 296dc69a1d..62919d4149 100644
--- a/src/Microsoft.ML.Data/DataLoadSave/FakeSchema.cs
+++ b/src/Microsoft.ML.Data/DataLoadSave/FakeSchema.cs
@@ -3,8 +3,8 @@
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Core.Data;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Data;
+using Microsoft.ML.Internal.Utilities;
using System;
namespace Microsoft.ML.Data.DataLoadSave
diff --git a/src/Microsoft.ML.Data/DataLoadSave/MultiFileSource.cs b/src/Microsoft.ML.Data/DataLoadSave/MultiFileSource.cs
index 74fe0cb544..7cc97fcc0b 100644
--- a/src/Microsoft.ML.Data/DataLoadSave/MultiFileSource.cs
+++ b/src/Microsoft.ML.Data/DataLoadSave/MultiFileSource.cs
@@ -4,9 +4,9 @@
using System;
using System.IO;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Internal.Utilities;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// Wraps a potentially compound path as an IMultiStreamSource.
diff --git a/src/Microsoft.ML.Data/DataLoadSave/PartitionedFileLoader.cs b/src/Microsoft.ML.Data/DataLoadSave/PartitionedFileLoader.cs
index 7b97cce6d6..63a73b89ea 100644
--- a/src/Microsoft.ML.Data/DataLoadSave/PartitionedFileLoader.cs
+++ b/src/Microsoft.ML.Data/DataLoadSave/PartitionedFileLoader.cs
@@ -8,14 +8,13 @@
using System.Linq;
using System.Text;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Data.Conversion;
-using Microsoft.ML.Runtime.Data.IO;
-using Microsoft.ML.Runtime.Data.Utilities;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Data.Conversion;
+using Microsoft.ML.Data.IO;
+using Microsoft.ML.Data.Utilities;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
[assembly: LoadableClass(PartitionedFileLoader.Summary, typeof(PartitionedFileLoader), typeof(PartitionedFileLoader.Arguments), typeof(SignatureDataLoader),
PartitionedFileLoader.UserName, PartitionedFileLoader.LoadName, PartitionedFileLoader.ShortName)]
@@ -23,7 +22,7 @@
[assembly: LoadableClass(PartitionedFileLoader.Summary, typeof(PartitionedFileLoader), null, typeof(SignatureLoadDataLoader),
PartitionedFileLoader.UserName, PartitionedFileLoader.LoadName, PartitionedFileLoader.ShortName)]
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// Loads a set of directory partitioned files into an IDataView.
diff --git a/src/Microsoft.ML.Data/DataLoadSave/PartitionedPathParser.cs b/src/Microsoft.ML.Data/DataLoadSave/PartitionedPathParser.cs
index 33f0a5b5f4..5b7f3db452 100644
--- a/src/Microsoft.ML.Data/DataLoadSave/PartitionedPathParser.cs
+++ b/src/Microsoft.ML.Data/DataLoadSave/PartitionedPathParser.cs
@@ -7,12 +7,12 @@
using System.Linq;
using System.Text;
using System.Web;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Data.Utilities;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Data;
+using Microsoft.ML.Data.Utilities;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Model;
[assembly: LoadableClass(SimplePartitionedPathParser.Summary, typeof(SimplePartitionedPathParser), typeof(SimplePartitionedPathParser.Arguments), typeof(PartitionedPathParser),
SimplePartitionedPathParser.UserName, SimplePartitionedPathParser.LoadName, SimplePartitionedPathParser.ShortName)]
@@ -28,7 +28,7 @@
[assembly: EntryPointModule(typeof(SimplePartitionedPathParser.Arguments))]
[assembly: EntryPointModule(typeof(ParquetPartitionedPathParserFactory))]
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// Delegate signature for a partitioned path parser.
diff --git a/src/Microsoft.ML.Data/DataLoadSave/Text/LoadColumnAttribute.cs b/src/Microsoft.ML.Data/DataLoadSave/Text/LoadColumnAttribute.cs
index fcf0cbae3f..5789146ac4 100644
--- a/src/Microsoft.ML.Data/DataLoadSave/Text/LoadColumnAttribute.cs
+++ b/src/Microsoft.ML.Data/DataLoadSave/Text/LoadColumnAttribute.cs
@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime.Data;
using System;
using System.Collections.Generic;
diff --git a/src/Microsoft.ML.Data/DataLoadSave/Text/TextLoader.cs b/src/Microsoft.ML.Data/DataLoadSave/Text/TextLoader.cs
index ef85702173..92e9ac78e6 100644
--- a/src/Microsoft.ML.Data/DataLoadSave/Text/TextLoader.cs
+++ b/src/Microsoft.ML.Data/DataLoadSave/Text/TextLoader.cs
@@ -4,11 +4,10 @@
using Microsoft.ML.Core.Data;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -22,7 +21,7 @@
[assembly: LoadableClass(TextLoader.Summary, typeof(IDataLoader), typeof(TextLoader), null, typeof(SignatureLoadDataLoader),
"Text Loader", TextLoader.LoaderSignature)]
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// Loads a text file into an IDataView. Supports basic mapping from input columns to IDataView columns.
diff --git a/src/Microsoft.ML.Data/DataLoadSave/Text/TextLoaderCursor.cs b/src/Microsoft.ML.Data/DataLoadSave/Text/TextLoaderCursor.cs
index ac879cdac8..98e4b446c5 100644
--- a/src/Microsoft.ML.Data/DataLoadSave/Text/TextLoaderCursor.cs
+++ b/src/Microsoft.ML.Data/DataLoadSave/Text/TextLoaderCursor.cs
@@ -3,14 +3,14 @@
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Internal.Utilities;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Text;
using System.Threading;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
public sealed partial class TextLoader
{
diff --git a/src/Microsoft.ML.Data/DataLoadSave/Text/TextLoaderParser.cs b/src/Microsoft.ML.Data/DataLoadSave/Text/TextLoaderParser.cs
index f9d6cd2b09..cd05a05021 100644
--- a/src/Microsoft.ML.Data/DataLoadSave/Text/TextLoaderParser.cs
+++ b/src/Microsoft.ML.Data/DataLoadSave/Text/TextLoaderParser.cs
@@ -13,10 +13,10 @@
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading;
-using Microsoft.ML.Runtime.Data.Conversion;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Data.Conversion;
+using Microsoft.ML.Internal.Utilities;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
using Conditional = System.Diagnostics.ConditionalAttribute;
diff --git a/src/Microsoft.ML.Data/DataLoadSave/Text/TextLoaderSaverCatalog.cs b/src/Microsoft.ML.Data/DataLoadSave/Text/TextLoaderSaverCatalog.cs
index 0c8fc1b574..7636dd1f16 100644
--- a/src/Microsoft.ML.Data/DataLoadSave/Text/TextLoaderSaverCatalog.cs
+++ b/src/Microsoft.ML.Data/DataLoadSave/Text/TextLoaderSaverCatalog.cs
@@ -1,11 +1,13 @@
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Data.IO;
+using Microsoft.ML;
+using Microsoft.ML.Data;
+using Microsoft.ML.Data.IO;
+using System;
using System.IO;
+using static Microsoft.ML.Data.TextLoader;
namespace Microsoft.ML
{
diff --git a/src/Microsoft.ML.Data/DataLoadSave/Text/TextLoaderStatic.cs b/src/Microsoft.ML.Data/DataLoadSave/Text/TextLoaderStatic.cs
index c70a1158d9..708cd30647 100644
--- a/src/Microsoft.ML.Data/DataLoadSave/Text/TextLoaderStatic.cs
+++ b/src/Microsoft.ML.Data/DataLoadSave/Text/TextLoaderStatic.cs
@@ -8,7 +8,7 @@
using Microsoft.ML.StaticPipe;
using Microsoft.ML.StaticPipe.Runtime;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
public sealed partial class TextLoader
{
diff --git a/src/Microsoft.ML.Data/DataLoadSave/Text/TextSaver.cs b/src/Microsoft.ML.Data/DataLoadSave/Text/TextSaver.cs
index b368e8dbc1..e03816c715 100644
--- a/src/Microsoft.ML.Data/DataLoadSave/Text/TextSaver.cs
+++ b/src/Microsoft.ML.Data/DataLoadSave/Text/TextSaver.cs
@@ -5,19 +5,17 @@
using System;
using System.IO;
using System.Text;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Data.Conversion;
-using Microsoft.ML.Runtime.Data.IO;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Internal.Internallearn;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
using Microsoft.ML.Data;
+using Microsoft.ML.Data.Conversion;
+using Microsoft.ML.Data.IO;
+using Microsoft.ML.Internal.Utilities;
[assembly: LoadableClass(TextSaver.Summary, typeof(TextSaver), typeof(TextSaver.Arguments), typeof(SignatureDataSaver),
"Text Saver", "TextSaver", "Text", DocName = "saver/TextSaver.md")]
-namespace Microsoft.ML.Runtime.Data.IO
+namespace Microsoft.ML.Data.IO
{
public sealed class TextSaver : IDataSaver
{
diff --git a/src/Microsoft.ML.Data/DataLoadSave/TransformWrapper.cs b/src/Microsoft.ML.Data/DataLoadSave/TransformWrapper.cs
index 82ffcaa81c..7d9c79b39a 100644
--- a/src/Microsoft.ML.Data/DataLoadSave/TransformWrapper.cs
+++ b/src/Microsoft.ML.Data/DataLoadSave/TransformWrapper.cs
@@ -5,16 +5,15 @@
using Microsoft.ML.Core.Data;
using Microsoft.ML.Data.DataLoadSave;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Data.IO;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML;
+using Microsoft.ML.Data.IO;
+using Microsoft.ML.Model;
using System.Collections.Generic;
[assembly: LoadableClass(typeof(TransformWrapper), null, typeof(SignatureLoadModel),
"Transform wrapper", TransformWrapper.LoaderSignature)]
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
// REVIEW: this class is public, as long as the Wrappers.cs in tests still rely on it.
// It needs to become internal.
diff --git a/src/Microsoft.ML.Data/DataLoadSave/TransformerChain.cs b/src/Microsoft.ML.Data/DataLoadSave/TransformerChain.cs
index f1a7ca5308..9f4a00c0e8 100644
--- a/src/Microsoft.ML.Data/DataLoadSave/TransformerChain.cs
+++ b/src/Microsoft.ML.Data/DataLoadSave/TransformerChain.cs
@@ -4,10 +4,9 @@
using Microsoft.ML.Core.Data;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
using System;
using System.Collections;
using System.Collections.Generic;
diff --git a/src/Microsoft.ML.Data/DataLoadSave/Transpose/TransposeLoader.cs b/src/Microsoft.ML.Data/DataLoadSave/Transpose/TransposeLoader.cs
index 7566d156a5..18d5aeac8e 100644
--- a/src/Microsoft.ML.Data/DataLoadSave/Transpose/TransposeLoader.cs
+++ b/src/Microsoft.ML.Data/DataLoadSave/Transpose/TransposeLoader.cs
@@ -10,12 +10,11 @@
using System.Runtime.InteropServices;
using System.Threading;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Data.IO;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Data.IO;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
[assembly: LoadableClass(TransposeLoader.Summary, typeof(TransposeLoader), typeof(TransposeLoader.Arguments), typeof(SignatureDataLoader),
"Transpose Loader", TransposeLoader.LoadName, "Transpose", "trans")]
@@ -23,7 +22,7 @@
[assembly: LoadableClass(TransposeLoader.Summary, typeof(TransposeLoader), null, typeof(SignatureLoadDataLoader),
"Transpose Data View Loader", TransposeLoader.LoadName)]
-namespace Microsoft.ML.Runtime.Data.IO
+namespace Microsoft.ML.Data.IO
{
///
/// The transposed loader reads the transposed binary format. This binary format, at a high level, is nothing more
diff --git a/src/Microsoft.ML.Data/DataLoadSave/Transpose/TransposeSaver.cs b/src/Microsoft.ML.Data/DataLoadSave/Transpose/TransposeSaver.cs
index bd351d1e58..ed5ec37a62 100644
--- a/src/Microsoft.ML.Data/DataLoadSave/Transpose/TransposeSaver.cs
+++ b/src/Microsoft.ML.Data/DataLoadSave/Transpose/TransposeSaver.cs
@@ -2,11 +2,11 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Data.IO;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Data;
+using Microsoft.ML.Data.IO;
+using Microsoft.ML.Internal.Utilities;
using Microsoft.ML.Transforms;
using System;
using System.Collections.Generic;
@@ -17,7 +17,7 @@
[assembly: LoadableClass(TransposeSaver.Summary, typeof(TransposeSaver), typeof(TransposeSaver.Arguments), typeof(SignatureDataSaver),
"Transpose Saver", TransposeSaver.LoadName, "TransposedSaver", "Transpose", "Transposed", "trans")]
-namespace Microsoft.ML.Runtime.Data.IO
+namespace Microsoft.ML.Data.IO
{
///
/// Saver for a format that can be loaded using the .
diff --git a/src/Microsoft.ML.Data/DataLoadSave/TrivialEstimator.cs b/src/Microsoft.ML.Data/DataLoadSave/TrivialEstimator.cs
index 34eb0874c6..e1ac2a2936 100644
--- a/src/Microsoft.ML.Data/DataLoadSave/TrivialEstimator.cs
+++ b/src/Microsoft.ML.Data/DataLoadSave/TrivialEstimator.cs
@@ -4,7 +4,7 @@
using Microsoft.ML.Core.Data;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// The trivial implementation of that already has
diff --git a/src/Microsoft.ML.Data/DataLoadSave/TrivialReaderEstimator.cs b/src/Microsoft.ML.Data/DataLoadSave/TrivialReaderEstimator.cs
index 506ea8cf73..957a20ee55 100644
--- a/src/Microsoft.ML.Data/DataLoadSave/TrivialReaderEstimator.cs
+++ b/src/Microsoft.ML.Data/DataLoadSave/TrivialReaderEstimator.cs
@@ -4,7 +4,7 @@
using Microsoft.ML.Core.Data;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// The trivial wrapper for a that acts as an estimator and ignores the source.
diff --git a/src/Microsoft.ML.Data/DataView/AppendRowsDataView.cs b/src/Microsoft.ML.Data/DataView/AppendRowsDataView.cs
index a499ce2e61..1b32f35cc5 100644
--- a/src/Microsoft.ML.Data/DataView/AppendRowsDataView.cs
+++ b/src/Microsoft.ML.Data/DataView/AppendRowsDataView.cs
@@ -3,14 +3,11 @@
// See the LICENSE file in the project root for more information.
using System;
-using System.Collections.Generic;
using System.Linq;
using System.Reflection;
-using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Internal.Utilities;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
// REVIEW: Currently, to enable shuffling, we require the row counts of the sources to be known.
// We can think of the shuffling in AppendRowsDataView as a two-stage process:
diff --git a/src/Microsoft.ML.Data/DataView/ArrayDataViewBuilder.cs b/src/Microsoft.ML.Data/DataView/ArrayDataViewBuilder.cs
index 882b7e33cb..12bad5d794 100644
--- a/src/Microsoft.ML.Data/DataView/ArrayDataViewBuilder.cs
+++ b/src/Microsoft.ML.Data/DataView/ArrayDataViewBuilder.cs
@@ -3,11 +3,11 @@
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Internal.Utilities;
using System;
using System.Collections.Generic;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
using BitArray = System.Collections.BitArray;
diff --git a/src/Microsoft.ML.Data/DataView/CacheDataView.cs b/src/Microsoft.ML.Data/DataView/CacheDataView.cs
index 04368994a8..0e49d7deb5 100644
--- a/src/Microsoft.ML.Data/DataView/CacheDataView.cs
+++ b/src/Microsoft.ML.Data/DataView/CacheDataView.cs
@@ -4,9 +4,9 @@
#pragma warning disable 420 // volatile with Interlocked.CompareExchange
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML;
+using Microsoft.ML.Data;
+using Microsoft.ML.Internal.Utilities;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
diff --git a/src/Microsoft.ML.Data/DataView/CompositeRowToRowMapper.cs b/src/Microsoft.ML.Data/DataView/CompositeRowToRowMapper.cs
index f3ca9290c7..cfdbef628b 100644
--- a/src/Microsoft.ML.Data/DataView/CompositeRowToRowMapper.cs
+++ b/src/Microsoft.ML.Data/DataView/CompositeRowToRowMapper.cs
@@ -4,9 +4,9 @@
using System;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Internal.Utilities;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// A row-to-row mapper that is the result of a chained application of multiple mappers.
diff --git a/src/Microsoft.ML.Data/DataView/CompositeSchema.cs b/src/Microsoft.ML.Data/DataView/CompositeSchema.cs
index cbdee62cbb..57bc36bf58 100644
--- a/src/Microsoft.ML.Data/DataView/CompositeSchema.cs
+++ b/src/Microsoft.ML.Data/DataView/CompositeSchema.cs
@@ -6,9 +6,9 @@
using System.Collections.Generic;
using System.Linq;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Internal.Utilities;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// A convenience class for concatenating several schemas together.
diff --git a/src/Microsoft.ML.Data/DataView/DataViewConstructionUtils.cs b/src/Microsoft.ML.Data/DataView/DataViewConstructionUtils.cs
index 46304599fe..88b23ea32b 100644
--- a/src/Microsoft.ML.Data/DataView/DataViewConstructionUtils.cs
+++ b/src/Microsoft.ML.Data/DataView/DataViewConstructionUtils.cs
@@ -2,17 +2,15 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// A helper class to create data views based on the user-provided types.
diff --git a/src/Microsoft.ML.Data/DataView/EmptyDataView.cs b/src/Microsoft.ML.Data/DataView/EmptyDataView.cs
index 45560794ba..8a59ef9510 100644
--- a/src/Microsoft.ML.Data/DataView/EmptyDataView.cs
+++ b/src/Microsoft.ML.Data/DataView/EmptyDataView.cs
@@ -4,9 +4,9 @@
using System;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Internal.Utilities;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// This implements a data view that has a schema, but no rows.
diff --git a/src/Microsoft.ML.Data/DataView/InternalSchemaDefinition.cs b/src/Microsoft.ML.Data/DataView/InternalSchemaDefinition.cs
index a33ac4b949..1e44e6c6ba 100644
--- a/src/Microsoft.ML.Data/DataView/InternalSchemaDefinition.cs
+++ b/src/Microsoft.ML.Data/DataView/InternalSchemaDefinition.cs
@@ -8,7 +8,7 @@
using System.Linq;
using System.Reflection;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
using Conditional = System.Diagnostics.ConditionalAttribute;
///
diff --git a/src/Microsoft.ML.Data/DataView/LambdaColumnMapper.cs b/src/Microsoft.ML.Data/DataView/LambdaColumnMapper.cs
index ab0a1fa0df..d5815fc528 100644
--- a/src/Microsoft.ML.Data/DataView/LambdaColumnMapper.cs
+++ b/src/Microsoft.ML.Data/DataView/LambdaColumnMapper.cs
@@ -5,10 +5,10 @@
using System;
using System.Reflection;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.Data.Conversion;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML.Data.Conversion;
+using Microsoft.ML.Model;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// This applies the user provided ValueMapper to a column to produce a new column. It automatically
diff --git a/src/Microsoft.ML.Data/DataView/LambdaFilter.cs b/src/Microsoft.ML.Data/DataView/LambdaFilter.cs
index bb1753d7e0..848a650fa9 100644
--- a/src/Microsoft.ML.Data/DataView/LambdaFilter.cs
+++ b/src/Microsoft.ML.Data/DataView/LambdaFilter.cs
@@ -4,10 +4,10 @@
using System;
using System.Reflection;
-using Microsoft.ML.Runtime.Data.Conversion;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML.Data.Conversion;
+using Microsoft.ML.Model;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// This applies the user provided RefPredicate to a column and drops rows that map to false. It automatically
diff --git a/src/Microsoft.ML.Data/DataView/OpaqueDataView.cs b/src/Microsoft.ML.Data/DataView/OpaqueDataView.cs
index 835ca035fe..ab7ff7b39f 100644
--- a/src/Microsoft.ML.Data/DataView/OpaqueDataView.cs
+++ b/src/Microsoft.ML.Data/DataView/OpaqueDataView.cs
@@ -5,7 +5,7 @@
using Microsoft.ML.Data;
using System;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// Opaque IDataView implementation to provide a barrier for data pipe optimizations.
diff --git a/src/Microsoft.ML.Data/DataView/RowToRowMapperTransform.cs b/src/Microsoft.ML.Data/DataView/RowToRowMapperTransform.cs
index 2e4a8d6446..5990381ed0 100644
--- a/src/Microsoft.ML.Data/DataView/RowToRowMapperTransform.cs
+++ b/src/Microsoft.ML.Data/DataView/RowToRowMapperTransform.cs
@@ -3,22 +3,19 @@
// See the LICENSE file in the project root for more information.
using System;
-using System.Collections.Generic;
using System.IO;
using System.Linq;
-using System.Reflection;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
-using Microsoft.ML.Runtime.Model.Onnx;
-using Microsoft.ML.Runtime.Model.Pfa;
+using Microsoft.ML;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
+using Microsoft.ML.Model.Onnx;
+using Microsoft.ML.Model.Pfa;
[assembly: LoadableClass(typeof(RowToRowMapperTransform), null, typeof(SignatureLoadDataTransform),
"", RowToRowMapperTransform.LoaderSignature)]
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// This interface is used to create a .
diff --git a/src/Microsoft.ML.Data/DataView/SimpleRow.cs b/src/Microsoft.ML.Data/DataView/SimpleRow.cs
index 01a2b719b6..ed9d0fba20 100644
--- a/src/Microsoft.ML.Data/DataView/SimpleRow.cs
+++ b/src/Microsoft.ML.Data/DataView/SimpleRow.cs
@@ -6,9 +6,9 @@
using System.Collections.Generic;
using System.Linq;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Internal.Utilities;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// An implementation of that gets its , ,
diff --git a/src/Microsoft.ML.Data/DataView/Transposer.cs b/src/Microsoft.ML.Data/DataView/Transposer.cs
index 96cc366397..38cf12d97e 100644
--- a/src/Microsoft.ML.Data/DataView/Transposer.cs
+++ b/src/Microsoft.ML.Data/DataView/Transposer.cs
@@ -8,10 +8,11 @@
using System.Linq;
using System.Reflection;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.Data.IO;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Data.IO;
+using Microsoft.ML.Internal.Utilities;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// This provides a scalable method of getting a "transposed" view of a subset of columns from an
diff --git a/src/Microsoft.ML.Data/DataView/TypedCursor.cs b/src/Microsoft.ML.Data/DataView/TypedCursor.cs
index 034ba371a4..23f3aaebb6 100644
--- a/src/Microsoft.ML.Data/DataView/TypedCursor.cs
+++ b/src/Microsoft.ML.Data/DataView/TypedCursor.cs
@@ -2,9 +2,9 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML;
+using Microsoft.ML.Data;
+using Microsoft.ML.Internal.Utilities;
using System;
using System.Collections.Generic;
using System.Linq;
diff --git a/src/Microsoft.ML.Data/DataView/ZipDataView.cs b/src/Microsoft.ML.Data/DataView/ZipDataView.cs
index 714412595e..5d85bcd73d 100644
--- a/src/Microsoft.ML.Data/DataView/ZipDataView.cs
+++ b/src/Microsoft.ML.Data/DataView/ZipDataView.cs
@@ -6,9 +6,9 @@
using System.Collections.Generic;
using System.Linq;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Internal.Utilities;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// This is a data view that is a 'zip' of several data views.
diff --git a/src/Microsoft.ML.Data/DebuggerExtensions.cs b/src/Microsoft.ML.Data/DebuggerExtensions.cs
index 1a7c6e4920..0f479b83b1 100644
--- a/src/Microsoft.ML.Data/DebuggerExtensions.cs
+++ b/src/Microsoft.ML.Data/DebuggerExtensions.cs
@@ -4,8 +4,6 @@
using Microsoft.ML.Core.Data;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
using Microsoft.ML.Transforms;
namespace Microsoft.ML
diff --git a/src/Microsoft.ML.Data/Depricated/Instances/HeaderSchema.cs b/src/Microsoft.ML.Data/Depricated/Instances/HeaderSchema.cs
index 38867fe005..e1730b01d2 100644
--- a/src/Microsoft.ML.Data/Depricated/Instances/HeaderSchema.cs
+++ b/src/Microsoft.ML.Data/Depricated/Instances/HeaderSchema.cs
@@ -5,16 +5,15 @@
#pragma warning disable 420 // volatile with Interlocked.CompareExchange
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
-namespace Microsoft.ML.Runtime.Internal.Internallearn
+namespace Microsoft.ML.Internal.Internallearn
{
[BestFriend]
internal abstract class FeatureNameCollection : IEnumerable
diff --git a/src/Microsoft.ML.Data/Depricated/TGUIAttribute.cs b/src/Microsoft.ML.Data/Depricated/TGUIAttribute.cs
index 5f09c604bb..0fe3d34a9a 100644
--- a/src/Microsoft.ML.Data/Depricated/TGUIAttribute.cs
+++ b/src/Microsoft.ML.Data/Depricated/TGUIAttribute.cs
@@ -3,9 +3,9 @@
// See the LICENSE file in the project root for more information.
using System;
-using Microsoft.ML.Runtime;
+using Microsoft.ML;
-namespace Microsoft.ML.Runtime.Internal.Internallearn
+namespace Microsoft.ML.Internal.Internallearn
{
#pragma warning disable MSML_GeneralName // This structure should be deprecated anyway.
// REVIEW: Get rid of this. Everything should be in the ArgumentAttribute (or a class
diff --git a/src/Microsoft.ML.Data/Depricated/Vector/GenericSpanSortHelper.cs b/src/Microsoft.ML.Data/Depricated/Vector/GenericSpanSortHelper.cs
index 3f90ddca23..f11fbce53b 100644
--- a/src/Microsoft.ML.Data/Depricated/Vector/GenericSpanSortHelper.cs
+++ b/src/Microsoft.ML.Data/Depricated/Vector/GenericSpanSortHelper.cs
@@ -20,7 +20,7 @@
using System;
-namespace Microsoft.ML.Runtime.Numeric
+namespace Microsoft.ML.Numeric
{
internal static class IntrospectiveSortUtilities
{
diff --git a/src/Microsoft.ML.Data/Depricated/Vector/VBufferMathUtils.cs b/src/Microsoft.ML.Data/Depricated/Vector/VBufferMathUtils.cs
index 4fcf0b40ac..89336aa064 100644
--- a/src/Microsoft.ML.Data/Depricated/Vector/VBufferMathUtils.cs
+++ b/src/Microsoft.ML.Data/Depricated/Vector/VBufferMathUtils.cs
@@ -3,11 +3,11 @@
// See the LICENSE file in the project root for more information.
using System;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.CpuMath;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Data;
+using Microsoft.ML.Internal.CpuMath;
+using Microsoft.ML.Internal.Utilities;
-namespace Microsoft.ML.Runtime.Numeric
+namespace Microsoft.ML.Numeric
{
// REVIEW: Once we do the conversions from Vector/WritableVector, review names of methods,
// parameters, parameter order, etc.
diff --git a/src/Microsoft.ML.Data/Depricated/Vector/VectorUtils.cs b/src/Microsoft.ML.Data/Depricated/Vector/VectorUtils.cs
index b0c810633d..8871893334 100644
--- a/src/Microsoft.ML.Data/Depricated/Vector/VectorUtils.cs
+++ b/src/Microsoft.ML.Data/Depricated/Vector/VectorUtils.cs
@@ -5,12 +5,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.CpuMath;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Data;
+using Microsoft.ML.Internal.CpuMath;
+using Microsoft.ML.Internal.Utilities;
using Float = System.Single;
-namespace Microsoft.ML.Runtime.Numeric
+namespace Microsoft.ML.Numeric
{
///
/// A series of vector utility functions, generally operating over arrays or
diff --git a/src/Microsoft.ML.Data/Dirty/ChooseColumnsByIndexTransform.cs b/src/Microsoft.ML.Data/Dirty/ChooseColumnsByIndexTransform.cs
index 769a3100a1..3346fc0abe 100644
--- a/src/Microsoft.ML.Data/Dirty/ChooseColumnsByIndexTransform.cs
+++ b/src/Microsoft.ML.Data/Dirty/ChooseColumnsByIndexTransform.cs
@@ -3,11 +3,10 @@
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
using System;
using System.Linq;
@@ -17,7 +16,7 @@
[assembly: LoadableClass(typeof(ChooseColumnsByIndexTransform), null, typeof(SignatureLoadDataTransform),
"", ChooseColumnsByIndexTransform.LoaderSignature, ChooseColumnsByIndexTransform.LoaderSignatureOld)]
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
public sealed class ChooseColumnsByIndexTransform : RowToRowTransformBase
{
diff --git a/src/Microsoft.ML.Data/Dirty/ILoss.cs b/src/Microsoft.ML.Data/Dirty/ILoss.cs
index 69c394c76e..b889eca456 100644
--- a/src/Microsoft.ML.Data/Dirty/ILoss.cs
+++ b/src/Microsoft.ML.Data/Dirty/ILoss.cs
@@ -5,9 +5,9 @@
using Float = System.Single;
using System;
-using Microsoft.ML.Runtime.EntryPoints;
+using Microsoft.ML.EntryPoints;
-namespace Microsoft.ML.Runtime
+namespace Microsoft.ML
{
public interface ILossFunction
{
diff --git a/src/Microsoft.ML.Data/Dirty/IniFileUtils.cs b/src/Microsoft.ML.Data/Dirty/IniFileUtils.cs
index 542048825f..f704aca7a0 100644
--- a/src/Microsoft.ML.Data/Dirty/IniFileUtils.cs
+++ b/src/Microsoft.ML.Data/Dirty/IniFileUtils.cs
@@ -4,9 +4,9 @@
using System.Text;
using System.Text.RegularExpressions;
-using Microsoft.ML.Runtime.Internal.Calibration;
+using Microsoft.ML.Internal.Calibration;
-namespace Microsoft.ML.Runtime.Internal.Utilities
+namespace Microsoft.ML.Internal.Utilities
{
[BestFriend]
internal static class IniFileUtils
diff --git a/src/Microsoft.ML.Data/Dirty/ModelParametersBase.cs b/src/Microsoft.ML.Data/Dirty/ModelParametersBase.cs
index 5a0f47c5a0..bc9eddf5df 100644
--- a/src/Microsoft.ML.Data/Dirty/ModelParametersBase.cs
+++ b/src/Microsoft.ML.Data/Dirty/ModelParametersBase.cs
@@ -3,9 +3,10 @@
// See the LICENSE file in the project root for more information.
using System;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML;
+using Microsoft.ML.Model;
-namespace Microsoft.ML.Runtime.Internal.Internallearn
+namespace Microsoft.ML.Internal.Internallearn
{
///
/// A base class for predictors producing .
diff --git a/src/Microsoft.ML.Data/Dirty/PredictionUtils.cs b/src/Microsoft.ML.Data/Dirty/PredictionUtils.cs
index 9a78defd82..fc79e88fd7 100644
--- a/src/Microsoft.ML.Data/Dirty/PredictionUtils.cs
+++ b/src/Microsoft.ML.Data/Dirty/PredictionUtils.cs
@@ -6,11 +6,11 @@
using System.Collections.Generic;
using System.Linq;
using System.Text;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Internal.Utilities;
-namespace Microsoft.ML.Runtime.Internal.Internallearn
+namespace Microsoft.ML.Internal.Internallearn
{
using Float = System.Single;
diff --git a/src/Microsoft.ML.Data/Dirty/PredictorInterfaces.cs b/src/Microsoft.ML.Data/Dirty/PredictorInterfaces.cs
index 6bae4b8f30..6a2e872033 100644
--- a/src/Microsoft.ML.Data/Dirty/PredictorInterfaces.cs
+++ b/src/Microsoft.ML.Data/Dirty/PredictorInterfaces.cs
@@ -5,10 +5,10 @@
using System;
using System.Collections.Generic;
using System.IO;
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML.Data;
using Microsoft.ML.Calibrator;
-namespace Microsoft.ML.Runtime.Internal.Internallearn
+namespace Microsoft.ML.Internal.Internallearn
{
///
diff --git a/src/Microsoft.ML.Data/Dirty/PredictorUtils.cs b/src/Microsoft.ML.Data/Dirty/PredictorUtils.cs
index 46e6a859f5..0efe9b6fb3 100644
--- a/src/Microsoft.ML.Data/Dirty/PredictorUtils.cs
+++ b/src/Microsoft.ML.Data/Dirty/PredictorUtils.cs
@@ -3,11 +3,11 @@
// See the LICENSE file in the project root for more information.
using System.IO;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML;
+using Microsoft.ML.Data;
+using Microsoft.ML.Model;
-namespace Microsoft.ML.Runtime.Internal.Internallearn
+namespace Microsoft.ML.Internal.Internallearn
{
[BestFriend]
internal static class PredictorUtils
diff --git a/src/Microsoft.ML.Data/EntryPoints/Cache.cs b/src/Microsoft.ML.Data/EntryPoints/Cache.cs
index fc9bb6c1c0..0c376f5dcc 100644
--- a/src/Microsoft.ML.Data/EntryPoints/Cache.cs
+++ b/src/Microsoft.ML.Data/EntryPoints/Cache.cs
@@ -7,14 +7,13 @@
using System.IO;
using System.Linq;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Data.IO;
-using Microsoft.ML.Runtime.EntryPoints;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Data.IO;
+using Microsoft.ML.EntryPoints;
[assembly: LoadableClass(typeof(void), typeof(Cache), null, typeof(SignatureEntryPointModule), "Cache")]
-namespace Microsoft.ML.Runtime.EntryPoints
+namespace Microsoft.ML.EntryPoints
{
public static class Cache
{
diff --git a/src/Microsoft.ML.Data/EntryPoints/CommonOutputs.cs b/src/Microsoft.ML.Data/EntryPoints/CommonOutputs.cs
index c4647c6ae8..552c27ac77 100644
--- a/src/Microsoft.ML.Data/EntryPoints/CommonOutputs.cs
+++ b/src/Microsoft.ML.Data/EntryPoints/CommonOutputs.cs
@@ -4,9 +4,9 @@
using System;
using System.Collections.Generic;
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML.Data;
-namespace Microsoft.ML.Runtime.EntryPoints
+namespace Microsoft.ML.EntryPoints
{
///
/// Common output classes for trainers and transforms.
diff --git a/src/Microsoft.ML.Data/EntryPoints/EntryPointNode.cs b/src/Microsoft.ML.Data/EntryPoints/EntryPointNode.cs
index 999b8d0495..ac1da11a49 100644
--- a/src/Microsoft.ML.Data/EntryPoints/EntryPointNode.cs
+++ b/src/Microsoft.ML.Data/EntryPoints/EntryPointNode.cs
@@ -7,13 +7,13 @@
using System.Diagnostics;
using System.Linq;
using System.Text.RegularExpressions;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.EntryPoints.JsonUtils;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Data;
+using Microsoft.ML.EntryPoints.JsonUtils;
+using Microsoft.ML.Internal.Utilities;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
-namespace Microsoft.ML.Runtime.EntryPoints
+namespace Microsoft.ML.EntryPoints
{
public class VarSerializer : JsonConverter
{
diff --git a/src/Microsoft.ML.Data/EntryPoints/InputBase.cs b/src/Microsoft.ML.Data/EntryPoints/InputBase.cs
index 2eae61e079..7a45ba5379 100644
--- a/src/Microsoft.ML.Data/EntryPoints/InputBase.cs
+++ b/src/Microsoft.ML.Data/EntryPoints/InputBase.cs
@@ -5,12 +5,11 @@
using System;
using System.Collections.Generic;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Data.IO;
-using Microsoft.ML.Runtime.Internal.Calibration;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Data.IO;
+using Microsoft.ML.Internal.Calibration;
-namespace Microsoft.ML.Runtime.EntryPoints
+namespace Microsoft.ML.EntryPoints
{
///
/// The base class for all transform inputs.
diff --git a/src/Microsoft.ML.Data/EntryPoints/InputBuilder.cs b/src/Microsoft.ML.Data/EntryPoints/InputBuilder.cs
index 0c8dae6438..40a9e2a5b5 100644
--- a/src/Microsoft.ML.Data/EntryPoints/InputBuilder.cs
+++ b/src/Microsoft.ML.Data/EntryPoints/InputBuilder.cs
@@ -6,12 +6,12 @@
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Data;
+using Microsoft.ML.Internal.Utilities;
using Newtonsoft.Json.Linq;
-namespace Microsoft.ML.Runtime.EntryPoints.JsonUtils
+namespace Microsoft.ML.EntryPoints.JsonUtils
{
///
/// The class that creates and wraps around an instance of an input object and gradually populates all fields, keeping track of missing
diff --git a/src/Microsoft.ML.Data/EntryPoints/PredictorModelImpl.cs b/src/Microsoft.ML.Data/EntryPoints/PredictorModelImpl.cs
index 49802efb39..80ecd4a62d 100644
--- a/src/Microsoft.ML.Data/EntryPoints/PredictorModelImpl.cs
+++ b/src/Microsoft.ML.Data/EntryPoints/PredictorModelImpl.cs
@@ -7,12 +7,11 @@
using System.IO;
using System.Linq;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Calibration;
-using Microsoft.ML.Runtime.Internal.Internallearn;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML.Internal.Calibration;
+using Microsoft.ML.Internal.Internallearn;
+using Microsoft.ML.Model;
-namespace Microsoft.ML.Runtime.EntryPoints
+namespace Microsoft.ML.EntryPoints
{
///
/// This class encapsulates the predictor and a preceding transform model, as the concrete and hidden
diff --git a/src/Microsoft.ML.Data/EntryPoints/SchemaManipulation.cs b/src/Microsoft.ML.Data/EntryPoints/SchemaManipulation.cs
index 40302bdc9d..d062fcac46 100644
--- a/src/Microsoft.ML.Data/EntryPoints/SchemaManipulation.cs
+++ b/src/Microsoft.ML.Data/EntryPoints/SchemaManipulation.cs
@@ -2,14 +2,14 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.EntryPoints;
+using Microsoft.ML;
+using Microsoft.ML.Data;
+using Microsoft.ML.EntryPoints;
using Microsoft.ML.Transforms;
[assembly: LoadableClass(typeof(void), typeof(SchemaManipulation), null, typeof(SignatureEntryPointModule), "SchemaManipulation")]
-namespace Microsoft.ML.Runtime.EntryPoints
+namespace Microsoft.ML.EntryPoints
{
public static class SchemaManipulation
{
diff --git a/src/Microsoft.ML.Data/EntryPoints/ScoreColumnSelector.cs b/src/Microsoft.ML.Data/EntryPoints/ScoreColumnSelector.cs
index 6ea0d84289..c1bc095465 100644
--- a/src/Microsoft.ML.Data/EntryPoints/ScoreColumnSelector.cs
+++ b/src/Microsoft.ML.Data/EntryPoints/ScoreColumnSelector.cs
@@ -3,14 +3,13 @@
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML.CommandLine;
using Microsoft.ML.Transforms;
using System;
using System.Collections.Generic;
using System.Linq;
-namespace Microsoft.ML.Runtime.EntryPoints
+namespace Microsoft.ML.EntryPoints
{
public static partial class ScoreModel
{
diff --git a/src/Microsoft.ML.Data/EntryPoints/ScoreModel.cs b/src/Microsoft.ML.Data/EntryPoints/ScoreModel.cs
index 1792303468..39982369fc 100644
--- a/src/Microsoft.ML.Data/EntryPoints/ScoreModel.cs
+++ b/src/Microsoft.ML.Data/EntryPoints/ScoreModel.cs
@@ -3,14 +3,14 @@
// See the LICENSE file in the project root for more information.
using System;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.EntryPoints;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Data;
+using Microsoft.ML.EntryPoints;
[assembly: LoadableClass(typeof(void), typeof(ScoreModel), null, typeof(SignatureEntryPointModule), "ScoreModel")]
-namespace Microsoft.ML.Runtime.EntryPoints
+namespace Microsoft.ML.EntryPoints
{
///
/// This module handles scoring a against a new dataset.
diff --git a/src/Microsoft.ML.Data/EntryPoints/SelectRows.cs b/src/Microsoft.ML.Data/EntryPoints/SelectRows.cs
index eaabf248dc..ddee42fa1f 100644
--- a/src/Microsoft.ML.Data/EntryPoints/SelectRows.cs
+++ b/src/Microsoft.ML.Data/EntryPoints/SelectRows.cs
@@ -2,12 +2,12 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime.EntryPoints;
+using Microsoft.ML.EntryPoints;
using Microsoft.ML.Transforms;
[assembly: EntryPointModule(typeof(SelectRows))]
-namespace Microsoft.ML.Runtime.EntryPoints
+namespace Microsoft.ML.EntryPoints
{
public static class SelectRows
{
diff --git a/src/Microsoft.ML.Data/EntryPoints/SummarizePredictor.cs b/src/Microsoft.ML.Data/EntryPoints/SummarizePredictor.cs
index 12cee16b3b..80919b5024 100644
--- a/src/Microsoft.ML.Data/EntryPoints/SummarizePredictor.cs
+++ b/src/Microsoft.ML.Data/EntryPoints/SummarizePredictor.cs
@@ -4,15 +4,15 @@
using System.IO;
using System.Text;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Internal.Calibration;
-using Microsoft.ML.Runtime.Internal.Internallearn;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Data;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Internal.Calibration;
+using Microsoft.ML.Internal.Internallearn;
[assembly: EntryPointModule(typeof(SummarizePredictor))]
-namespace Microsoft.ML.Runtime.EntryPoints
+namespace Microsoft.ML.EntryPoints
{
public static class SummarizePredictor
{
diff --git a/src/Microsoft.ML.Data/EntryPoints/TransformModelImpl.cs b/src/Microsoft.ML.Data/EntryPoints/TransformModelImpl.cs
index e3213151fc..091d3d6d6f 100644
--- a/src/Microsoft.ML.Data/EntryPoints/TransformModelImpl.cs
+++ b/src/Microsoft.ML.Data/EntryPoints/TransformModelImpl.cs
@@ -6,12 +6,11 @@
using System.Collections.Generic;
using System.IO;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Data.IO;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML.Data.IO;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
-namespace Microsoft.ML.Runtime.EntryPoints
+namespace Microsoft.ML.EntryPoints
{
///
/// This encapsulates zero or more transform models. It does this by recording
diff --git a/src/Microsoft.ML.Data/Evaluators/AnomalyDetectionEvaluator.cs b/src/Microsoft.ML.Data/Evaluators/AnomalyDetectionEvaluator.cs
index fff79ebf75..dd6d04cd62 100644
--- a/src/Microsoft.ML.Data/Evaluators/AnomalyDetectionEvaluator.cs
+++ b/src/Microsoft.ML.Data/Evaluators/AnomalyDetectionEvaluator.cs
@@ -3,11 +3,10 @@
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Internal.Utilities;
using Microsoft.ML.Transforms;
using System;
using System.Collections.Generic;
@@ -20,7 +19,7 @@
[assembly: LoadableClass(typeof(AnomalyDetectionMamlEvaluator), typeof(AnomalyDetectionMamlEvaluator), typeof(AnomalyDetectionMamlEvaluator.Arguments), typeof(SignatureMamlEvaluator),
"Anomaly Detection Evaluator", AnomalyDetectionEvaluator.LoadName, "AnomalyDetection", "Anomaly")]
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
public sealed class AnomalyDetectionEvaluator : EvaluatorBase
{
diff --git a/src/Microsoft.ML.Data/Evaluators/AucAggregator.cs b/src/Microsoft.ML.Data/Evaluators/AucAggregator.cs
index f2fbe9d238..73c64070d0 100644
--- a/src/Microsoft.ML.Data/Evaluators/AucAggregator.cs
+++ b/src/Microsoft.ML.Data/Evaluators/AucAggregator.cs
@@ -5,9 +5,9 @@
using System;
using System.Collections.Generic;
using System.Linq;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Internal.Utilities;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
public abstract partial class EvaluatorBase
{
diff --git a/src/Microsoft.ML.Data/Evaluators/BinaryClassifierEvaluator.cs b/src/Microsoft.ML.Data/Evaluators/BinaryClassifierEvaluator.cs
index 7fed38a710..ff3515d444 100644
--- a/src/Microsoft.ML.Data/Evaluators/BinaryClassifierEvaluator.cs
+++ b/src/Microsoft.ML.Data/Evaluators/BinaryClassifierEvaluator.cs
@@ -3,12 +3,11 @@
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
using Microsoft.ML.Transforms;
using System;
using System.Collections.Generic;
@@ -26,7 +25,7 @@
[assembly: LoadableClass(typeof(void), typeof(Evaluate), null, typeof(SignatureEntryPointModule), "Evaluators")]
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
public sealed class BinaryClassifierEvaluator : RowToRowEvaluatorBase
{
diff --git a/src/Microsoft.ML.Data/Evaluators/ClusteringEvaluator.cs b/src/Microsoft.ML.Data/Evaluators/ClusteringEvaluator.cs
index 79d8ed42b7..d703890480 100644
--- a/src/Microsoft.ML.Data/Evaluators/ClusteringEvaluator.cs
+++ b/src/Microsoft.ML.Data/Evaluators/ClusteringEvaluator.cs
@@ -3,13 +3,12 @@
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
-using Microsoft.ML.Runtime.Numeric;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
+using Microsoft.ML.Numeric;
using Microsoft.ML.Transforms.FeatureSelection;
using System;
using System.Collections.Generic;
@@ -25,7 +24,7 @@
[assembly: LoadableClass(typeof(ClusteringPerInstanceEvaluator), null, typeof(SignatureLoadRowMapper),
"", ClusteringPerInstanceEvaluator.LoaderSignature)]
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
using Conditional = System.Diagnostics.ConditionalAttribute;
diff --git a/src/Microsoft.ML.Data/Evaluators/EvaluatorBase.cs b/src/Microsoft.ML.Data/Evaluators/EvaluatorBase.cs
index 5a897a8793..58cc19579a 100644
--- a/src/Microsoft.ML.Data/Evaluators/EvaluatorBase.cs
+++ b/src/Microsoft.ML.Data/Evaluators/EvaluatorBase.cs
@@ -7,10 +7,10 @@
using System.Linq;
using System.Reflection;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// This is a base class for TLC evaluators. It implements both of the methods: and
diff --git a/src/Microsoft.ML.Data/Evaluators/EvaluatorStaticExtensions.cs b/src/Microsoft.ML.Data/Evaluators/EvaluatorStaticExtensions.cs
index 46972dc75d..55f360d879 100644
--- a/src/Microsoft.ML.Data/Evaluators/EvaluatorStaticExtensions.cs
+++ b/src/Microsoft.ML.Data/Evaluators/EvaluatorStaticExtensions.cs
@@ -4,11 +4,11 @@
using System;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.Training;
+using Microsoft.ML.Training;
using Microsoft.ML.StaticPipe;
using Microsoft.ML.StaticPipe.Runtime;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// Extension methods for evaluation.
diff --git a/src/Microsoft.ML.Data/Evaluators/EvaluatorUtils.cs b/src/Microsoft.ML.Data/Evaluators/EvaluatorUtils.cs
index 095ad1bb5c..e85444921f 100644
--- a/src/Microsoft.ML.Data/Evaluators/EvaluatorUtils.cs
+++ b/src/Microsoft.ML.Data/Evaluators/EvaluatorUtils.cs
@@ -4,8 +4,8 @@
#pragma warning disable 420 // volatile with Interlocked.CompareExchange
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.Data.IO;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Data.IO;
+using Microsoft.ML.Internal.Utilities;
using Microsoft.ML.Transforms;
using Microsoft.ML.Transforms.Conversions;
using System;
@@ -15,7 +15,7 @@
using System.Text;
using System.Threading;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
[BestFriend]
internal static class EvaluateUtils
diff --git a/src/Microsoft.ML.Data/Evaluators/MamlEvaluator.cs b/src/Microsoft.ML.Data/Evaluators/MamlEvaluator.cs
index 3c8e3d9c82..e67d468119 100644
--- a/src/Microsoft.ML.Data/Evaluators/MamlEvaluator.cs
+++ b/src/Microsoft.ML.Data/Evaluators/MamlEvaluator.cs
@@ -3,13 +3,13 @@
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.EntryPoints;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.EntryPoints;
using Microsoft.ML.Transforms;
using System.Collections.Generic;
using System.Linq;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// This interface is used by Maml components (the , the
diff --git a/src/Microsoft.ML.Data/Evaluators/Metrics/BinaryClassificationMetrics.cs b/src/Microsoft.ML.Data/Evaluators/Metrics/BinaryClassificationMetrics.cs
index 59a0c2c700..74f81d4719 100644
--- a/src/Microsoft.ML.Data/Evaluators/Metrics/BinaryClassificationMetrics.cs
+++ b/src/Microsoft.ML.Data/Evaluators/Metrics/BinaryClassificationMetrics.cs
@@ -2,8 +2,8 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML;
+using Microsoft.ML.Data;
namespace Microsoft.ML.Data
{
diff --git a/src/Microsoft.ML.Data/Evaluators/Metrics/CalibratedBinaryClassificationMetrics.cs b/src/Microsoft.ML.Data/Evaluators/Metrics/CalibratedBinaryClassificationMetrics.cs
index 7a8787eeff..bfc65d5c95 100644
--- a/src/Microsoft.ML.Data/Evaluators/Metrics/CalibratedBinaryClassificationMetrics.cs
+++ b/src/Microsoft.ML.Data/Evaluators/Metrics/CalibratedBinaryClassificationMetrics.cs
@@ -2,8 +2,8 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML;
+using Microsoft.ML.Data;
namespace Microsoft.ML.Data
{
diff --git a/src/Microsoft.ML.Data/Evaluators/Metrics/ClusteringMetrics.cs b/src/Microsoft.ML.Data/Evaluators/Metrics/ClusteringMetrics.cs
index 7537fc9c3a..a0e3c2becc 100644
--- a/src/Microsoft.ML.Data/Evaluators/Metrics/ClusteringMetrics.cs
+++ b/src/Microsoft.ML.Data/Evaluators/Metrics/ClusteringMetrics.cs
@@ -2,8 +2,8 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML;
+using Microsoft.ML.Data;
namespace Microsoft.ML.Data
{
diff --git a/src/Microsoft.ML.Data/Evaluators/Metrics/MultiClassClassifierMetrics.cs b/src/Microsoft.ML.Data/Evaluators/Metrics/MultiClassClassifierMetrics.cs
index a89502a33c..8bff650c50 100644
--- a/src/Microsoft.ML.Data/Evaluators/Metrics/MultiClassClassifierMetrics.cs
+++ b/src/Microsoft.ML.Data/Evaluators/Metrics/MultiClassClassifierMetrics.cs
@@ -2,8 +2,8 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML;
+using Microsoft.ML.Data;
namespace Microsoft.ML.Data
{
diff --git a/src/Microsoft.ML.Data/Evaluators/Metrics/RankerMetrics.cs b/src/Microsoft.ML.Data/Evaluators/Metrics/RankerMetrics.cs
index 2eb5aaee13..7f593dedb0 100644
--- a/src/Microsoft.ML.Data/Evaluators/Metrics/RankerMetrics.cs
+++ b/src/Microsoft.ML.Data/Evaluators/Metrics/RankerMetrics.cs
@@ -2,8 +2,8 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML;
+using Microsoft.ML.Data;
namespace Microsoft.ML.Data
{
diff --git a/src/Microsoft.ML.Data/Evaluators/Metrics/RegressionMetrics.cs b/src/Microsoft.ML.Data/Evaluators/Metrics/RegressionMetrics.cs
index 8bda753e21..9cca21517e 100644
--- a/src/Microsoft.ML.Data/Evaluators/Metrics/RegressionMetrics.cs
+++ b/src/Microsoft.ML.Data/Evaluators/Metrics/RegressionMetrics.cs
@@ -2,8 +2,8 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML;
+using Microsoft.ML.Data;
namespace Microsoft.ML.Data
{
diff --git a/src/Microsoft.ML.Data/Evaluators/MultiClassClassifierEvaluator.cs b/src/Microsoft.ML.Data/Evaluators/MultiClassClassifierEvaluator.cs
index 8c47d9a790..06d8c210ca 100644
--- a/src/Microsoft.ML.Data/Evaluators/MultiClassClassifierEvaluator.cs
+++ b/src/Microsoft.ML.Data/Evaluators/MultiClassClassifierEvaluator.cs
@@ -3,12 +3,11 @@
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
using Microsoft.ML.Transforms;
using Microsoft.ML.Transforms.FeatureSelection;
using System;
@@ -26,7 +25,7 @@
[assembly: LoadableClass(typeof(MultiClassPerInstanceEvaluator), null, typeof(SignatureLoadRowMapper),
"", MultiClassPerInstanceEvaluator.LoaderSignature)]
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
public sealed class MultiClassClassifierEvaluator : RowToRowEvaluatorBase
{
diff --git a/src/Microsoft.ML.Data/Evaluators/MultiOutputRegressionEvaluator.cs b/src/Microsoft.ML.Data/Evaluators/MultiOutputRegressionEvaluator.cs
index 0b383e8c61..c5823bb99c 100644
--- a/src/Microsoft.ML.Data/Evaluators/MultiOutputRegressionEvaluator.cs
+++ b/src/Microsoft.ML.Data/Evaluators/MultiOutputRegressionEvaluator.cs
@@ -3,13 +3,12 @@
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
-using Microsoft.ML.Runtime.Numeric;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
+using Microsoft.ML.Numeric;
using System;
using System.Collections.Generic;
using System.Text;
@@ -26,7 +25,7 @@
[assembly: LoadableClass(typeof(MultiOutputRegressionPerInstanceEvaluator), null, typeof(SignatureLoadRowMapper),
"", MultiOutputRegressionPerInstanceEvaluator.LoaderSignature)]
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
public sealed class MultiOutputRegressionEvaluator : RegressionLossEvaluatorBase
{
diff --git a/src/Microsoft.ML.Data/Evaluators/QuantileRegressionEvaluator.cs b/src/Microsoft.ML.Data/Evaluators/QuantileRegressionEvaluator.cs
index bfeb0e5ebf..15b7ee6992 100644
--- a/src/Microsoft.ML.Data/Evaluators/QuantileRegressionEvaluator.cs
+++ b/src/Microsoft.ML.Data/Evaluators/QuantileRegressionEvaluator.cs
@@ -3,12 +3,11 @@
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
using System;
using System.Collections.Generic;
using Float = System.Single;
@@ -23,7 +22,7 @@
[assembly: LoadableClass(typeof(QuantileRegressionPerInstanceEvaluator), null, typeof(SignatureLoadRowMapper),
"", QuantileRegressionPerInstanceEvaluator.LoaderSignature)]
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
public sealed class QuantileRegressionEvaluator :
RegressionEvaluatorBase, VBuffer>
diff --git a/src/Microsoft.ML.Data/Evaluators/RankerEvaluator.cs b/src/Microsoft.ML.Data/Evaluators/RankerEvaluator.cs
index b9cec5d2d6..8d72e6eaa2 100644
--- a/src/Microsoft.ML.Data/Evaluators/RankerEvaluator.cs
+++ b/src/Microsoft.ML.Data/Evaluators/RankerEvaluator.cs
@@ -10,12 +10,11 @@
using System.Text.RegularExpressions;
using System.Threading;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
[assembly: LoadableClass(typeof(RankerEvaluator), typeof(RankerEvaluator), typeof(RankerEvaluator.Arguments), typeof(SignatureEvaluator),
"Ranking Evaluator", RankerEvaluator.LoadName, "Ranking", "rank")]
@@ -26,7 +25,7 @@
[assembly: LoadableClass(typeof(RankerPerInstanceTransform), null, typeof(SignatureLoadDataTransform),
"", RankerPerInstanceTransform.LoaderSignature)]
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
public sealed class RankerEvaluator : EvaluatorBase
{
diff --git a/src/Microsoft.ML.Data/Evaluators/RegressionEvaluator.cs b/src/Microsoft.ML.Data/Evaluators/RegressionEvaluator.cs
index e5af2e8bad..f31a22ea06 100644
--- a/src/Microsoft.ML.Data/Evaluators/RegressionEvaluator.cs
+++ b/src/Microsoft.ML.Data/Evaluators/RegressionEvaluator.cs
@@ -4,11 +4,10 @@
using Float = System.Single;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Model;
-using Microsoft.ML.Runtime;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Model;
+using Microsoft.ML;
using System.Collections.Generic;
using System;
@@ -22,7 +21,7 @@
[assembly: LoadableClass(typeof(RegressionPerInstanceEvaluator), null, typeof(SignatureLoadRowMapper),
"", RegressionPerInstanceEvaluator.LoaderSignature)]
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
public sealed class RegressionEvaluator :
RegressionEvaluatorBase
diff --git a/src/Microsoft.ML.Data/Evaluators/RegressionEvaluatorBase.cs b/src/Microsoft.ML.Data/Evaluators/RegressionEvaluatorBase.cs
index 9a5634de80..0dcb516339 100644
--- a/src/Microsoft.ML.Data/Evaluators/RegressionEvaluatorBase.cs
+++ b/src/Microsoft.ML.Data/Evaluators/RegressionEvaluatorBase.cs
@@ -5,10 +5,10 @@
using System;
using System.Collections.Generic;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Internal.Utilities;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
public abstract class RegressionLossEvaluatorBase : RowToRowEvaluatorBase
where TAgg : EvaluatorBase.AggregatorBase
diff --git a/src/Microsoft.ML.Data/MLContext.cs b/src/Microsoft.ML.Data/MLContext.cs
index 326562a978..6eef3d51bf 100644
--- a/src/Microsoft.ML.Data/MLContext.cs
+++ b/src/Microsoft.ML.Data/MLContext.cs
@@ -2,8 +2,8 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML;
+using Microsoft.ML.Data;
using System;
using System.ComponentModel.Composition;
using System.ComponentModel.Composition.Hosting;
diff --git a/src/Microsoft.ML.Data/Model/ModelHeader.cs b/src/Microsoft.ML.Data/Model/ModelHeader.cs
index b74d0fdca6..84bf57f23a 100644
--- a/src/Microsoft.ML.Data/Model/ModelHeader.cs
+++ b/src/Microsoft.ML.Data/Model/ModelHeader.cs
@@ -7,9 +7,9 @@
using System.Reflection;
using System.Runtime.InteropServices;
using System.Text;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Internal.Utilities;
-namespace Microsoft.ML.Runtime.Model
+namespace Microsoft.ML.Model
{
[StructLayout(LayoutKind.Explicit, Size = ModelHeader.Size)]
internal struct ModelHeader
diff --git a/src/Microsoft.ML.Data/Model/ModelLoadContext.cs b/src/Microsoft.ML.Data/Model/ModelLoadContext.cs
index 749a226012..8838b031de 100644
--- a/src/Microsoft.ML.Data/Model/ModelLoadContext.cs
+++ b/src/Microsoft.ML.Data/Model/ModelLoadContext.cs
@@ -5,9 +5,9 @@
using System;
using System.IO;
using System.Text;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Internal.Utilities;
-namespace Microsoft.ML.Runtime.Model
+namespace Microsoft.ML.Model
{
///
/// This is a convenience context object for loading models from a repository, for
diff --git a/src/Microsoft.ML.Data/Model/ModelLoading.cs b/src/Microsoft.ML.Data/Model/ModelLoading.cs
index 981da9e797..06ebc0bf06 100644
--- a/src/Microsoft.ML.Data/Model/ModelLoading.cs
+++ b/src/Microsoft.ML.Data/Model/ModelLoading.cs
@@ -6,9 +6,9 @@
using System.IO;
using System.Reflection;
using System.Text;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Internal.Utilities;
-namespace Microsoft.ML.Runtime.Model
+namespace Microsoft.ML.Model
{
public sealed partial class ModelLoadContext : IDisposable
{
diff --git a/src/Microsoft.ML.Data/Model/ModelOperationsCatalog.cs b/src/Microsoft.ML.Data/Model/ModelOperationsCatalog.cs
index 63fcd75779..c91225c4b9 100644
--- a/src/Microsoft.ML.Data/Model/ModelOperationsCatalog.cs
+++ b/src/Microsoft.ML.Data/Model/ModelOperationsCatalog.cs
@@ -4,10 +4,9 @@
using Microsoft.ML.Core.Data;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.Data;
using System.IO;
-namespace Microsoft.ML.Runtime
+namespace Microsoft.ML
{
///
/// An object serving as a 'catalog' of available model operations.
diff --git a/src/Microsoft.ML.Data/Model/ModelSaveContext.cs b/src/Microsoft.ML.Data/Model/ModelSaveContext.cs
index eee8d23df7..d8da3f4edb 100644
--- a/src/Microsoft.ML.Data/Model/ModelSaveContext.cs
+++ b/src/Microsoft.ML.Data/Model/ModelSaveContext.cs
@@ -5,9 +5,9 @@
using System;
using System.IO;
using System.Text;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Internal.Utilities;
-namespace Microsoft.ML.Runtime.Model
+namespace Microsoft.ML.Model
{
///
/// This is a convenience context object for saving models to a repository, for
diff --git a/src/Microsoft.ML.Data/Model/ModelSaving.cs b/src/Microsoft.ML.Data/Model/ModelSaving.cs
index da15986d9d..a73e631bbe 100644
--- a/src/Microsoft.ML.Data/Model/ModelSaving.cs
+++ b/src/Microsoft.ML.Data/Model/ModelSaving.cs
@@ -6,7 +6,7 @@
using System.IO;
using System.Text;
-namespace Microsoft.ML.Runtime.Model
+namespace Microsoft.ML.Model
{
public sealed partial class ModelSaveContext : IDisposable
{
diff --git a/src/Microsoft.ML.Data/Model/Onnx/ICanSaveOnnx.cs b/src/Microsoft.ML.Data/Model/Onnx/ICanSaveOnnx.cs
index 5e3dce06be..33c9f628e5 100644
--- a/src/Microsoft.ML.Data/Model/Onnx/ICanSaveOnnx.cs
+++ b/src/Microsoft.ML.Data/Model/Onnx/ICanSaveOnnx.cs
@@ -2,10 +2,10 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML.Data;
using Microsoft.ML.Calibrator;
-namespace Microsoft.ML.Runtime.Model.Onnx
+namespace Microsoft.ML.Model.Onnx
{
[BestFriend]
internal interface ICanSaveOnnx
diff --git a/src/Microsoft.ML.Data/Model/Onnx/OnnxContext.cs b/src/Microsoft.ML.Data/Model/Onnx/OnnxContext.cs
index 38d9f77915..d8685af52c 100644
--- a/src/Microsoft.ML.Data/Model/Onnx/OnnxContext.cs
+++ b/src/Microsoft.ML.Data/Model/Onnx/OnnxContext.cs
@@ -3,9 +3,9 @@
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML.Data;
-namespace Microsoft.ML.Runtime.Model.Onnx
+namespace Microsoft.ML.Model.Onnx
{
[BestFriend]
internal enum OnnxVersion { Stable = 0, Experimental = 1 }
diff --git a/src/Microsoft.ML.Data/Model/Onnx/OnnxNode.cs b/src/Microsoft.ML.Data/Model/Onnx/OnnxNode.cs
index 79df068b9b..45f86e2647 100644
--- a/src/Microsoft.ML.Data/Model/Onnx/OnnxNode.cs
+++ b/src/Microsoft.ML.Data/Model/Onnx/OnnxNode.cs
@@ -4,9 +4,9 @@
using System;
using System.Collections.Generic;
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML.Data;
-namespace Microsoft.ML.Runtime.Model.Onnx
+namespace Microsoft.ML.Model.Onnx
{
///
/// An abstraction for an ONNX node as created by
diff --git a/src/Microsoft.ML.Data/Model/Pfa/BoundPfaContext.cs b/src/Microsoft.ML.Data/Model/Pfa/BoundPfaContext.cs
index 959a7df2c1..997b4d0dc8 100644
--- a/src/Microsoft.ML.Data/Model/Pfa/BoundPfaContext.cs
+++ b/src/Microsoft.ML.Data/Model/Pfa/BoundPfaContext.cs
@@ -5,10 +5,9 @@
using System.Collections.Generic;
using System.Linq;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.Data;
using Newtonsoft.Json.Linq;
-namespace Microsoft.ML.Runtime.Model.Pfa
+namespace Microsoft.ML.Model.Pfa
{
using T = PfaUtils.Type;
diff --git a/src/Microsoft.ML.Data/Model/Pfa/ICanSavePfa.cs b/src/Microsoft.ML.Data/Model/Pfa/ICanSavePfa.cs
index e442960b40..cc07e75a3c 100644
--- a/src/Microsoft.ML.Data/Model/Pfa/ICanSavePfa.cs
+++ b/src/Microsoft.ML.Data/Model/Pfa/ICanSavePfa.cs
@@ -3,10 +3,10 @@
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Calibrator;
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML.Data;
using Newtonsoft.Json.Linq;
-namespace Microsoft.ML.Runtime.Model.Pfa
+namespace Microsoft.ML.Model.Pfa
{
[BestFriend]
internal interface ICanSavePfa
diff --git a/src/Microsoft.ML.Data/Model/Pfa/ModelUtils.cs b/src/Microsoft.ML.Data/Model/Pfa/ModelUtils.cs
index 110296e1d0..e33a9ae4a6 100644
--- a/src/Microsoft.ML.Data/Model/Pfa/ModelUtils.cs
+++ b/src/Microsoft.ML.Data/Model/Pfa/ModelUtils.cs
@@ -4,7 +4,7 @@
using System;
-namespace Microsoft.ML.Runtime.Model
+namespace Microsoft.ML.Model
{
internal static class ModelUtils
{
diff --git a/src/Microsoft.ML.Data/Model/Pfa/PfaContext.cs b/src/Microsoft.ML.Data/Model/Pfa/PfaContext.cs
index 2d89916028..9619e195ca 100644
--- a/src/Microsoft.ML.Data/Model/Pfa/PfaContext.cs
+++ b/src/Microsoft.ML.Data/Model/Pfa/PfaContext.cs
@@ -6,7 +6,7 @@
using System.Linq;
using Newtonsoft.Json.Linq;
-namespace Microsoft.ML.Runtime.Model.Pfa
+namespace Microsoft.ML.Model.Pfa
{
///
/// A context for defining a restricted sort of PFA output.
diff --git a/src/Microsoft.ML.Data/Model/Pfa/PfaUtils.cs b/src/Microsoft.ML.Data/Model/Pfa/PfaUtils.cs
index 9b4f6bcf3f..9215e233e0 100644
--- a/src/Microsoft.ML.Data/Model/Pfa/PfaUtils.cs
+++ b/src/Microsoft.ML.Data/Model/Pfa/PfaUtils.cs
@@ -2,11 +2,11 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Data;
+using Microsoft.ML.Internal.Utilities;
using Newtonsoft.Json.Linq;
-namespace Microsoft.ML.Runtime.Model.Pfa
+namespace Microsoft.ML.Model.Pfa
{
[BestFriend]
internal static class PfaUtils
diff --git a/src/Microsoft.ML.Data/Model/Pfa/SavePfaCommand.cs b/src/Microsoft.ML.Data/Model/Pfa/SavePfaCommand.cs
index c2890a5bbf..685fdacab2 100644
--- a/src/Microsoft.ML.Data/Model/Pfa/SavePfaCommand.cs
+++ b/src/Microsoft.ML.Data/Model/Pfa/SavePfaCommand.cs
@@ -5,19 +5,19 @@
using System;
using System.Collections.Generic;
using System.IO;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Command;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model.Pfa;
+using Microsoft.ML;
+using Microsoft.ML.Command;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Data;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model.Pfa;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
[assembly: LoadableClass(SavePfaCommand.Summary, typeof(SavePfaCommand), typeof(SavePfaCommand.Arguments), typeof(SignatureCommand),
"Save PFA", "SavePfa", DocName = "command/SavePfa.md")]
-namespace Microsoft.ML.Runtime.Model.Pfa
+namespace Microsoft.ML.Model.Pfa
{
internal sealed class SavePfaCommand : DataCommand.ImplBase
{
diff --git a/src/Microsoft.ML.Data/Model/PredictionEngineExtensions.cs b/src/Microsoft.ML.Data/Model/PredictionEngineExtensions.cs
index 59b473fe4a..bc288ef864 100644
--- a/src/Microsoft.ML.Data/Model/PredictionEngineExtensions.cs
+++ b/src/Microsoft.ML.Data/Model/PredictionEngineExtensions.cs
@@ -2,12 +2,8 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.Generic;
-using System.Text;
using Microsoft.ML.Core.Data;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
namespace Microsoft.ML
{
diff --git a/src/Microsoft.ML.Data/Model/Repository.cs b/src/Microsoft.ML.Data/Model/Repository.cs
index c93e6d00b6..4e3b8d89c1 100644
--- a/src/Microsoft.ML.Data/Model/Repository.cs
+++ b/src/Microsoft.ML.Data/Model/Repository.cs
@@ -6,9 +6,9 @@
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Internal.Utilities;
-namespace Microsoft.ML.Runtime.Model
+namespace Microsoft.ML.Model
{
///
/// Signature for a repository based model loader. This is the dual of ICanSaveModel.
diff --git a/src/Microsoft.ML.Data/Prediction/Calibrator.cs b/src/Microsoft.ML.Data/Prediction/Calibrator.cs
index a894617ce0..f4a73b8aef 100644
--- a/src/Microsoft.ML.Data/Prediction/Calibrator.cs
+++ b/src/Microsoft.ML.Data/Prediction/Calibrator.cs
@@ -4,16 +4,15 @@
using Microsoft.ML.Calibrator;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Internal.Calibration;
-using Microsoft.ML.Runtime.Internal.Internallearn;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
-using Microsoft.ML.Runtime.Model.Onnx;
-using Microsoft.ML.Runtime.Model.Pfa;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Internal.Calibration;
+using Microsoft.ML.Internal.Internallearn;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
+using Microsoft.ML.Model.Onnx;
+using Microsoft.ML.Model.Pfa;
using Newtonsoft.Json.Linq;
using System;
using System.Collections;
@@ -80,7 +79,7 @@
[assembly: EntryPointModule(typeof(PavCalibratorTrainerFactory))]
[assembly: EntryPointModule(typeof(PlattCalibratorTrainerFactory))]
-namespace Microsoft.ML.Runtime.Internal.Calibration
+namespace Microsoft.ML.Internal.Calibration
{
///
/// Signature for the loaders of calibrators.
diff --git a/src/Microsoft.ML.Data/Prediction/CalibratorCatalog.cs b/src/Microsoft.ML.Data/Prediction/CalibratorCatalog.cs
index 08460a27c5..788debbd58 100644
--- a/src/Microsoft.ML.Data/Prediction/CalibratorCatalog.cs
+++ b/src/Microsoft.ML.Data/Prediction/CalibratorCatalog.cs
@@ -5,11 +5,10 @@
using Microsoft.ML.Calibrator;
using Microsoft.ML.Core.Data;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Calibration;
-using Microsoft.ML.Runtime.Model;
-using Microsoft.ML.Runtime.Training;
+using Microsoft.ML;
+using Microsoft.ML.Internal.Calibration;
+using Microsoft.ML.Model;
+using Microsoft.ML.Training;
using System;
using System.Collections.Generic;
using System.Linq;
diff --git a/src/Microsoft.ML.Data/Prediction/IPredictionTransformer.cs b/src/Microsoft.ML.Data/Prediction/IPredictionTransformer.cs
index d3f1e9ddf2..9292edbe9b 100644
--- a/src/Microsoft.ML.Data/Prediction/IPredictionTransformer.cs
+++ b/src/Microsoft.ML.Data/Prediction/IPredictionTransformer.cs
@@ -4,9 +4,9 @@
using Microsoft.ML.Calibrator;
using Microsoft.ML.Core.Data;
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML.Data;
-namespace Microsoft.ML.Runtime
+namespace Microsoft.ML
{
///
/// An interface for all the transformer that can transform data based on the field.
diff --git a/src/Microsoft.ML.Data/Prediction/PredictionEngine.cs b/src/Microsoft.ML.Data/Prediction/PredictionEngine.cs
index 385343b571..eebcd56ead 100644
--- a/src/Microsoft.ML.Data/Prediction/PredictionEngine.cs
+++ b/src/Microsoft.ML.Data/Prediction/PredictionEngine.cs
@@ -4,12 +4,11 @@
using Microsoft.ML.Core.Data;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.Data;
using System;
using System.Collections.Generic;
using System.IO;
-namespace Microsoft.ML.Runtime
+namespace Microsoft.ML
{
// REVIEW: Temporarly moving here since it is used by the Legacy project. Remove when removing the legacy project.
///
diff --git a/src/Microsoft.ML.Data/Properties/AssemblyInfo.cs b/src/Microsoft.ML.Data/Properties/AssemblyInfo.cs
index 9d001f1a7f..43587d4544 100644
--- a/src/Microsoft.ML.Data/Properties/AssemblyInfo.cs
+++ b/src/Microsoft.ML.Data/Properties/AssemblyInfo.cs
@@ -30,7 +30,7 @@
[assembly: InternalsVisibleTo(assemblyName: "Microsoft.ML.PCA" + PublicKey.Value)]
[assembly: InternalsVisibleTo(assemblyName: "Microsoft.ML.PipelineInference" + PublicKey.Value)]
[assembly: InternalsVisibleTo(assemblyName: "Microsoft.ML.Recommender" + PublicKey.Value)]
-[assembly: InternalsVisibleTo(assemblyName: "Microsoft.ML.Runtime.ImageAnalytics" + PublicKey.Value)]
+[assembly: InternalsVisibleTo(assemblyName: "Microsoft.ML.ImageAnalytics" + PublicKey.Value)]
[assembly: InternalsVisibleTo(assemblyName: "Microsoft.ML.Scoring" + PublicKey.Value)]
[assembly: InternalsVisibleTo(assemblyName: "Microsoft.ML.StandardLearners" + PublicKey.Value)]
[assembly: InternalsVisibleTo(assemblyName: "Microsoft.ML.Sweeper" + PublicKey.Value)]
diff --git a/src/Microsoft.ML.Data/Scorers/BinaryClassifierScorer.cs b/src/Microsoft.ML.Data/Scorers/BinaryClassifierScorer.cs
index 46a8f29e6e..270f0ec3a6 100644
--- a/src/Microsoft.ML.Data/Scorers/BinaryClassifierScorer.cs
+++ b/src/Microsoft.ML.Data/Scorers/BinaryClassifierScorer.cs
@@ -3,12 +3,11 @@
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
-using Microsoft.ML.Runtime.Model.Onnx;
-using Microsoft.ML.Runtime.Model.Pfa;
+using Microsoft.ML;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
+using Microsoft.ML.Model.Onnx;
+using Microsoft.ML.Model.Pfa;
using Newtonsoft.Json.Linq;
using System;
@@ -21,7 +20,7 @@
[assembly: LoadableClass(typeof(BinaryClassifierScorer), null, typeof(SignatureLoadDataTransform),
"Binary Classifier Scorer", BinaryClassifierScorer.LoaderSignature)]
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
public sealed class BinaryClassifierScorer : PredictedLabelScorerBase, ITransformCanSaveOnnx
{
diff --git a/src/Microsoft.ML.Data/Scorers/ClusteringScorer.cs b/src/Microsoft.ML.Data/Scorers/ClusteringScorer.cs
index 1b5aa01c05..15d940d298 100644
--- a/src/Microsoft.ML.Data/Scorers/ClusteringScorer.cs
+++ b/src/Microsoft.ML.Data/Scorers/ClusteringScorer.cs
@@ -6,12 +6,11 @@
using System;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
-using Microsoft.ML.Runtime.Model.Pfa;
-using Microsoft.ML.Runtime.Numeric;
+using Microsoft.ML;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
+using Microsoft.ML.Model.Pfa;
+using Microsoft.ML.Numeric;
using Newtonsoft.Json.Linq;
[assembly: LoadableClass(typeof(ClusteringScorer), typeof(ClusteringScorer.Arguments), typeof(SignatureDataScorer),
@@ -20,7 +19,7 @@
[assembly: LoadableClass(typeof(ClusteringScorer), null, typeof(SignatureLoadDataTransform),
"Clustering Scorer", ClusteringScorer.LoaderSignature)]
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
public sealed class ClusteringScorer : PredictedLabelScorerBase
{
diff --git a/src/Microsoft.ML.Data/Scorers/FeatureContributionCalculation.cs b/src/Microsoft.ML.Data/Scorers/FeatureContributionCalculation.cs
index f4357bb246..b7a23752da 100644
--- a/src/Microsoft.ML.Data/Scorers/FeatureContributionCalculation.cs
+++ b/src/Microsoft.ML.Data/Scorers/FeatureContributionCalculation.cs
@@ -7,13 +7,12 @@
using System.Reflection;
using System.Text;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Internallearn;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
-using Microsoft.ML.Runtime.Numeric;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Internal.Internallearn;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
+using Microsoft.ML.Numeric;
[assembly: LoadableClass(typeof(IDataScorerTransform), typeof(FeatureContributionScorer), typeof(FeatureContributionScorer.Arguments),
typeof(SignatureDataScorer), "Feature Contribution Scorer", "fcc", "wtf", "fct", "FeatureContributionCalculationScorer", MetadataUtils.Const.ScoreColumnKind.FeatureContribution)]
@@ -24,7 +23,7 @@
[assembly: LoadableClass(typeof(ISchemaBindableMapper), typeof(FeatureContributionScorer), null, typeof(SignatureLoadModel),
"Feature Contribution Mapper", FeatureContributionScorer.MapperLoaderSignature)]
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// Used only by the command line API for scoring and calculation of feature contribution.
diff --git a/src/Microsoft.ML.Data/Scorers/GenericScorer.cs b/src/Microsoft.ML.Data/Scorers/GenericScorer.cs
index e7e060cd98..db55bd0cef 100644
--- a/src/Microsoft.ML.Data/Scorers/GenericScorer.cs
+++ b/src/Microsoft.ML.Data/Scorers/GenericScorer.cs
@@ -5,11 +5,10 @@
using System;
using System.Collections.Generic;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Model;
-using Microsoft.ML.Runtime.Model.Onnx;
-using Microsoft.ML.Runtime.Model.Pfa;
+using Microsoft.ML;
+using Microsoft.ML.Model;
+using Microsoft.ML.Model.Onnx;
+using Microsoft.ML.Model.Pfa;
[assembly: LoadableClass(typeof(GenericScorer), typeof(GenericScorer.Arguments), typeof(SignatureDataScorer),
"Generic Scorer", GenericScorer.LoadName, "Generic")]
@@ -17,7 +16,7 @@
[assembly: LoadableClass(typeof(GenericScorer), null, typeof(SignatureLoadDataTransform),
"Generic Scorer", GenericScorer.LoaderSignature)]
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// This class is a scorer that passes through all the ISchemaBound columns without adding any "derived columns".
diff --git a/src/Microsoft.ML.Data/Scorers/MultiClassClassifierScorer.cs b/src/Microsoft.ML.Data/Scorers/MultiClassClassifierScorer.cs
index e052a55870..fc198369ac 100644
--- a/src/Microsoft.ML.Data/Scorers/MultiClassClassifierScorer.cs
+++ b/src/Microsoft.ML.Data/Scorers/MultiClassClassifierScorer.cs
@@ -3,14 +3,13 @@
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Data.IO;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
-using Microsoft.ML.Runtime.Model.Onnx;
-using Microsoft.ML.Runtime.Model.Pfa;
-using Microsoft.ML.Runtime.Numeric;
+using Microsoft.ML;
+using Microsoft.ML.Data.IO;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
+using Microsoft.ML.Model.Onnx;
+using Microsoft.ML.Model.Pfa;
+using Microsoft.ML.Numeric;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
@@ -28,7 +27,7 @@
[assembly: LoadableClass(typeof(ISchemaBindableMapper), typeof(MultiClassClassifierScorer.LabelNameBindableMapper), null, typeof(SignatureLoadModel),
"Multi-Class Label-Name Mapper", MultiClassClassifierScorer.LabelNameBindableMapper.LoaderSignature)]
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
public sealed class MultiClassClassifierScorer : PredictedLabelScorerBase
{
diff --git a/src/Microsoft.ML.Data/Scorers/PredictedLabelScorerBase.cs b/src/Microsoft.ML.Data/Scorers/PredictedLabelScorerBase.cs
index a30c88ab8b..b2e7390649 100644
--- a/src/Microsoft.ML.Data/Scorers/PredictedLabelScorerBase.cs
+++ b/src/Microsoft.ML.Data/Scorers/PredictedLabelScorerBase.cs
@@ -3,17 +3,17 @@
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
-using Microsoft.ML.Runtime.Model.Onnx;
-using Microsoft.ML.Runtime.Model.Pfa;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
+using Microsoft.ML.Model.Onnx;
+using Microsoft.ML.Model.Pfa;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using Float = System.Single;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// Class for scorers that compute on additional "PredictedLabel" column from the score column.
diff --git a/src/Microsoft.ML.Data/Scorers/PredictionTransformer.cs b/src/Microsoft.ML.Data/Scorers/PredictionTransformer.cs
index 08bf96af22..1a36823bce 100644
--- a/src/Microsoft.ML.Data/Scorers/PredictionTransformer.cs
+++ b/src/Microsoft.ML.Data/Scorers/PredictionTransformer.cs
@@ -4,10 +4,9 @@
using System.IO;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Data.IO;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML;
+using Microsoft.ML.Data.IO;
+using Microsoft.ML.Model;
[assembly: LoadableClass(typeof(BinaryPredictionTransformer>), typeof(BinaryPredictionTransformer), null, typeof(SignatureLoadModel),
"", BinaryPredictionTransformer.LoaderSignature)]
@@ -27,7 +26,7 @@
[assembly: LoadableClass(typeof(ClusteringPredictionTransformer>>), typeof(ClusteringPredictionTransformer), null, typeof(SignatureLoadModel),
"", ClusteringPredictionTransformer.LoaderSignature)]
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
diff --git a/src/Microsoft.ML.Data/Scorers/QuantileRegressionScorer.cs b/src/Microsoft.ML.Data/Scorers/QuantileRegressionScorer.cs
index 2dec3a0e4a..ba7a00d3bf 100644
--- a/src/Microsoft.ML.Data/Scorers/QuantileRegressionScorer.cs
+++ b/src/Microsoft.ML.Data/Scorers/QuantileRegressionScorer.cs
@@ -5,10 +5,9 @@
using System;
using System.Linq;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Internallearn;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Internal.Internallearn;
[assembly: LoadableClass(typeof(IDataScorerTransform), typeof(QuantileRegressionScorerTransform), typeof(QuantileRegressionScorerTransform.Arguments),
typeof(SignatureDataScorer), "Quantile Regression Scorer", "QuantileRegressionScorer", MetadataUtils.Const.ScoreColumnKind.QuantileRegression)]
@@ -16,7 +15,7 @@
[assembly: LoadableClass(typeof(ISchemaBindableMapper), typeof(QuantileRegressionScorerTransform), typeof(QuantileRegressionScorerTransform.Arguments),
typeof(SignatureBindableMapper), "Quantile Regression Mapper", "QuantileRegressionScorer", MetadataUtils.Const.ScoreColumnKind.QuantileRegression)]
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
internal static class QuantileRegressionScorerTransform
{
diff --git a/src/Microsoft.ML.Data/Scorers/RowToRowScorerBase.cs b/src/Microsoft.ML.Data/Scorers/RowToRowScorerBase.cs
index 4b0afe59c1..dba5c4289a 100644
--- a/src/Microsoft.ML.Data/Scorers/RowToRowScorerBase.cs
+++ b/src/Microsoft.ML.Data/Scorers/RowToRowScorerBase.cs
@@ -7,10 +7,10 @@
using System.Linq;
using System.Reflection;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Model;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// Base class for scoring rows independently. This assumes that all columns produced by the
diff --git a/src/Microsoft.ML.Data/Scorers/SchemaBindablePredictorWrapper.cs b/src/Microsoft.ML.Data/Scorers/SchemaBindablePredictorWrapper.cs
index c14893f1da..aade6d061a 100644
--- a/src/Microsoft.ML.Data/Scorers/SchemaBindablePredictorWrapper.cs
+++ b/src/Microsoft.ML.Data/Scorers/SchemaBindablePredictorWrapper.cs
@@ -5,13 +5,12 @@
#pragma warning disable 420 // volatile with Interlocked.CompareExchange
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Internallearn;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
-using Microsoft.ML.Runtime.Model.Onnx;
-using Microsoft.ML.Runtime.Model.Pfa;
+using Microsoft.ML;
+using Microsoft.ML.Internal.Internallearn;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
+using Microsoft.ML.Model.Onnx;
+using Microsoft.ML.Model.Pfa;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
@@ -28,7 +27,7 @@
[assembly: LoadableClass(typeof(SchemaBindableBinaryPredictorWrapper), null, typeof(SignatureLoadModel),
"Binary Classification Bindable Mapper", SchemaBindableBinaryPredictorWrapper.LoaderSignature)]
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
// REVIEW: Consider implementing ICanSaveAs(Code/Text/etc.) for these classes as well.
///
diff --git a/src/Microsoft.ML.Data/Scorers/ScoreMapperSchema.cs b/src/Microsoft.ML.Data/Scorers/ScoreMapperSchema.cs
index 1753d12fc8..fe0995a9c3 100644
--- a/src/Microsoft.ML.Data/Scorers/ScoreMapperSchema.cs
+++ b/src/Microsoft.ML.Data/Scorers/ScoreMapperSchema.cs
@@ -6,7 +6,7 @@
using System;
using System.Collections.Generic;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// A base class for schemas for ISchemaBoundMappers. Takes care of all the metadata that has to do with
diff --git a/src/Microsoft.ML.Data/StaticPipe/DataLoadSaveOperationsExtensions.cs b/src/Microsoft.ML.Data/StaticPipe/DataLoadSaveOperationsExtensions.cs
index a5f0172935..a7ea5e910d 100644
--- a/src/Microsoft.ML.Data/StaticPipe/DataLoadSaveOperationsExtensions.cs
+++ b/src/Microsoft.ML.Data/StaticPipe/DataLoadSaveOperationsExtensions.cs
@@ -2,10 +2,10 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML;
+using Microsoft.ML.Data;
using System;
-using static Microsoft.ML.Runtime.Data.TextLoader;
+using static Microsoft.ML.Data.TextLoader;
namespace Microsoft.ML.StaticPipe
{
diff --git a/src/Microsoft.ML.Data/StaticPipe/DataReader.cs b/src/Microsoft.ML.Data/StaticPipe/DataReader.cs
index b17004c20d..f35e430eca 100644
--- a/src/Microsoft.ML.Data/StaticPipe/DataReader.cs
+++ b/src/Microsoft.ML.Data/StaticPipe/DataReader.cs
@@ -4,8 +4,6 @@
using Microsoft.ML.Core.Data;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
using Microsoft.ML.StaticPipe.Runtime;
namespace Microsoft.ML.StaticPipe
diff --git a/src/Microsoft.ML.Data/StaticPipe/DataReaderEstimator.cs b/src/Microsoft.ML.Data/StaticPipe/DataReaderEstimator.cs
index 540389414d..8639e3e785 100644
--- a/src/Microsoft.ML.Data/StaticPipe/DataReaderEstimator.cs
+++ b/src/Microsoft.ML.Data/StaticPipe/DataReaderEstimator.cs
@@ -4,8 +4,6 @@
using Microsoft.ML.Core.Data;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
using Microsoft.ML.StaticPipe.Runtime;
namespace Microsoft.ML.StaticPipe
diff --git a/src/Microsoft.ML.Data/StaticPipe/DataView.cs b/src/Microsoft.ML.Data/StaticPipe/DataView.cs
index 8d3bdd968b..1b6cc27122 100644
--- a/src/Microsoft.ML.Data/StaticPipe/DataView.cs
+++ b/src/Microsoft.ML.Data/StaticPipe/DataView.cs
@@ -3,8 +3,6 @@
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
using Microsoft.ML.StaticPipe.Runtime;
using System.Collections.Generic;
using System;
diff --git a/src/Microsoft.ML.Data/StaticPipe/Estimator.cs b/src/Microsoft.ML.Data/StaticPipe/Estimator.cs
index 3a7eda5fd0..4c8b81cff9 100644
--- a/src/Microsoft.ML.Data/StaticPipe/Estimator.cs
+++ b/src/Microsoft.ML.Data/StaticPipe/Estimator.cs
@@ -5,9 +5,6 @@
using System;
using System.Collections.Generic;
using Microsoft.ML.Core.Data;
-using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
using Microsoft.ML.StaticPipe.Runtime;
namespace Microsoft.ML.StaticPipe
diff --git a/src/Microsoft.ML.Data/StaticPipe/PipelineColumn.cs b/src/Microsoft.ML.Data/StaticPipe/PipelineColumn.cs
index 3d12e10d1d..5aef9eb706 100644
--- a/src/Microsoft.ML.Data/StaticPipe/PipelineColumn.cs
+++ b/src/Microsoft.ML.Data/StaticPipe/PipelineColumn.cs
@@ -4,8 +4,7 @@
using Microsoft.ML.Core.Data;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML;
using Microsoft.ML.StaticPipe.Runtime;
namespace Microsoft.ML.StaticPipe
diff --git a/src/Microsoft.ML.Data/StaticPipe/Reconciler.cs b/src/Microsoft.ML.Data/StaticPipe/Reconciler.cs
index f60c4d5327..6f376b61e9 100644
--- a/src/Microsoft.ML.Data/StaticPipe/Reconciler.cs
+++ b/src/Microsoft.ML.Data/StaticPipe/Reconciler.cs
@@ -3,7 +3,7 @@
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Core.Data;
-using Microsoft.ML.Runtime;
+using Microsoft.ML;
using Microsoft.ML.Transforms;
using System;
using System.Collections.Generic;
diff --git a/src/Microsoft.ML.Data/StaticPipe/SchemaAssertionContext.cs b/src/Microsoft.ML.Data/StaticPipe/SchemaAssertionContext.cs
index 2457a3852a..eab9600244 100644
--- a/src/Microsoft.ML.Data/StaticPipe/SchemaAssertionContext.cs
+++ b/src/Microsoft.ML.Data/StaticPipe/SchemaAssertionContext.cs
@@ -3,7 +3,6 @@
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.Data;
namespace Microsoft.ML.StaticPipe.Runtime
{
diff --git a/src/Microsoft.ML.Data/StaticPipe/SchemaBearing.cs b/src/Microsoft.ML.Data/StaticPipe/SchemaBearing.cs
index d4010dd28d..60cfdb2a59 100644
--- a/src/Microsoft.ML.Data/StaticPipe/SchemaBearing.cs
+++ b/src/Microsoft.ML.Data/StaticPipe/SchemaBearing.cs
@@ -3,8 +3,8 @@
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Core.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML;
+using Microsoft.ML.Data;
using Microsoft.ML.StaticPipe.Runtime;
using System.Threading;
diff --git a/src/Microsoft.ML.Data/StaticPipe/StaticPipeExtensions.cs b/src/Microsoft.ML.Data/StaticPipe/StaticPipeExtensions.cs
index d0e57b93da..a0b9ded104 100644
--- a/src/Microsoft.ML.Data/StaticPipe/StaticPipeExtensions.cs
+++ b/src/Microsoft.ML.Data/StaticPipe/StaticPipeExtensions.cs
@@ -2,9 +2,9 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML.Data;
using System;
-using Microsoft.ML.Runtime;
+using Microsoft.ML;
using Microsoft.ML.Core.Data;
using Microsoft.ML.StaticPipe.Runtime;
diff --git a/src/Microsoft.ML.Data/StaticPipe/StaticPipeInternalUtils.cs b/src/Microsoft.ML.Data/StaticPipe/StaticPipeInternalUtils.cs
index b5a4fbecf1..0eae14d2f6 100644
--- a/src/Microsoft.ML.Data/StaticPipe/StaticPipeInternalUtils.cs
+++ b/src/Microsoft.ML.Data/StaticPipe/StaticPipeInternalUtils.cs
@@ -8,10 +8,7 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using Microsoft.ML.Core.Data;
-using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Internal.Utilities;
namespace Microsoft.ML.StaticPipe.Runtime
{
diff --git a/src/Microsoft.ML.Data/StaticPipe/StaticPipeUtils.cs b/src/Microsoft.ML.Data/StaticPipe/StaticPipeUtils.cs
index fa5cb7d477..29ca5d199a 100644
--- a/src/Microsoft.ML.Data/StaticPipe/StaticPipeUtils.cs
+++ b/src/Microsoft.ML.Data/StaticPipe/StaticPipeUtils.cs
@@ -7,9 +7,7 @@
using System.Collections.Immutable;
using System.Linq;
using Microsoft.ML.Core.Data;
-using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML;
using Microsoft.ML.Transforms;
namespace Microsoft.ML.StaticPipe.Runtime
diff --git a/src/Microsoft.ML.Data/StaticPipe/StaticSchemaShape.cs b/src/Microsoft.ML.Data/StaticPipe/StaticSchemaShape.cs
index 2b8b5856ce..f162693e1d 100644
--- a/src/Microsoft.ML.Data/StaticPipe/StaticSchemaShape.cs
+++ b/src/Microsoft.ML.Data/StaticPipe/StaticSchemaShape.cs
@@ -7,8 +7,6 @@
using System.Reflection;
using Microsoft.ML.Core.Data;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
namespace Microsoft.ML.StaticPipe.Runtime
{
diff --git a/src/Microsoft.ML.Data/StaticPipe/TrainerEstimatorReconciler.cs b/src/Microsoft.ML.Data/StaticPipe/TrainerEstimatorReconciler.cs
index 49e559e78c..48bcf00aa8 100644
--- a/src/Microsoft.ML.Data/StaticPipe/TrainerEstimatorReconciler.cs
+++ b/src/Microsoft.ML.Data/StaticPipe/TrainerEstimatorReconciler.cs
@@ -4,9 +4,7 @@
using Microsoft.ML.Core.Data;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Internal.Utilities;
using Microsoft.ML.Transforms;
using System.Collections.Generic;
using System.Linq;
diff --git a/src/Microsoft.ML.Data/StaticPipe/Transformer.cs b/src/Microsoft.ML.Data/StaticPipe/Transformer.cs
index e3cbff72d2..92566cf3c9 100644
--- a/src/Microsoft.ML.Data/StaticPipe/Transformer.cs
+++ b/src/Microsoft.ML.Data/StaticPipe/Transformer.cs
@@ -4,7 +4,7 @@
using Microsoft.ML.Core.Data;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
+using Microsoft.ML;
using Microsoft.ML.StaticPipe.Runtime;
namespace Microsoft.ML.StaticPipe
diff --git a/src/Microsoft.ML.Data/TrainContext.cs b/src/Microsoft.ML.Data/TrainContext.cs
index 970e160685..f79fef57ff 100644
--- a/src/Microsoft.ML.Data/TrainContext.cs
+++ b/src/Microsoft.ML.Data/TrainContext.cs
@@ -4,8 +4,6 @@
using Microsoft.ML.Core.Data;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
using Microsoft.ML.Transforms;
using Microsoft.ML.Transforms.Conversions;
using System;
diff --git a/src/Microsoft.ML.Data/Training/EarlyStoppingCriteria.cs b/src/Microsoft.ML.Data/Training/EarlyStoppingCriteria.cs
index 1da5a5562a..54874878db 100644
--- a/src/Microsoft.ML.Data/Training/EarlyStoppingCriteria.cs
+++ b/src/Microsoft.ML.Data/Training/EarlyStoppingCriteria.cs
@@ -6,10 +6,10 @@
using System;
using System.Collections.Generic;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Internal.Internallearn;
-using Microsoft.ML.Runtime.EntryPoints;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Internal.Internallearn;
+using Microsoft.ML.EntryPoints;
[assembly: LoadableClass(typeof(TolerantEarlyStoppingCriterion), typeof(TolerantEarlyStoppingCriterion.Arguments), typeof(SignatureEarlyStoppingCriterion), "Tolerant (TR)", "tr")]
[assembly: LoadableClass(typeof(GLEarlyStoppingCriterion), typeof(GLEarlyStoppingCriterion.Arguments), typeof(SignatureEarlyStoppingCriterion), "Loss of Generality (GL)", "gl")]
@@ -23,7 +23,7 @@
[assembly: EntryPointModule(typeof(PQEarlyStoppingCriterion))]
[assembly: EntryPointModule(typeof(UPEarlyStoppingCriterion))]
-namespace Microsoft.ML.Runtime.Internal.Internallearn
+namespace Microsoft.ML.Internal.Internallearn
{
public delegate void SignatureEarlyStoppingCriterion(bool lowerIsBetter);
diff --git a/src/Microsoft.ML.Data/Training/ITrainerEstimator.cs b/src/Microsoft.ML.Data/Training/ITrainerEstimator.cs
index 1194abd9a1..0384203a9e 100644
--- a/src/Microsoft.ML.Data/Training/ITrainerEstimator.cs
+++ b/src/Microsoft.ML.Data/Training/ITrainerEstimator.cs
@@ -4,7 +4,7 @@
using Microsoft.ML.Core.Data;
-namespace Microsoft.ML.Runtime.Training
+namespace Microsoft.ML.Training
{
public interface ITrainerEstimator : IEstimator
where TTransformer : ISingleFeaturePredictionTransformer
diff --git a/src/Microsoft.ML.Data/Training/TrainerBase.cs b/src/Microsoft.ML.Data/Training/TrainerBase.cs
index d82dfb7ba6..1a6a145514 100644
--- a/src/Microsoft.ML.Data/Training/TrainerBase.cs
+++ b/src/Microsoft.ML.Data/Training/TrainerBase.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-namespace Microsoft.ML.Runtime.Training
+namespace Microsoft.ML.Training
{
public abstract class TrainerBase : ITrainer
where TPredictor : IPredictor
diff --git a/src/Microsoft.ML.Data/Training/TrainerEstimatorBase.cs b/src/Microsoft.ML.Data/Training/TrainerEstimatorBase.cs
index 583badaf62..23651b0510 100644
--- a/src/Microsoft.ML.Data/Training/TrainerEstimatorBase.cs
+++ b/src/Microsoft.ML.Data/Training/TrainerEstimatorBase.cs
@@ -2,13 +2,11 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using System.Collections.Generic;
using System.Linq;
using Microsoft.ML.Core.Data;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.Data;
-namespace Microsoft.ML.Runtime.Training
+namespace Microsoft.ML.Training
{
///
/// This represents a basic class for 'simple trainer'.
diff --git a/src/Microsoft.ML.Data/Training/TrainerUtils.cs b/src/Microsoft.ML.Data/Training/TrainerUtils.cs
index 18e8850492..0678e373ee 100644
--- a/src/Microsoft.ML.Data/Training/TrainerUtils.cs
+++ b/src/Microsoft.ML.Data/Training/TrainerUtils.cs
@@ -4,13 +4,12 @@
using Microsoft.ML.Core.Data;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Internal.Utilities;
using System;
using System.Collections.Generic;
-namespace Microsoft.ML.Runtime.Training
+namespace Microsoft.ML.Training
{
///
/// Options for creating a row cursor from a RoleMappedData with specified standard columns active.
diff --git a/src/Microsoft.ML.Data/Training/TrainingStaticExtensions.cs b/src/Microsoft.ML.Data/Training/TrainingStaticExtensions.cs
index a3ee486d43..cf887f19f3 100644
--- a/src/Microsoft.ML.Data/Training/TrainingStaticExtensions.cs
+++ b/src/Microsoft.ML.Data/Training/TrainingStaticExtensions.cs
@@ -4,7 +4,7 @@
using Microsoft.ML.Core.Data;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
+using Microsoft.ML;
using Microsoft.ML.StaticPipe;
using Microsoft.ML.StaticPipe.Runtime;
using System;
diff --git a/src/Microsoft.ML.Data/Transforms/BindingsWrappedRowCursor.cs b/src/Microsoft.ML.Data/Transforms/BindingsWrappedRowCursor.cs
index 114bbc4fdd..e266dc266d 100644
--- a/src/Microsoft.ML.Data/Transforms/BindingsWrappedRowCursor.cs
+++ b/src/Microsoft.ML.Data/Transforms/BindingsWrappedRowCursor.cs
@@ -4,7 +4,7 @@
using Microsoft.ML.Data;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// A class for mapping an input to an output cursor assuming no output columns
diff --git a/src/Microsoft.ML.Data/Transforms/CatalogUtils.cs b/src/Microsoft.ML.Data/Transforms/CatalogUtils.cs
index 011542d7e6..0d9137fb48 100644
--- a/src/Microsoft.ML.Data/Transforms/CatalogUtils.cs
+++ b/src/Microsoft.ML.Data/Transforms/CatalogUtils.cs
@@ -1,8 +1,12 @@
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-namespace Microsoft.ML.Runtime.Data
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace Microsoft.ML.Data
{
///
/// Set of extension methods to extract from various catalog classes.
diff --git a/src/Microsoft.ML.Data/Transforms/ColumnBindingsBase.cs b/src/Microsoft.ML.Data/Transforms/ColumnBindingsBase.cs
index 3d937d05f8..8c1c651c9a 100644
--- a/src/Microsoft.ML.Data/Transforms/ColumnBindingsBase.cs
+++ b/src/Microsoft.ML.Data/Transforms/ColumnBindingsBase.cs
@@ -3,9 +3,9 @@
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
using Microsoft.ML.Transforms.Conversions;
using System;
using System.Collections.Generic;
@@ -13,7 +13,7 @@
using System.Text;
using System.Threading;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
public abstract class SourceNameColumnBase
{
diff --git a/src/Microsoft.ML.Data/Transforms/ColumnConcatenatingEstimator.cs b/src/Microsoft.ML.Data/Transforms/ColumnConcatenatingEstimator.cs
index 0dad71cd36..fd659f7cc2 100644
--- a/src/Microsoft.ML.Data/Transforms/ColumnConcatenatingEstimator.cs
+++ b/src/Microsoft.ML.Data/Transforms/ColumnConcatenatingEstimator.cs
@@ -4,9 +4,8 @@
using Microsoft.ML.Core.Data;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML;
+using Microsoft.ML.Internal.Utilities;
using Microsoft.ML.StaticPipe;
using Microsoft.ML.StaticPipe.Runtime;
using System;
diff --git a/src/Microsoft.ML.Data/Transforms/ColumnConcatenatingTransformer.cs b/src/Microsoft.ML.Data/Transforms/ColumnConcatenatingTransformer.cs
index 010e5bdcc3..2c76dc3f4a 100644
--- a/src/Microsoft.ML.Data/Transforms/ColumnConcatenatingTransformer.cs
+++ b/src/Microsoft.ML.Data/Transforms/ColumnConcatenatingTransformer.cs
@@ -2,16 +2,14 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Core.Data;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
-using Microsoft.ML.Runtime.Model.Onnx;
-using Microsoft.ML.Runtime.Model.Pfa;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
+using Microsoft.ML.Model.Onnx;
+using Microsoft.ML.Model.Pfa;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
@@ -30,7 +28,7 @@
[assembly: LoadableClass(typeof(IRowMapper), typeof(ColumnConcatenatingTransformer), null, typeof(SignatureLoadRowMapper),
ColumnConcatenatingTransformer.UserName, ColumnConcatenatingTransformer.LoaderSignature)]
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
using PfaType = PfaUtils.Type;
diff --git a/src/Microsoft.ML.Data/Transforms/ColumnCopying.cs b/src/Microsoft.ML.Data/Transforms/ColumnCopying.cs
index 0f85276e9d..32008b5330 100644
--- a/src/Microsoft.ML.Data/Transforms/ColumnCopying.cs
+++ b/src/Microsoft.ML.Data/Transforms/ColumnCopying.cs
@@ -8,13 +8,12 @@
using System.Text;
using Microsoft.ML.Core.Data;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
-using Microsoft.ML.Runtime.Model.Onnx;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
+using Microsoft.ML.Model.Onnx;
using Microsoft.ML.Transforms;
[assembly: LoadableClass(ColumnCopyingTransformer.Summary, typeof(IDataTransform), typeof(ColumnCopyingTransformer),
diff --git a/src/Microsoft.ML.Data/Transforms/ColumnSelecting.cs b/src/Microsoft.ML.Data/Transforms/ColumnSelecting.cs
index 8fd08b3a35..898c5ef09c 100644
--- a/src/Microsoft.ML.Data/Transforms/ColumnSelecting.cs
+++ b/src/Microsoft.ML.Data/Transforms/ColumnSelecting.cs
@@ -4,12 +4,11 @@
using Microsoft.ML.Core.Data;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
using Microsoft.ML.Transforms;
using System;
using System.Collections.Generic;
diff --git a/src/Microsoft.ML.Data/Transforms/ConversionsExtensionsCatalog.cs b/src/Microsoft.ML.Data/Transforms/ConversionsExtensionsCatalog.cs
index db6dcd3d14..12d9e22a71 100644
--- a/src/Microsoft.ML.Data/Transforms/ConversionsExtensionsCatalog.cs
+++ b/src/Microsoft.ML.Data/Transforms/ConversionsExtensionsCatalog.cs
@@ -1,10 +1,10 @@
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
using Microsoft.ML.Transforms;
+using Microsoft.ML;
+using Microsoft.ML.Data;
using Microsoft.ML.Transforms.Conversions;
using System.Collections.Generic;
diff --git a/src/Microsoft.ML.Data/Transforms/DropSlotsTransform.cs b/src/Microsoft.ML.Data/Transforms/DropSlotsTransform.cs
index d79cfcf52e..c88ce1bcc8 100644
--- a/src/Microsoft.ML.Data/Transforms/DropSlotsTransform.cs
+++ b/src/Microsoft.ML.Data/Transforms/DropSlotsTransform.cs
@@ -3,12 +3,11 @@
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Internallearn;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Internal.Internallearn;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
using Microsoft.ML.Transforms.FeatureSelection;
using System;
using System.Collections.Generic;
diff --git a/src/Microsoft.ML.Data/Transforms/ExplainabilityCatalog.cs b/src/Microsoft.ML.Data/Transforms/ExplainabilityCatalog.cs
index f598472265..9baf2714ae 100644
--- a/src/Microsoft.ML.Data/Transforms/ExplainabilityCatalog.cs
+++ b/src/Microsoft.ML.Data/Transforms/ExplainabilityCatalog.cs
@@ -3,9 +3,7 @@
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Internallearn;
+using Microsoft.ML.Internal.Internallearn;
namespace Microsoft.ML
{
diff --git a/src/Microsoft.ML.Data/Transforms/ExtensionsCatalog.cs b/src/Microsoft.ML.Data/Transforms/ExtensionsCatalog.cs
index defe52ee65..e91962cd66 100644
--- a/src/Microsoft.ML.Data/Transforms/ExtensionsCatalog.cs
+++ b/src/Microsoft.ML.Data/Transforms/ExtensionsCatalog.cs
@@ -2,8 +2,8 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML;
+using Microsoft.ML.Data;
using Microsoft.ML.Transforms;
namespace Microsoft.ML
diff --git a/src/Microsoft.ML.Data/Transforms/FeatureContributionCalculationTransform.cs b/src/Microsoft.ML.Data/Transforms/FeatureContributionCalculationTransform.cs
index 12b0513a17..18529ac043 100644
--- a/src/Microsoft.ML.Data/Transforms/FeatureContributionCalculationTransform.cs
+++ b/src/Microsoft.ML.Data/Transforms/FeatureContributionCalculationTransform.cs
@@ -8,13 +8,12 @@
using System.Reflection;
using Microsoft.ML.Core.Data;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Internal.Internallearn;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Internal.Internallearn;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
[assembly: LoadableClass(FeatureContributionCalculatingTransformer.Summary, typeof(FeatureContributionCalculatingTransformer), null, typeof(SignatureLoadModel),
FeatureContributionCalculatingTransformer.FriendlyName, FeatureContributionCalculatingTransformer.LoaderSignature)]
@@ -24,7 +23,7 @@
[assembly: LoadableClass(typeof(void), typeof(FeatureContributionEntryPoint), null, typeof(SignatureEntryPointModule), FeatureContributionCalculatingTransformer.LoaderSignature)]
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// The FeatureContributionCalculationTransformer computes model-specific contribution scores for each feature.
diff --git a/src/Microsoft.ML.Data/Transforms/GenerateNumberTransform.cs b/src/Microsoft.ML.Data/Transforms/GenerateNumberTransform.cs
index 86446b13cc..4dfe73744e 100644
--- a/src/Microsoft.ML.Data/Transforms/GenerateNumberTransform.cs
+++ b/src/Microsoft.ML.Data/Transforms/GenerateNumberTransform.cs
@@ -3,12 +3,11 @@
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
using Microsoft.ML.Transforms;
using System;
using System.Collections.Generic;
diff --git a/src/Microsoft.ML.Data/Transforms/Hashing.cs b/src/Microsoft.ML.Data/Transforms/Hashing.cs
index 91e32e870b..a770d6fb9a 100644
--- a/src/Microsoft.ML.Data/Transforms/Hashing.cs
+++ b/src/Microsoft.ML.Data/Transforms/Hashing.cs
@@ -4,11 +4,10 @@
using Microsoft.ML.Core.Data;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
using Microsoft.ML.Transforms.Conversions;
using System;
using System.Collections.Generic;
diff --git a/src/Microsoft.ML.Data/Transforms/InvertHashUtils.cs b/src/Microsoft.ML.Data/Transforms/InvertHashUtils.cs
index 4c63d75ff7..8bf94ef57f 100644
--- a/src/Microsoft.ML.Data/Transforms/InvertHashUtils.cs
+++ b/src/Microsoft.ML.Data/Transforms/InvertHashUtils.cs
@@ -7,11 +7,11 @@
using System.IO;
using System.Text;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.Data.IO;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML.Data.IO;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
[BestFriend]
internal static class InvertHashUtils
diff --git a/src/Microsoft.ML.Data/Transforms/KeyToValue.cs b/src/Microsoft.ML.Data/Transforms/KeyToValue.cs
index 4be64420ad..4df2548545 100644
--- a/src/Microsoft.ML.Data/Transforms/KeyToValue.cs
+++ b/src/Microsoft.ML.Data/Transforms/KeyToValue.cs
@@ -4,13 +4,12 @@
using Microsoft.ML.Core.Data;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
-using Microsoft.ML.Runtime.Model.Pfa;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
+using Microsoft.ML.Model.Pfa;
using Microsoft.ML.StaticPipe;
using Microsoft.ML.StaticPipe.Runtime;
using Microsoft.ML.Transforms.Conversions;
@@ -318,16 +317,16 @@ public KeyToValueMap(Mapper parent, KeyType typeKey, PrimitiveType typeVal, VBuf
_values = values;
// REVIEW: May want to include more specific information about what the specific value is for the default.
- _na = Runtime.Data.Conversion.Conversions.Instance.GetNAOrDefault(TypeOutput.ItemType, out _naMapsToDefault);
+ _na = Data.Conversion.Conversions.Instance.GetNAOrDefault(TypeOutput.ItemType, out _naMapsToDefault);
if (_naMapsToDefault)
{
// Only initialize _isDefault if _defaultIsNA is true as this is the only case in which it is used.
- _isDefault = Runtime.Data.Conversion.Conversions.Instance.GetIsDefaultPredicate(TypeOutput.ItemType);
+ _isDefault = Data.Conversion.Conversions.Instance.GetIsDefaultPredicate(TypeOutput.ItemType);
}
bool identity;
- _convertToUInt = Runtime.Data.Conversion.Conversions.Instance.GetStandardConversion(typeKey, NumberType.U4, out identity);
+ _convertToUInt = Data.Conversion.Conversions.Instance.GetStandardConversion(typeKey, NumberType.U4, out identity);
}
private void MapKey(in TKey src, ref TValue dst)
diff --git a/src/Microsoft.ML.Data/Transforms/KeyToVector.cs b/src/Microsoft.ML.Data/Transforms/KeyToVector.cs
index f6001e1a89..9f6813adf1 100644
--- a/src/Microsoft.ML.Data/Transforms/KeyToVector.cs
+++ b/src/Microsoft.ML.Data/Transforms/KeyToVector.cs
@@ -4,13 +4,12 @@
using Microsoft.ML.Core.Data;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
-using Microsoft.ML.Runtime.Model.Onnx;
-using Microsoft.ML.Runtime.Model.Pfa;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
+using Microsoft.ML.Model.Onnx;
+using Microsoft.ML.Model.Pfa;
using Microsoft.ML.Transforms.Conversions;
using Newtonsoft.Json.Linq;
using System;
diff --git a/src/Microsoft.ML.Data/Transforms/LabelConvertTransform.cs b/src/Microsoft.ML.Data/Transforms/LabelConvertTransform.cs
index 5af4089704..e1f20bc719 100644
--- a/src/Microsoft.ML.Data/Transforms/LabelConvertTransform.cs
+++ b/src/Microsoft.ML.Data/Transforms/LabelConvertTransform.cs
@@ -3,11 +3,10 @@
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
using Microsoft.ML.Transforms;
using System;
using System.Text;
diff --git a/src/Microsoft.ML.Data/Transforms/LabelIndicatorTransform.cs b/src/Microsoft.ML.Data/Transforms/LabelIndicatorTransform.cs
index 799ff7eb80..f269a9eea5 100644
--- a/src/Microsoft.ML.Data/Transforms/LabelIndicatorTransform.cs
+++ b/src/Microsoft.ML.Data/Transforms/LabelIndicatorTransform.cs
@@ -2,12 +2,12 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Data;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
using Microsoft.ML.Transforms;
using System;
using System.Text;
diff --git a/src/Microsoft.ML.Data/Transforms/MetadataDispatcher.cs b/src/Microsoft.ML.Data/Transforms/MetadataDispatcher.cs
index 453c7b4fd4..8dc98752c1 100644
--- a/src/Microsoft.ML.Data/Transforms/MetadataDispatcher.cs
+++ b/src/Microsoft.ML.Data/Transforms/MetadataDispatcher.cs
@@ -7,11 +7,11 @@
using System.Linq;
using System.Text;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// Base class for handling the schema metadata API.
diff --git a/src/Microsoft.ML.Data/Transforms/NAFilter.cs b/src/Microsoft.ML.Data/Transforms/NAFilter.cs
index 8a5d324c36..4258d614d0 100644
--- a/src/Microsoft.ML.Data/Transforms/NAFilter.cs
+++ b/src/Microsoft.ML.Data/Transforms/NAFilter.cs
@@ -3,12 +3,12 @@
// See the LICENSE file in the project root for more information.
// REVIEW: As soon as we stop writing sizeof(Float), or when we retire the double builds, we can remove this.
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Data;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
using Microsoft.ML.Transforms;
using System;
using System.Collections.Generic;
@@ -287,7 +287,7 @@ private static ValueOne CreateOne(Cursor cursor, ColInfo info)
Contracts.Assert(info.Type.RawType == typeof(T));
var getSrc = cursor.Input.GetGetter(info.Index);
- var hasBad = Runtime.Data.Conversion.Conversions.Instance.GetIsNAPredicate(info.Type);
+ var hasBad = Data.Conversion.Conversions.Instance.GetIsNAPredicate(info.Type);
return new ValueOne(cursor, getSrc, hasBad);
}
@@ -299,7 +299,7 @@ private static ValueVec CreateVec(Cursor cursor, ColInfo info)
Contracts.Assert(info.Type.RawType == typeof(VBuffer));
var getSrc = cursor.Input.GetGetter>(info.Index);
- var hasBad = Runtime.Data.Conversion.Conversions.Instance.GetHasMissingPredicate((VectorType)info.Type);
+ var hasBad = Data.Conversion.Conversions.Instance.GetHasMissingPredicate((VectorType)info.Type);
return new ValueVec(cursor, getSrc, hasBad);
}
diff --git a/src/Microsoft.ML.Data/Transforms/NopTransform.cs b/src/Microsoft.ML.Data/Transforms/NopTransform.cs
index ad41595b68..e42e8055cb 100644
--- a/src/Microsoft.ML.Data/Transforms/NopTransform.cs
+++ b/src/Microsoft.ML.Data/Transforms/NopTransform.cs
@@ -4,17 +4,16 @@
using System;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Model;
[assembly: LoadableClass(NopTransform.Summary, typeof(NopTransform), null, typeof(SignatureLoadDataTransform),
"", NopTransform.LoaderSignature)]
[assembly: LoadableClass(typeof(void), typeof(NopTransform), null, typeof(SignatureEntryPointModule), "NopTransform")]
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// A transform that does nothing.
diff --git a/src/Microsoft.ML.Data/Transforms/NormalizeColumn.cs b/src/Microsoft.ML.Data/Transforms/NormalizeColumn.cs
index 549f8d6a55..16f3a53e15 100644
--- a/src/Microsoft.ML.Data/Transforms/NormalizeColumn.cs
+++ b/src/Microsoft.ML.Data/Transforms/NormalizeColumn.cs
@@ -3,14 +3,13 @@
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Internal.Internallearn;
-using Microsoft.ML.Runtime.Model;
-using Microsoft.ML.Runtime.Model.Onnx;
-using Microsoft.ML.Runtime.Model.Pfa;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Internal.Internallearn;
+using Microsoft.ML.Model;
+using Microsoft.ML.Model.Onnx;
+using Microsoft.ML.Model.Pfa;
using Microsoft.ML.Transforms.Normalizers;
using Newtonsoft.Json.Linq;
using System;
diff --git a/src/Microsoft.ML.Data/Transforms/NormalizeColumnDbl.cs b/src/Microsoft.ML.Data/Transforms/NormalizeColumnDbl.cs
index 44a9715c3e..827de6c851 100644
--- a/src/Microsoft.ML.Data/Transforms/NormalizeColumnDbl.cs
+++ b/src/Microsoft.ML.Data/Transforms/NormalizeColumnDbl.cs
@@ -2,12 +2,12 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
-using Microsoft.ML.Runtime.Model.Onnx;
-using Microsoft.ML.Runtime.Model.Pfa;
+using Microsoft.ML;
+using Microsoft.ML.Data;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
+using Microsoft.ML.Model.Onnx;
+using Microsoft.ML.Model.Pfa;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
diff --git a/src/Microsoft.ML.Data/Transforms/NormalizeColumnSng.cs b/src/Microsoft.ML.Data/Transforms/NormalizeColumnSng.cs
index 28bca6c58f..eb630b2e5a 100644
--- a/src/Microsoft.ML.Data/Transforms/NormalizeColumnSng.cs
+++ b/src/Microsoft.ML.Data/Transforms/NormalizeColumnSng.cs
@@ -2,12 +2,12 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
-using Microsoft.ML.Runtime.Model.Onnx;
-using Microsoft.ML.Runtime.Model.Pfa;
+using Microsoft.ML;
+using Microsoft.ML.Data;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
+using Microsoft.ML.Model.Onnx;
+using Microsoft.ML.Model.Pfa;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
diff --git a/src/Microsoft.ML.Data/Transforms/NormalizeUtils.cs b/src/Microsoft.ML.Data/Transforms/NormalizeUtils.cs
index e4ca0348f6..652cf534ad 100644
--- a/src/Microsoft.ML.Data/Transforms/NormalizeUtils.cs
+++ b/src/Microsoft.ML.Data/Transforms/NormalizeUtils.cs
@@ -3,12 +3,11 @@
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Model;
-using Microsoft.ML.Runtime.Model.Onnx;
-using Microsoft.ML.Runtime.Model.Pfa;
+using Microsoft.ML;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Model;
+using Microsoft.ML.Model.Onnx;
+using Microsoft.ML.Model.Pfa;
using Microsoft.ML.Transforms.Normalizers;
using Newtonsoft.Json.Linq;
using System;
@@ -16,7 +15,7 @@
[assembly: LoadableClass(typeof(void), typeof(Normalize), null, typeof(SignatureEntryPointModule), "Normalize")]
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// Signature for a repository based loader of a IColumnFunction
diff --git a/src/Microsoft.ML.Data/Transforms/Normalizer.cs b/src/Microsoft.ML.Data/Transforms/Normalizer.cs
index 54958c2921..7a6e39d0ee 100644
--- a/src/Microsoft.ML.Data/Transforms/Normalizer.cs
+++ b/src/Microsoft.ML.Data/Transforms/Normalizer.cs
@@ -4,11 +4,10 @@
using Microsoft.ML.Core.Data;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Model;
-using Microsoft.ML.Runtime.Model.Onnx;
-using Microsoft.ML.Runtime.Model.Pfa;
+using Microsoft.ML;
+using Microsoft.ML.Model;
+using Microsoft.ML.Model.Onnx;
+using Microsoft.ML.Model.Pfa;
using Microsoft.ML.Transforms.Normalizers;
using Newtonsoft.Json.Linq;
using System;
diff --git a/src/Microsoft.ML.Data/Transforms/NormalizerCatalog.cs b/src/Microsoft.ML.Data/Transforms/NormalizerCatalog.cs
index df9c435def..284e988bb7 100644
--- a/src/Microsoft.ML.Data/Transforms/NormalizerCatalog.cs
+++ b/src/Microsoft.ML.Data/Transforms/NormalizerCatalog.cs
@@ -2,8 +2,8 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML;
+using Microsoft.ML.Data;
using Microsoft.ML.Transforms.Normalizers;
namespace Microsoft.ML
diff --git a/src/Microsoft.ML.Data/Transforms/OneToOneTransformerBase.cs b/src/Microsoft.ML.Data/Transforms/OneToOneTransformerBase.cs
index ad3e037f04..6c5e4f3452 100644
--- a/src/Microsoft.ML.Data/Transforms/OneToOneTransformerBase.cs
+++ b/src/Microsoft.ML.Data/Transforms/OneToOneTransformerBase.cs
@@ -3,11 +3,11 @@
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML.Model;
using System;
using System.Collections.Generic;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// Base class for transformer which operates on pairs input and output columns.
diff --git a/src/Microsoft.ML.Data/Transforms/PerGroupTransformBase.cs b/src/Microsoft.ML.Data/Transforms/PerGroupTransformBase.cs
index a67dfa3652..7aaa182d76 100644
--- a/src/Microsoft.ML.Data/Transforms/PerGroupTransformBase.cs
+++ b/src/Microsoft.ML.Data/Transforms/PerGroupTransformBase.cs
@@ -4,9 +4,9 @@
using System;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML.Model;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// This is a base implementation for a transform that in order to compute its output columns, needs to look
diff --git a/src/Microsoft.ML.Data/Transforms/RangeFilter.cs b/src/Microsoft.ML.Data/Transforms/RangeFilter.cs
index 0b8cdcce07..27019f17b6 100644
--- a/src/Microsoft.ML.Data/Transforms/RangeFilter.cs
+++ b/src/Microsoft.ML.Data/Transforms/RangeFilter.cs
@@ -2,12 +2,12 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Data;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
using Microsoft.ML.Transforms;
using System;
using System.Reflection;
@@ -420,7 +420,7 @@ public KeyRowCursor(RangeFilter parent, RowCursor input, bool[] active)
dst = _value;
};
bool identity;
- _conv = Runtime.Data.Conversion.Conversions.Instance.GetStandardConversion(Parent._type, NumberType.U8, out identity);
+ _conv = Data.Conversion.Conversions.Instance.GetStandardConversion(Parent._type, NumberType.U8, out identity);
}
protected override Delegate GetGetter()
diff --git a/src/Microsoft.ML.Data/Transforms/RowShufflingTransformer.cs b/src/Microsoft.ML.Data/Transforms/RowShufflingTransformer.cs
index f62aedc12d..ec96d610cd 100644
--- a/src/Microsoft.ML.Data/Transforms/RowShufflingTransformer.cs
+++ b/src/Microsoft.ML.Data/Transforms/RowShufflingTransformer.cs
@@ -5,11 +5,10 @@
#pragma warning disable 420 // volatile with Interlocked.CompareExchange
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
using Microsoft.ML.Transforms;
using System;
using System.Collections.Generic;
diff --git a/src/Microsoft.ML.Data/Transforms/RowToRowTransformerBase.cs b/src/Microsoft.ML.Data/Transforms/RowToRowTransformerBase.cs
index 6796736da0..9d8b121a69 100644
--- a/src/Microsoft.ML.Data/Transforms/RowToRowTransformerBase.cs
+++ b/src/Microsoft.ML.Data/Transforms/RowToRowTransformerBase.cs
@@ -4,11 +4,11 @@
using Microsoft.ML.Core.Data;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML.Model;
using System;
using System.Linq;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// Base class for transformer which produce new columns, but doesn't affect existing ones.
diff --git a/src/Microsoft.ML.Data/Transforms/SkipTakeFilter.cs b/src/Microsoft.ML.Data/Transforms/SkipTakeFilter.cs
index eae681db0b..294e8b023e 100644
--- a/src/Microsoft.ML.Data/Transforms/SkipTakeFilter.cs
+++ b/src/Microsoft.ML.Data/Transforms/SkipTakeFilter.cs
@@ -3,12 +3,11 @@
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
using Microsoft.ML.Transforms;
using System;
diff --git a/src/Microsoft.ML.Data/Transforms/TrainAndScoreTransformer.cs b/src/Microsoft.ML.Data/Transforms/TrainAndScoreTransformer.cs
index dbc4e4d685..1017dacff5 100644
--- a/src/Microsoft.ML.Data/Transforms/TrainAndScoreTransformer.cs
+++ b/src/Microsoft.ML.Data/Transforms/TrainAndScoreTransformer.cs
@@ -2,12 +2,12 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Internal.Calibration;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Data;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Internal.Calibration;
+using Microsoft.ML.Model;
using Microsoft.ML.Transforms;
using System;
using System.Collections.Generic;
diff --git a/src/Microsoft.ML.Data/Transforms/TransformBase.cs b/src/Microsoft.ML.Data/Transforms/TransformBase.cs
index fa6f887852..3534043044 100644
--- a/src/Microsoft.ML.Data/Transforms/TransformBase.cs
+++ b/src/Microsoft.ML.Data/Transforms/TransformBase.cs
@@ -7,13 +7,13 @@
using System.Linq;
using System.Reflection;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
-using Microsoft.ML.Runtime.Model.Onnx;
-using Microsoft.ML.Runtime.Model.Pfa;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
+using Microsoft.ML.Model.Onnx;
+using Microsoft.ML.Model.Pfa;
using Newtonsoft.Json.Linq;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// Base class for transforms.
diff --git a/src/Microsoft.ML.Data/Transforms/TransformsCatalog.cs b/src/Microsoft.ML.Data/Transforms/TransformsCatalog.cs
index 42f2031807..38033db8cf 100644
--- a/src/Microsoft.ML.Data/Transforms/TransformsCatalog.cs
+++ b/src/Microsoft.ML.Data/Transforms/TransformsCatalog.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-namespace Microsoft.ML.Runtime
+namespace Microsoft.ML
{
///
/// Similar to training context, a transform context is an object serving as a 'catalog' of available transforms.
diff --git a/src/Microsoft.ML.Data/Transforms/TypeConverting.cs b/src/Microsoft.ML.Data/Transforms/TypeConverting.cs
index 87c0142f07..750bd334b8 100644
--- a/src/Microsoft.ML.Data/Transforms/TypeConverting.cs
+++ b/src/Microsoft.ML.Data/Transforms/TypeConverting.cs
@@ -6,13 +6,12 @@
using Microsoft.ML.Core.Data;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
-using Microsoft.ML.Runtime.Model.Onnx;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
+using Microsoft.ML.Model.Onnx;
using Microsoft.ML.StaticPipe;
using Microsoft.ML.StaticPipe.Runtime;
using Microsoft.ML.Transforms.Conversions;
@@ -431,7 +430,7 @@ private static bool CanConvertToType(IExceptionContext ectx, ColumnType srcType,
// Ensure that the conversion is legal. We don't actually cache the delegate here. It will get
// re-fetched by the utils code when needed.
- if (!Runtime.Data.Conversion.Conversions.Instance.TryGetStandardConversion(srcType.ItemType, itemType, out Delegate del, out bool identity))
+ if (!Data.Conversion.Conversions.Instance.TryGetStandardConversion(srcType.ItemType, itemType, out Delegate del, out bool identity))
return false;
typeDst = itemType;
@@ -558,7 +557,7 @@ public override SchemaShape GetOutputSchema(SchemaShape inputSchema)
throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", colInfo.Input);
if (!TypeConvertingTransformer.GetNewType(Host, col.ItemType, colInfo.OutputKind, colInfo.OutputKeyRange, out PrimitiveType newType))
throw Host.ExceptParam(nameof(inputSchema), $"Can't convert {colInfo.Input} into {newType.ToString()}");
- if (!Runtime.Data.Conversion.Conversions.Instance.TryGetStandardConversion(col.ItemType, newType, out Delegate del, out bool identity))
+ if (!Data.Conversion.Conversions.Instance.TryGetStandardConversion(col.ItemType, newType, out Delegate del, out bool identity))
throw Host.ExceptParam(nameof(inputSchema), $"Don't know how to convert {colInfo.Input} into {newType.ToString()}");
var metadata = new List();
if (col.ItemType.IsBool && newType.ItemType.IsNumber)
diff --git a/src/Microsoft.ML.Data/Transforms/ValueMappingTransformer.cs b/src/Microsoft.ML.Data/Transforms/ValueMappingTransformer.cs
index 15a0ccccfc..2c799a1d25 100644
--- a/src/Microsoft.ML.Data/Transforms/ValueMappingTransformer.cs
+++ b/src/Microsoft.ML.Data/Transforms/ValueMappingTransformer.cs
@@ -4,12 +4,11 @@
using Microsoft.ML.Core.Data;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Data.IO;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Data.IO;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
using Microsoft.ML.Transforms.Conversions;
using System;
using System.Collections.Generic;
@@ -439,7 +438,7 @@ private static TextLoader.Column GenerateValueColumn(IHostEnvironment env,
// Try to parse the text as a key value between 1 and ulong.MaxValue. If this succeeds and res>0,
// we update max and min accordingly. If res==0 it means the value is missing, in which case we ignore it for
// computing max and min.
- if (Microsoft.ML.Runtime.Data.Conversion.Conversions.Instance.TryParseKey(in value, 1, ulong.MaxValue, out res))
+ if (Microsoft.ML.Data.Conversion.Conversions.Instance.TryParseKey(in value, 1, ulong.MaxValue, out res))
{
if (res < keyMin && res != 0)
keyMin = res;
@@ -448,7 +447,7 @@ private static TextLoader.Column GenerateValueColumn(IHostEnvironment env,
}
// If parsing as key did not succeed, the value can still be 0, so we try parsing it as a ulong. If it succeeds,
// then the value is 0, and we update min accordingly.
- else if (Microsoft.ML.Runtime.Data.Conversion.Conversions.Instance.TryParse(in value, out res))
+ else if (Microsoft.ML.Data.Conversion.Conversions.Instance.TryParse(in value, out res))
{
keyMin = 0;
}
@@ -809,7 +808,7 @@ public override void Train(IHostEnvironment env, RowCursor cursor)
// First check if there is a String->ValueType conversion method. If so, call the conversion method with an
// empty string, the returned value will be the new missing value.
// NOTE this will return NA for R4 and R8 types.
- if (Microsoft.ML.Runtime.Data.Conversion.Conversions.Instance.TryGetStandardConversion, TValue>(
+ if (Microsoft.ML.Data.Conversion.Conversions.Instance.TryGetStandardConversion, TValue>(
TextType.Instance,
ValueType,
out conv,
diff --git a/src/Microsoft.ML.Data/Transforms/ValueToKeyMappingEstimator.cs b/src/Microsoft.ML.Data/Transforms/ValueToKeyMappingEstimator.cs
index cc7d0559b7..0b46c9ef58 100644
--- a/src/Microsoft.ML.Data/Transforms/ValueToKeyMappingEstimator.cs
+++ b/src/Microsoft.ML.Data/Transforms/ValueToKeyMappingEstimator.cs
@@ -4,8 +4,7 @@
using Microsoft.ML.Core.Data;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML;
using Microsoft.ML.StaticPipe;
using Microsoft.ML.StaticPipe.Runtime;
using System;
diff --git a/src/Microsoft.ML.Data/Transforms/ValueToKeyMappingTransformer.cs b/src/Microsoft.ML.Data/Transforms/ValueToKeyMappingTransformer.cs
index 33451cada6..df218750d5 100644
--- a/src/Microsoft.ML.Data/Transforms/ValueToKeyMappingTransformer.cs
+++ b/src/Microsoft.ML.Data/Transforms/ValueToKeyMappingTransformer.cs
@@ -3,15 +3,14 @@
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Data.IO;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
-using Microsoft.ML.Runtime.Model.Onnx;
-using Microsoft.ML.Runtime.Model.Pfa;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Data.IO;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
+using Microsoft.ML.Model.Onnx;
+using Microsoft.ML.Model.Pfa;
using Microsoft.ML.Transforms.Conversions;
using Newtonsoft.Json.Linq;
using System;
diff --git a/src/Microsoft.ML.Data/Transforms/ValueToKeyMappingTransformerImpl.cs b/src/Microsoft.ML.Data/Transforms/ValueToKeyMappingTransformerImpl.cs
index 776e408194..f926be7261 100644
--- a/src/Microsoft.ML.Data/Transforms/ValueToKeyMappingTransformerImpl.cs
+++ b/src/Microsoft.ML.Data/Transforms/ValueToKeyMappingTransformerImpl.cs
@@ -3,11 +3,10 @@
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Data.IO;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML;
+using Microsoft.ML.Data.IO;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
using System;
using System.IO;
using System.Text;
@@ -66,7 +65,7 @@ private static Builder CreateCore(PrimitiveType type, bool sorted)
// of building our term dictionary. For the other types (practically, only the UX types),
// we should ignore nothing.
InPredicate mapsToMissing;
- if (!Runtime.Data.Conversion.Conversions.Instance.TryGetIsNAPredicate(type, out mapsToMissing))
+ if (!Data.Conversion.Conversions.Instance.TryGetIsNAPredicate(type, out mapsToMissing))
mapsToMissing = (in T val) => false;
return new Impl(type, mapsToMissing, sorted);
}
@@ -206,7 +205,7 @@ protected Builder(PrimitiveType type)
public override void ParseAddTermArg(ref ReadOnlyMemory terms, IChannel ch)
{
T val;
- var tryParse = Runtime.Data.Conversion.Conversions.Instance.GetTryParseConversion(ItemType);
+ var tryParse = Data.Conversion.Conversions.Instance.GetTryParseConversion(ItemType);
for (bool more = true; more;)
{
ReadOnlyMemory term;
@@ -232,7 +231,7 @@ public override void ParseAddTermArg(ref ReadOnlyMemory terms, IChannel ch
public override void ParseAddTermArg(string[] terms, IChannel ch)
{
T val;
- var tryParse = Runtime.Data.Conversion.Conversions.Instance.GetTryParseConversion(ItemType);
+ var tryParse = Data.Conversion.Conversions.Instance.GetTryParseConversion(ItemType);
foreach (var sterm in terms)
{
ReadOnlyMemory term = sterm.AsMemory();
@@ -747,7 +746,7 @@ internal override void WriteTextTerms(TextWriter writer)
{
writer.WriteLine("# Number of terms of type '{0}' = {1}", ItemType, Count);
StringBuilder sb = null;
- var stringMapper = Runtime.Data.Conversion.Conversions.Instance.GetStringConversion(ItemType);
+ var stringMapper = Data.Conversion.Conversions.Instance.GetStringConversion(ItemType);
for (int i = 0; i < _values.Count; ++i)
{
T val = _values.GetItem(i);
@@ -1045,7 +1044,7 @@ public override void AddMetadata(MetadataBuilder builder)
return;
if (IsTextMetadata && !TypedMap.ItemType.IsText)
{
- var conv = Runtime.Data.Conversion.Conversions.Instance;
+ var conv = Data.Conversion.Conversions.Instance;
var stringMapper = conv.GetStringConversion(TypedMap.ItemType);
ValueGetter>> getter =
@@ -1105,7 +1104,7 @@ private bool AddMetadataCore(ColumnType srcMetaType, MetadataBuilder buil
var srcType = TypedMap.ItemType as KeyType;
_host.AssertValue(srcType);
var dstType = new KeyType(DataKind.U4, srcType.Min, srcType.Count);
- var convInst = Runtime.Data.Conversion.Conversions.Instance;
+ var convInst = Data.Conversion.Conversions.Instance;
ValueMapper conv;
bool identity;
// If we can't convert this type to U4, don't try to pass along the metadata.
@@ -1184,7 +1183,7 @@ private bool WriteTextTermsCore(PrimitiveType srcMetaType, TextWriter wri
var srcType = TypedMap.ItemType as KeyType;
_host.AssertValue(srcType);
var dstType = new KeyType(DataKind.U4, srcType.Min, srcType.Count);
- var convInst = Runtime.Data.Conversion.Conversions.Instance;
+ var convInst = Data.Conversion.Conversions.Instance;
ValueMapper conv;
bool identity;
// If we can't convert this type to U4, don't try.
diff --git a/src/Microsoft.ML.Data/Utilities/ApplyTransformUtils.cs b/src/Microsoft.ML.Data/Utilities/ApplyTransformUtils.cs
index 7d0695083b..c8510c8413 100644
--- a/src/Microsoft.ML.Data/Utilities/ApplyTransformUtils.cs
+++ b/src/Microsoft.ML.Data/Utilities/ApplyTransformUtils.cs
@@ -4,9 +4,9 @@
using System.Collections.Generic;
using System.IO;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML.Model;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// Utilities to rebind data transforms
diff --git a/src/Microsoft.ML.Data/Utilities/ColumnCursor.cs b/src/Microsoft.ML.Data/Utilities/ColumnCursor.cs
index 1ae2951628..b29f049f73 100644
--- a/src/Microsoft.ML.Data/Utilities/ColumnCursor.cs
+++ b/src/Microsoft.ML.Data/Utilities/ColumnCursor.cs
@@ -2,8 +2,8 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML;
+using Microsoft.ML.Data;
using System;
using System.Collections.Generic;
diff --git a/src/Microsoft.ML.Data/Utilities/ComponentCreation.cs b/src/Microsoft.ML.Data/Utilities/ComponentCreation.cs
index 75aeac4a5b..7aa2ff9af7 100644
--- a/src/Microsoft.ML.Data/Utilities/ComponentCreation.cs
+++ b/src/Microsoft.ML.Data/Utilities/ComponentCreation.cs
@@ -3,10 +3,10 @@
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Core.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Data;
+using Microsoft.ML.Model;
using System;
using System.Collections.Generic;
using System.IO;
diff --git a/src/Microsoft.ML.Data/Utilities/LocalEnvironment.cs b/src/Microsoft.ML.Data/Utilities/LocalEnvironment.cs
index 73e4c03e9f..a9e3a4a80e 100644
--- a/src/Microsoft.ML.Data/Utilities/LocalEnvironment.cs
+++ b/src/Microsoft.ML.Data/Utilities/LocalEnvironment.cs
@@ -5,7 +5,7 @@
using System;
using System.ComponentModel.Composition.Hosting;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
using Stopwatch = System.Diagnostics.Stopwatch;
diff --git a/src/Microsoft.ML.Data/Utilities/ModelFileUtils.cs b/src/Microsoft.ML.Data/Utilities/ModelFileUtils.cs
index 0b962f435e..b06e8e32eb 100644
--- a/src/Microsoft.ML.Data/Utilities/ModelFileUtils.cs
+++ b/src/Microsoft.ML.Data/Utilities/ModelFileUtils.cs
@@ -6,13 +6,13 @@
using System.Collections.Generic;
using System.IO;
using System.Linq;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Data.IO;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Internal.Internallearn;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Data;
+using Microsoft.ML.Data.IO;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Internal.Internallearn;
-namespace Microsoft.ML.Runtime.Model
+namespace Microsoft.ML.Model
{
using ColumnRole = RoleMappedSchema.ColumnRole;
using Conditional = System.Diagnostics.ConditionalAttribute;
diff --git a/src/Microsoft.ML.Data/Utilities/PartitionedPathUtils.cs b/src/Microsoft.ML.Data/Utilities/PartitionedPathUtils.cs
index b13a0d5cee..88717c91c7 100644
--- a/src/Microsoft.ML.Data/Utilities/PartitionedPathUtils.cs
+++ b/src/Microsoft.ML.Data/Utilities/PartitionedPathUtils.cs
@@ -6,7 +6,7 @@
using System.Collections.Generic;
using System.IO;
-namespace Microsoft.ML.Runtime.Data.Utilities
+namespace Microsoft.ML.Data.Utilities
{
internal static class PartitionedPathUtils
{
diff --git a/src/Microsoft.ML.Data/Utilities/SlotDropper.cs b/src/Microsoft.ML.Data/Utilities/SlotDropper.cs
index d678302467..dacb5a83d5 100644
--- a/src/Microsoft.ML.Data/Utilities/SlotDropper.cs
+++ b/src/Microsoft.ML.Data/Utilities/SlotDropper.cs
@@ -3,11 +3,11 @@
// See the LICENSE file in the project root for more information.
using System;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML;
+using Microsoft.ML.Data;
+using Microsoft.ML.Internal.Utilities;
-namespace Microsoft.ML.Runtime.Internal.Internallearn
+namespace Microsoft.ML.Internal.Internallearn
{
///
/// Drops slots from a fixed or variable sized column based on slot ranges.
diff --git a/src/Microsoft.ML.Data/Utilities/StreamUtils.cs b/src/Microsoft.ML.Data/Utilities/StreamUtils.cs
index 5d52b45b3b..f157d09ea8 100644
--- a/src/Microsoft.ML.Data/Utilities/StreamUtils.cs
+++ b/src/Microsoft.ML.Data/Utilities/StreamUtils.cs
@@ -6,7 +6,7 @@
using System.IO;
using System.Linq;
-namespace Microsoft.ML.Runtime.Internal.Utilities
+namespace Microsoft.ML.Internal.Utilities
{
// REVIEW: Implement properly on CoreCLR.
[BestFriend]
@@ -15,7 +15,7 @@ internal static class StreamUtils
public static Stream OpenInStream(string fileName)
{
#if !CORECLR
- return Microsoft.ML.Runtime.Internal.IO.ZStreamIn.Open(fileName);
+ return Microsoft.ML.Internal.IO.ZStreamIn.Open(fileName);
#else
return new FileStream(fileName, FileMode.Open, FileAccess.Read, FileShare.Read);
#endif
diff --git a/src/Microsoft.ML.Data/Utilities/TimerScope.cs b/src/Microsoft.ML.Data/Utilities/TimerScope.cs
index c2a590ffe8..663ba669d5 100644
--- a/src/Microsoft.ML.Data/Utilities/TimerScope.cs
+++ b/src/Microsoft.ML.Data/Utilities/TimerScope.cs
@@ -4,7 +4,7 @@
using System;
-namespace Microsoft.ML.Runtime.Internal.Utilities
+namespace Microsoft.ML.Internal.Utilities
{
using Stopwatch = System.Diagnostics.Stopwatch;
diff --git a/src/Microsoft.ML.Data/Utilities/TypeParsingUtils.cs b/src/Microsoft.ML.Data/Utilities/TypeParsingUtils.cs
index a24d7d3883..f1363ad2f8 100644
--- a/src/Microsoft.ML.Data/Utilities/TypeParsingUtils.cs
+++ b/src/Microsoft.ML.Data/Utilities/TypeParsingUtils.cs
@@ -4,10 +4,10 @@
using System;
using System.Text;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Data;
-namespace Microsoft.ML.Runtime.Data
+namespace Microsoft.ML.Data
{
///
/// Utilities to parse command-line representations of types.
diff --git a/src/Microsoft.ML.Data/Utilities/TypeUtils.cs b/src/Microsoft.ML.Data/Utilities/TypeUtils.cs
index 8459a7d4cd..15120fcb2e 100644
--- a/src/Microsoft.ML.Data/Utilities/TypeUtils.cs
+++ b/src/Microsoft.ML.Data/Utilities/TypeUtils.cs
@@ -7,10 +7,10 @@
using System.Reflection;
using System.Text;
using System.Text.RegularExpressions;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML;
+using Microsoft.ML.Internal.Utilities;
-namespace Microsoft.ML.Runtime.Internal.Internallearn
+namespace Microsoft.ML.Internal.Internallearn
{
public static class TypeUtils
{
diff --git a/src/Microsoft.ML.Data/Utils/ApiUtils.cs b/src/Microsoft.ML.Data/Utils/ApiUtils.cs
index af738b219b..d1b14f2b94 100644
--- a/src/Microsoft.ML.Data/Utils/ApiUtils.cs
+++ b/src/Microsoft.ML.Data/Utils/ApiUtils.cs
@@ -5,9 +5,9 @@
using System;
using System.Reflection;
using System.Reflection.Emit;
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML.Data;
-namespace Microsoft.ML.Runtime
+namespace Microsoft.ML
{
internal delegate void Peek(TRow row, long position, ref TValue value);
diff --git a/src/Microsoft.ML.Data/Utils/LossFunctions.cs b/src/Microsoft.ML.Data/Utils/LossFunctions.cs
index 1659b39387..77fdf503bd 100644
--- a/src/Microsoft.ML.Data/Utils/LossFunctions.cs
+++ b/src/Microsoft.ML.Data/Utils/LossFunctions.cs
@@ -5,10 +5,10 @@
using Float = System.Single;
using System;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Internal.Utilities;
[assembly: LoadableClass(LogLoss.Summary, typeof(LogLoss), null, typeof(SignatureClassificationLoss),
"Log Loss", "LogLoss", "Logistic", "CrossEntropy")]
@@ -39,7 +39,7 @@
[assembly: EntryPointModule(typeof(SquaredLossFactory))]
[assembly: EntryPointModule(typeof(TweedieLoss.Arguments))]
-namespace Microsoft.ML.Runtime
+namespace Microsoft.ML
{
///
/// The loss function may know the close-form solution to the optimal dual update
diff --git a/src/Microsoft.ML.Data/Utils/SequencePool.cs b/src/Microsoft.ML.Data/Utils/SequencePool.cs
index 6b9ebe01e3..989bbd195f 100644
--- a/src/Microsoft.ML.Data/Utils/SequencePool.cs
+++ b/src/Microsoft.ML.Data/Utils/SequencePool.cs
@@ -5,7 +5,7 @@
using System;
using System.IO;
-namespace Microsoft.ML.Runtime.Internal.Utilities
+namespace Microsoft.ML.Internal.Utilities
{
using Conditional = System.Diagnostics.ConditionalAttribute;
diff --git a/src/Microsoft.ML.DnnImageFeaturizer.AlexNet/AlexNetExtension.cs b/src/Microsoft.ML.DnnImageFeaturizer.AlexNet/AlexNetExtension.cs
index 186d083679..3c8e868148 100644
--- a/src/Microsoft.ML.DnnImageFeaturizer.AlexNet/AlexNetExtension.cs
+++ b/src/Microsoft.ML.DnnImageFeaturizer.AlexNet/AlexNetExtension.cs
@@ -2,8 +2,8 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML;
+using Microsoft.ML.Data;
using System.IO;
using System.Reflection;
diff --git a/src/Microsoft.ML.DnnImageFeaturizer.ResNet101/ResNet101Extension.cs b/src/Microsoft.ML.DnnImageFeaturizer.ResNet101/ResNet101Extension.cs
index 0e5298211e..656e877c91 100644
--- a/src/Microsoft.ML.DnnImageFeaturizer.ResNet101/ResNet101Extension.cs
+++ b/src/Microsoft.ML.DnnImageFeaturizer.ResNet101/ResNet101Extension.cs
@@ -2,8 +2,8 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML;
+using Microsoft.ML.Data;
using System.IO;
using System.Reflection;
diff --git a/src/Microsoft.ML.DnnImageFeaturizer.ResNet18/ResNet18Extension.cs b/src/Microsoft.ML.DnnImageFeaturizer.ResNet18/ResNet18Extension.cs
index 8a0d0504b7..281e0f8ef6 100644
--- a/src/Microsoft.ML.DnnImageFeaturizer.ResNet18/ResNet18Extension.cs
+++ b/src/Microsoft.ML.DnnImageFeaturizer.ResNet18/ResNet18Extension.cs
@@ -2,8 +2,8 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML;
+using Microsoft.ML.Data;
using System.IO;
using System.Reflection;
diff --git a/src/Microsoft.ML.DnnImageFeaturizer.ResNet50/ResNet50Extension.cs b/src/Microsoft.ML.DnnImageFeaturizer.ResNet50/ResNet50Extension.cs
index b46d34f708..e1ed66463e 100644
--- a/src/Microsoft.ML.DnnImageFeaturizer.ResNet50/ResNet50Extension.cs
+++ b/src/Microsoft.ML.DnnImageFeaturizer.ResNet50/ResNet50Extension.cs
@@ -2,8 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML.Data;
using System.IO;
using System.Reflection;
diff --git a/src/Microsoft.ML.Ensemble/Batch.cs b/src/Microsoft.ML.Ensemble/Batch.cs
index 482456f83c..caaf6bf4f3 100644
--- a/src/Microsoft.ML.Ensemble/Batch.cs
+++ b/src/Microsoft.ML.Ensemble/Batch.cs
@@ -2,9 +2,9 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML.Data;
-namespace Microsoft.ML.Runtime.Ensemble
+namespace Microsoft.ML.Ensemble
{
internal sealed class Batch
{
diff --git a/src/Microsoft.ML.Ensemble/EnsembleUtils.cs b/src/Microsoft.ML.Ensemble/EnsembleUtils.cs
index 5515695bdf..0cb43ef7a4 100644
--- a/src/Microsoft.ML.Ensemble/EnsembleUtils.cs
+++ b/src/Microsoft.ML.Ensemble/EnsembleUtils.cs
@@ -4,10 +4,10 @@
using System;
using System.Collections;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Data;
+using Microsoft.ML.Internal.Utilities;
-namespace Microsoft.ML.Runtime.Ensemble
+namespace Microsoft.ML.Ensemble
{
internal static class EnsembleUtils
{
diff --git a/src/Microsoft.ML.Ensemble/EntryPoints/CreateEnsemble.cs b/src/Microsoft.ML.Ensemble/EntryPoints/CreateEnsemble.cs
index db8708d544..151b0d08b0 100644
--- a/src/Microsoft.ML.Ensemble/EntryPoints/CreateEnsemble.cs
+++ b/src/Microsoft.ML.Ensemble/EntryPoints/CreateEnsemble.cs
@@ -3,23 +3,21 @@
// See the LICENSE file in the project root for more information.
using System;
-using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Linq;
using Microsoft.ML.Data;
using Microsoft.ML.Ensemble.EntryPoints;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Ensemble;
-using Microsoft.ML.Runtime.Ensemble.OutputCombiners;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Ensemble;
+using Microsoft.ML.Ensemble.OutputCombiners;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Internal.Utilities;
[assembly: LoadableClass(typeof(void), typeof(EnsembleCreator), null, typeof(SignatureEntryPointModule), "CreateEnsemble")]
-namespace Microsoft.ML.Runtime.EntryPoints
+namespace Microsoft.ML.EntryPoints
{
///
/// A component to combine given models into an ensemble model.
diff --git a/src/Microsoft.ML.Ensemble/EntryPoints/DiversityMeasure.cs b/src/Microsoft.ML.Ensemble/EntryPoints/DiversityMeasure.cs
index b13cff3b35..de71c5d2f0 100644
--- a/src/Microsoft.ML.Ensemble/EntryPoints/DiversityMeasure.cs
+++ b/src/Microsoft.ML.Ensemble/EntryPoints/DiversityMeasure.cs
@@ -4,11 +4,11 @@
using System;
using Microsoft.ML.Ensemble.EntryPoints;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Ensemble.Selector;
-using Microsoft.ML.Runtime.Ensemble.Selector.DiversityMeasure;
-using Microsoft.ML.Runtime.EntryPoints;
+using Microsoft.ML;
+using Microsoft.ML.Data;
+using Microsoft.ML.Ensemble.Selector;
+using Microsoft.ML.Ensemble.Selector.DiversityMeasure;
+using Microsoft.ML.EntryPoints;
[assembly: EntryPointModule(typeof(DisagreementDiversityFactory))]
[assembly: EntryPointModule(typeof(RegressionDisagreementDiversityFactory))]
diff --git a/src/Microsoft.ML.Ensemble/EntryPoints/Ensemble.cs b/src/Microsoft.ML.Ensemble/EntryPoints/Ensemble.cs
index e5e9b79afc..0bfa15ba2c 100644
--- a/src/Microsoft.ML.Ensemble/EntryPoints/Ensemble.cs
+++ b/src/Microsoft.ML.Ensemble/EntryPoints/Ensemble.cs
@@ -3,9 +3,9 @@
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Ensemble.EntryPoints;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Ensemble;
-using Microsoft.ML.Runtime.EntryPoints;
+using Microsoft.ML;
+using Microsoft.ML.Ensemble;
+using Microsoft.ML.EntryPoints;
[assembly: LoadableClass(typeof(void), typeof(Ensemble), null, typeof(SignatureEntryPointModule), "TrainEnsemble")]
diff --git a/src/Microsoft.ML.Ensemble/EntryPoints/FeatureSelector.cs b/src/Microsoft.ML.Ensemble/EntryPoints/FeatureSelector.cs
index 65ca5e9d06..f1d2593ef9 100644
--- a/src/Microsoft.ML.Ensemble/EntryPoints/FeatureSelector.cs
+++ b/src/Microsoft.ML.Ensemble/EntryPoints/FeatureSelector.cs
@@ -3,10 +3,10 @@
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Ensemble.EntryPoints;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Ensemble.Selector;
-using Microsoft.ML.Runtime.Ensemble.Selector.FeatureSelector;
-using Microsoft.ML.Runtime.EntryPoints;
+using Microsoft.ML;
+using Microsoft.ML.Ensemble.Selector;
+using Microsoft.ML.Ensemble.Selector.FeatureSelector;
+using Microsoft.ML.EntryPoints;
[assembly: EntryPointModule(typeof(AllFeatureSelectorFactory))]
[assembly: EntryPointModule(typeof(RandomFeatureSelector))]
diff --git a/src/Microsoft.ML.Ensemble/EntryPoints/OutputCombiner.cs b/src/Microsoft.ML.Ensemble/EntryPoints/OutputCombiner.cs
index 537b35f47b..143034cc21 100644
--- a/src/Microsoft.ML.Ensemble/EntryPoints/OutputCombiner.cs
+++ b/src/Microsoft.ML.Ensemble/EntryPoints/OutputCombiner.cs
@@ -3,9 +3,9 @@
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Ensemble.EntryPoints;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Ensemble.OutputCombiners;
-using Microsoft.ML.Runtime.EntryPoints;
+using Microsoft.ML;
+using Microsoft.ML.Ensemble.OutputCombiners;
+using Microsoft.ML.EntryPoints;
[assembly: EntryPointModule(typeof(AverageFactory))]
[assembly: EntryPointModule(typeof(MedianFactory))]
diff --git a/src/Microsoft.ML.Ensemble/EntryPoints/PipelineEnsemble.cs b/src/Microsoft.ML.Ensemble/EntryPoints/PipelineEnsemble.cs
index bcfaaefb89..66482b44a9 100644
--- a/src/Microsoft.ML.Ensemble/EntryPoints/PipelineEnsemble.cs
+++ b/src/Microsoft.ML.Ensemble/EntryPoints/PipelineEnsemble.cs
@@ -2,14 +2,14 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Ensemble.EntryPoints;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Internal.Calibration;
+using Microsoft.ML.Data;
+using Microsoft.ML.Ensemble.EntryPoints;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Internal.Calibration;
[assembly: EntryPointModule(typeof(PipelineEnsemble))]
-namespace Microsoft.ML.Runtime.Ensemble.EntryPoints
+namespace Microsoft.ML.Ensemble.EntryPoints
{
public static class PipelineEnsemble
{
diff --git a/src/Microsoft.ML.Ensemble/EntryPoints/SubModelSelector.cs b/src/Microsoft.ML.Ensemble/EntryPoints/SubModelSelector.cs
index 57001190ac..cb2ef60242 100644
--- a/src/Microsoft.ML.Ensemble/EntryPoints/SubModelSelector.cs
+++ b/src/Microsoft.ML.Ensemble/EntryPoints/SubModelSelector.cs
@@ -4,11 +4,11 @@
using System;
using Microsoft.ML.Ensemble.EntryPoints;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Ensemble.Selector;
-using Microsoft.ML.Runtime.Ensemble.Selector.SubModelSelector;
-using Microsoft.ML.Runtime.EntryPoints;
+using Microsoft.ML;
+using Microsoft.ML.Data;
+using Microsoft.ML.Ensemble.Selector;
+using Microsoft.ML.Ensemble.Selector.SubModelSelector;
+using Microsoft.ML.EntryPoints;
[assembly: EntryPointModule(typeof(AllSelectorFactory))]
[assembly: EntryPointModule(typeof(AllSelectorMultiClassFactory))]
diff --git a/src/Microsoft.ML.Ensemble/FeatureSubsetModel.cs b/src/Microsoft.ML.Ensemble/FeatureSubsetModel.cs
index 4518666d34..fadd096810 100644
--- a/src/Microsoft.ML.Ensemble/FeatureSubsetModel.cs
+++ b/src/Microsoft.ML.Ensemble/FeatureSubsetModel.cs
@@ -4,9 +4,9 @@
using System.Collections;
using System.Collections.Generic;
-using Microsoft.ML.Runtime.Internal.Utilities;
+using Microsoft.ML.Internal.Utilities;
-namespace Microsoft.ML.Runtime.Ensemble
+namespace Microsoft.ML.Ensemble
{
public sealed class FeatureSubsetModel where TPredictor : IPredictor
{
diff --git a/src/Microsoft.ML.Ensemble/OutputCombiners/Average.cs b/src/Microsoft.ML.Ensemble/OutputCombiners/Average.cs
index de1e5ef505..05b85b37ec 100644
--- a/src/Microsoft.ML.Ensemble/OutputCombiners/Average.cs
+++ b/src/Microsoft.ML.Ensemble/OutputCombiners/Average.cs
@@ -3,14 +3,14 @@
// See the LICENSE file in the project root for more information.
using System;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Ensemble.OutputCombiners;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML;
+using Microsoft.ML.Ensemble.OutputCombiners;
+using Microsoft.ML.Model;
[assembly: LoadableClass(typeof(Average), null, typeof(SignatureCombiner), Average.UserName)]
[assembly: LoadableClass(typeof(Average), null, typeof(SignatureLoadModel), Average.UserName, Average.LoaderSignature)]
-namespace Microsoft.ML.Runtime.Ensemble.OutputCombiners
+namespace Microsoft.ML.Ensemble.OutputCombiners
{
public sealed class Average : BaseAverager, ICanSaveModel, IRegressionOutputCombiner
{
diff --git a/src/Microsoft.ML.Ensemble/OutputCombiners/BaseAverager.cs b/src/Microsoft.ML.Ensemble/OutputCombiners/BaseAverager.cs
index 824300e594..1ffbe13ec1 100644
--- a/src/Microsoft.ML.Ensemble/OutputCombiners/BaseAverager.cs
+++ b/src/Microsoft.ML.Ensemble/OutputCombiners/BaseAverager.cs
@@ -3,9 +3,9 @@
// See the LICENSE file in the project root for more information.
using System;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML.Model;
-namespace Microsoft.ML.Runtime.Ensemble.OutputCombiners
+namespace Microsoft.ML.Ensemble.OutputCombiners
{
public abstract class BaseAverager : IBinaryOutputCombiner
{
diff --git a/src/Microsoft.ML.Ensemble/OutputCombiners/BaseMultiAverager.cs b/src/Microsoft.ML.Ensemble/OutputCombiners/BaseMultiAverager.cs
index e7a50c11c3..73e6f4ea7e 100644
--- a/src/Microsoft.ML.Ensemble/OutputCombiners/BaseMultiAverager.cs
+++ b/src/Microsoft.ML.Ensemble/OutputCombiners/BaseMultiAverager.cs
@@ -3,12 +3,12 @@
// See the LICENSE file in the project root for more information.
using System;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
-using Microsoft.ML.Runtime.Numeric;
+using Microsoft.ML.Data;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
+using Microsoft.ML.Numeric;
-namespace Microsoft.ML.Runtime.Ensemble.OutputCombiners
+namespace Microsoft.ML.Ensemble.OutputCombiners
{
public abstract class BaseMultiAverager : BaseMultiCombiner
{
diff --git a/src/Microsoft.ML.Ensemble/OutputCombiners/BaseMultiCombiner.cs b/src/Microsoft.ML.Ensemble/OutputCombiners/BaseMultiCombiner.cs
index 350833aebb..5e8296862b 100644
--- a/src/Microsoft.ML.Ensemble/OutputCombiners/BaseMultiCombiner.cs
+++ b/src/Microsoft.ML.Ensemble/OutputCombiners/BaseMultiCombiner.cs
@@ -3,13 +3,13 @@
// See the LICENSE file in the project root for more information.
using System;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
-using Microsoft.ML.Runtime.Numeric;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Data;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
+using Microsoft.ML.Numeric;
-namespace Microsoft.ML.Runtime.Ensemble.OutputCombiners
+namespace Microsoft.ML.Ensemble.OutputCombiners
{
public abstract class BaseMultiCombiner : IMultiClassOutputCombiner
{
diff --git a/src/Microsoft.ML.Ensemble/OutputCombiners/BaseScalarStacking.cs b/src/Microsoft.ML.Ensemble/OutputCombiners/BaseScalarStacking.cs
index 257499cd13..ba75e05080 100644
--- a/src/Microsoft.ML.Ensemble/OutputCombiners/BaseScalarStacking.cs
+++ b/src/Microsoft.ML.Ensemble/OutputCombiners/BaseScalarStacking.cs
@@ -3,11 +3,11 @@
// See the LICENSE file in the project root for more information.
using System;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML.Data;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
-namespace Microsoft.ML.Runtime.Ensemble.OutputCombiners
+namespace Microsoft.ML.Ensemble.OutputCombiners
{
internal abstract class BaseScalarStacking : BaseStacking
{
diff --git a/src/Microsoft.ML.Ensemble/OutputCombiners/BaseStacking.cs b/src/Microsoft.ML.Ensemble/OutputCombiners/BaseStacking.cs
index d62650b7c2..769f95b4f9 100644
--- a/src/Microsoft.ML.Ensemble/OutputCombiners/BaseStacking.cs
+++ b/src/Microsoft.ML.Ensemble/OutputCombiners/BaseStacking.cs
@@ -5,15 +5,15 @@
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Internal.Internallearn;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
-using Microsoft.ML.Runtime.Training;
-
-namespace Microsoft.ML.Runtime.Ensemble.OutputCombiners
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Data;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Internal.Internallearn;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
+using Microsoft.ML.Training;
+
+namespace Microsoft.ML.Ensemble.OutputCombiners
{
using ColumnRole = RoleMappedSchema.ColumnRole;
internal abstract class BaseStacking : IStackingTrainer
diff --git a/src/Microsoft.ML.Ensemble/OutputCombiners/IOutputCombiner.cs b/src/Microsoft.ML.Ensemble/OutputCombiners/IOutputCombiner.cs
index 6fcf55d5c8..53aec1f8d8 100644
--- a/src/Microsoft.ML.Ensemble/OutputCombiners/IOutputCombiner.cs
+++ b/src/Microsoft.ML.Ensemble/OutputCombiners/IOutputCombiner.cs
@@ -4,10 +4,10 @@
using System;
using System.Collections.Generic;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.EntryPoints;
+using Microsoft.ML.Data;
+using Microsoft.ML.EntryPoints;
-namespace Microsoft.ML.Runtime.Ensemble.OutputCombiners
+namespace Microsoft.ML.Ensemble.OutputCombiners
{
///
/// Signature for combiners.
diff --git a/src/Microsoft.ML.Ensemble/OutputCombiners/Median.cs b/src/Microsoft.ML.Ensemble/OutputCombiners/Median.cs
index 95bc0cc991..3b94196eb9 100644
--- a/src/Microsoft.ML.Ensemble/OutputCombiners/Median.cs
+++ b/src/Microsoft.ML.Ensemble/OutputCombiners/Median.cs
@@ -3,15 +3,15 @@
// See the LICENSE file in the project root for more information.
using System;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Ensemble.OutputCombiners;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML;
+using Microsoft.ML.Ensemble.OutputCombiners;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
[assembly: LoadableClass(typeof(Median), null, typeof(SignatureCombiner), Median.UserName, Median.LoadName)]
[assembly: LoadableClass(typeof(Median), null, typeof(SignatureLoadModel), Median.UserName, Median.LoaderSignature)]
-namespace Microsoft.ML.Runtime.Ensemble.OutputCombiners
+namespace Microsoft.ML.Ensemble.OutputCombiners
{
///
/// Generic interface for combining outputs of multiple models
diff --git a/src/Microsoft.ML.Ensemble/OutputCombiners/MultiAverage.cs b/src/Microsoft.ML.Ensemble/OutputCombiners/MultiAverage.cs
index fef6fa087e..1ba5cdf028 100644
--- a/src/Microsoft.ML.Ensemble/OutputCombiners/MultiAverage.cs
+++ b/src/Microsoft.ML.Ensemble/OutputCombiners/MultiAverage.cs
@@ -3,18 +3,18 @@
// See the LICENSE file in the project root for more information.
using System;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Ensemble.OutputCombiners;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML;
+using Microsoft.ML.Data;
+using Microsoft.ML.Ensemble.OutputCombiners;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Model;
[assembly: LoadableClass(typeof(MultiAverage), typeof(MultiAverage.Arguments), typeof(SignatureCombiner),
Average.UserName, MultiAverage.LoadName)]
[assembly: LoadableClass(typeof(MultiAverage), null, typeof(SignatureLoadModel), Average.UserName,
MultiAverage.LoadName, MultiAverage.LoaderSignature)]
-namespace Microsoft.ML.Runtime.Ensemble.OutputCombiners
+namespace Microsoft.ML.Ensemble.OutputCombiners
{
public sealed class MultiAverage : BaseMultiAverager, ICanSaveModel
{
diff --git a/src/Microsoft.ML.Ensemble/OutputCombiners/MultiMedian.cs b/src/Microsoft.ML.Ensemble/OutputCombiners/MultiMedian.cs
index 3b11146203..477a658355 100644
--- a/src/Microsoft.ML.Ensemble/OutputCombiners/MultiMedian.cs
+++ b/src/Microsoft.ML.Ensemble/OutputCombiners/MultiMedian.cs
@@ -3,18 +3,18 @@
// See the LICENSE file in the project root for more information.
using System;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Ensemble.OutputCombiners;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML;
+using Microsoft.ML.Data;
+using Microsoft.ML.Ensemble.OutputCombiners;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
[assembly: LoadableClass(typeof(MultiMedian), typeof(MultiMedian.Arguments), typeof(SignatureCombiner),
Median.UserName, MultiMedian.LoadName)]
[assembly: LoadableClass(typeof(MultiMedian), null, typeof(SignatureLoadModel), Median.UserName, MultiMedian.LoaderSignature)]
-namespace Microsoft.ML.Runtime.Ensemble.OutputCombiners
+namespace Microsoft.ML.Ensemble.OutputCombiners
{
///
/// Generic interface for combining outputs of multiple models
diff --git a/src/Microsoft.ML.Ensemble/OutputCombiners/MultiStacking.cs b/src/Microsoft.ML.Ensemble/OutputCombiners/MultiStacking.cs
index f9e3b246f7..f87c532161 100644
--- a/src/Microsoft.ML.Ensemble/OutputCombiners/MultiStacking.cs
+++ b/src/Microsoft.ML.Ensemble/OutputCombiners/MultiStacking.cs
@@ -3,14 +3,14 @@
// See the LICENSE file in the project root for more information.
using System;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Ensemble.OutputCombiners;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Internal.Internallearn;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Data;
+using Microsoft.ML.Ensemble.OutputCombiners;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Internal.Internallearn;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
[assembly: LoadableClass(typeof(MultiStacking), typeof(MultiStacking.Arguments), typeof(SignatureCombiner),
Stacking.UserName, MultiStacking.LoadName)]
@@ -18,7 +18,7 @@
[assembly: LoadableClass(typeof(MultiStacking), null, typeof(SignatureLoadModel),
Stacking.UserName, MultiStacking.LoaderSignature)]
-namespace Microsoft.ML.Runtime.Ensemble.OutputCombiners
+namespace Microsoft.ML.Ensemble.OutputCombiners
{
using TVectorPredictor = IPredictorProducing>;
internal sealed class MultiStacking : BaseStacking>, ICanSaveModel, IMultiClassOutputCombiner
diff --git a/src/Microsoft.ML.Ensemble/OutputCombiners/MultiVoting.cs b/src/Microsoft.ML.Ensemble/OutputCombiners/MultiVoting.cs
index ffa1b9c647..a8ba932926 100644
--- a/src/Microsoft.ML.Ensemble/OutputCombiners/MultiVoting.cs
+++ b/src/Microsoft.ML.Ensemble/OutputCombiners/MultiVoting.cs
@@ -3,17 +3,17 @@
// See the LICENSE file in the project root for more information.
using System;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Ensemble.OutputCombiners;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
-using Microsoft.ML.Runtime.Numeric;
+using Microsoft.ML;
+using Microsoft.ML.Data;
+using Microsoft.ML.Ensemble.OutputCombiners;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
+using Microsoft.ML.Numeric;
[assembly: LoadableClass(typeof(MultiVoting), null, typeof(SignatureCombiner), Voting.UserName, MultiVoting.LoadName)]
[assembly: LoadableClass(typeof(MultiVoting), null, typeof(SignatureLoadModel), Voting.UserName, MultiVoting.LoaderSignature)]
-namespace Microsoft.ML.Runtime.Ensemble.OutputCombiners
+namespace Microsoft.ML.Ensemble.OutputCombiners
{
// REVIEW: Why is MultiVoting based on BaseMultiCombiner? Normalizing the model outputs
// is senseless, so the base adds no real functionality.
diff --git a/src/Microsoft.ML.Ensemble/OutputCombiners/MultiWeightedAverage.cs b/src/Microsoft.ML.Ensemble/OutputCombiners/MultiWeightedAverage.cs
index a2f52b1451..deef23abcd 100644
--- a/src/Microsoft.ML.Ensemble/OutputCombiners/MultiWeightedAverage.cs
+++ b/src/Microsoft.ML.Ensemble/OutputCombiners/MultiWeightedAverage.cs
@@ -3,13 +3,13 @@
// See the LICENSE file in the project root for more information.
using System;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Ensemble.OutputCombiners;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Internal.Internallearn;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Data;
+using Microsoft.ML.Ensemble.OutputCombiners;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Internal.Internallearn;
+using Microsoft.ML.Model;
[assembly: LoadableClass(typeof(MultiWeightedAverage), typeof(MultiWeightedAverage.Arguments), typeof(SignatureCombiner),
MultiWeightedAverage.UserName, MultiWeightedAverage.LoadName)]
@@ -17,7 +17,7 @@
[assembly: LoadableClass(typeof(MultiWeightedAverage), null, typeof(SignatureLoadModel),
MultiWeightedAverage.UserName, MultiWeightedAverage.LoaderSignature)]
-namespace Microsoft.ML.Runtime.Ensemble.OutputCombiners
+namespace Microsoft.ML.Ensemble.OutputCombiners
{
///
/// Generic interface for combining outputs of multiple models
diff --git a/src/Microsoft.ML.Ensemble/OutputCombiners/RegressionStacking.cs b/src/Microsoft.ML.Ensemble/OutputCombiners/RegressionStacking.cs
index 8c984613db..ab57cfe9aa 100644
--- a/src/Microsoft.ML.Ensemble/OutputCombiners/RegressionStacking.cs
+++ b/src/Microsoft.ML.Ensemble/OutputCombiners/RegressionStacking.cs
@@ -2,12 +2,12 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Ensemble.OutputCombiners;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Internal.Internallearn;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Ensemble.OutputCombiners;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Internal.Internallearn;
+using Microsoft.ML.Model;
[assembly: LoadableClass(typeof(RegressionStacking), typeof(RegressionStacking.Arguments), typeof(SignatureCombiner),
Stacking.UserName, RegressionStacking.LoadName)]
@@ -15,7 +15,7 @@
[assembly: LoadableClass(typeof(RegressionStacking), null, typeof(SignatureLoadModel),
Stacking.UserName, RegressionStacking.LoaderSignature)]
-namespace Microsoft.ML.Runtime.Ensemble.OutputCombiners
+namespace Microsoft.ML.Ensemble.OutputCombiners
{
using TScalarPredictor = IPredictorProducing;
diff --git a/src/Microsoft.ML.Ensemble/OutputCombiners/Stacking.cs b/src/Microsoft.ML.Ensemble/OutputCombiners/Stacking.cs
index f44f987b05..891963dbea 100644
--- a/src/Microsoft.ML.Ensemble/OutputCombiners/Stacking.cs
+++ b/src/Microsoft.ML.Ensemble/OutputCombiners/Stacking.cs
@@ -3,17 +3,17 @@
// See the LICENSE file in the project root for more information.
using System;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Ensemble.OutputCombiners;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Internal.Internallearn;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Ensemble.OutputCombiners;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Internal.Internallearn;
+using Microsoft.ML.Model;
[assembly: LoadableClass(typeof(Stacking), typeof(Stacking.Arguments), typeof(SignatureCombiner), Stacking.UserName, Stacking.LoadName)]
[assembly: LoadableClass(typeof(Stacking), null, typeof(SignatureLoadModel), Stacking.UserName, Stacking.LoaderSignature)]
-namespace Microsoft.ML.Runtime.Ensemble.OutputCombiners
+namespace Microsoft.ML.Ensemble.OutputCombiners
{
using TScalarPredictor = IPredictorProducing;
internal sealed class Stacking : BaseScalarStacking, IBinaryOutputCombiner, ICanSaveModel
diff --git a/src/Microsoft.ML.Ensemble/OutputCombiners/Voting.cs b/src/Microsoft.ML.Ensemble/OutputCombiners/Voting.cs
index d352439d55..b18de67b18 100644
--- a/src/Microsoft.ML.Ensemble/OutputCombiners/Voting.cs
+++ b/src/Microsoft.ML.Ensemble/OutputCombiners/Voting.cs
@@ -3,15 +3,15 @@
// See the LICENSE file in the project root for more information.
using System;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Ensemble.OutputCombiners;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML;
+using Microsoft.ML.Ensemble.OutputCombiners;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
[assembly: LoadableClass(typeof(Voting), null, typeof(SignatureCombiner), Voting.UserName, Voting.LoadName)]
[assembly: LoadableClass(typeof(Voting), null, typeof(SignatureLoadModel), Voting.UserName, Voting.LoaderSignature)]
-namespace Microsoft.ML.Runtime.Ensemble.OutputCombiners
+namespace Microsoft.ML.Ensemble.OutputCombiners
{
public sealed class Voting : IBinaryOutputCombiner, ICanSaveModel
{
diff --git a/src/Microsoft.ML.Ensemble/OutputCombiners/WeightedAverage.cs b/src/Microsoft.ML.Ensemble/OutputCombiners/WeightedAverage.cs
index e11f0c9bb9..ec1d2dcd11 100644
--- a/src/Microsoft.ML.Ensemble/OutputCombiners/WeightedAverage.cs
+++ b/src/Microsoft.ML.Ensemble/OutputCombiners/WeightedAverage.cs
@@ -3,13 +3,13 @@
// See the LICENSE file in the project root for more information.
using System;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Ensemble.OutputCombiners;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Internal.Internallearn;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Data;
+using Microsoft.ML.Ensemble.OutputCombiners;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Internal.Internallearn;
+using Microsoft.ML.Model;
[assembly: LoadableClass(typeof(WeightedAverage), typeof(WeightedAverage.Arguments), typeof(SignatureCombiner),
WeightedAverage.UserName, WeightedAverage.LoadName)]
@@ -17,7 +17,7 @@
[assembly: LoadableClass(typeof(WeightedAverage), null, typeof(SignatureLoadModel),
WeightedAverage.UserName, WeightedAverage.LoaderSignature)]
-namespace Microsoft.ML.Runtime.Ensemble.OutputCombiners
+namespace Microsoft.ML.Ensemble.OutputCombiners
{
public sealed class WeightedAverage : BaseAverager, IWeightedAverager, ICanSaveModel
{
diff --git a/src/Microsoft.ML.Ensemble/PipelineEnsemble.cs b/src/Microsoft.ML.Ensemble/PipelineEnsemble.cs
index 2becb019e0..ab88a83a65 100644
--- a/src/Microsoft.ML.Ensemble/PipelineEnsemble.cs
+++ b/src/Microsoft.ML.Ensemble/PipelineEnsemble.cs
@@ -8,20 +8,19 @@
using System.Linq;
using System.Text;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Ensemble;
-using Microsoft.ML.Runtime.Ensemble.OutputCombiners;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Internal.Calibration;
-using Microsoft.ML.Runtime.Internal.Internallearn;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Model;
+using Microsoft.ML;
+using Microsoft.ML.Ensemble;
+using Microsoft.ML.Ensemble.OutputCombiners;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Internal.Calibration;
+using Microsoft.ML.Internal.Internallearn;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Model;
[assembly: LoadableClass(typeof(SchemaBindablePipelineEnsembleBase), null, typeof(SignatureLoadModel),
SchemaBindablePipelineEnsembleBase.UserName, SchemaBindablePipelineEnsembleBase.LoaderSignature)]
-namespace Microsoft.ML.Runtime.Ensemble
+namespace Microsoft.ML.Ensemble
{
///
/// This class represents an ensemble predictor, where each predictor has its own featurization pipeline. It is
diff --git a/src/Microsoft.ML.Ensemble/Selector/DiversityMeasure/BaseDisagreementDiversityMeasure.cs b/src/Microsoft.ML.Ensemble/Selector/DiversityMeasure/BaseDisagreementDiversityMeasure.cs
index 52d5dd9a58..f6ac5da19e 100644
--- a/src/Microsoft.ML.Ensemble/Selector/DiversityMeasure/BaseDisagreementDiversityMeasure.cs
+++ b/src/Microsoft.ML.Ensemble/Selector/DiversityMeasure/BaseDisagreementDiversityMeasure.cs
@@ -6,7 +6,7 @@
using System.Collections.Concurrent;
using System.Collections.Generic;
-namespace Microsoft.ML.Runtime.Ensemble.Selector.DiversityMeasure
+namespace Microsoft.ML.Ensemble.Selector.DiversityMeasure
{
public abstract class BaseDisagreementDiversityMeasure : IDiversityMeasure
{
diff --git a/src/Microsoft.ML.Ensemble/Selector/DiversityMeasure/DisagreementDiversityMeasure.cs b/src/Microsoft.ML.Ensemble/Selector/DiversityMeasure/DisagreementDiversityMeasure.cs
index d36f00ea9d..c5af6268c3 100644
--- a/src/Microsoft.ML.Ensemble/Selector/DiversityMeasure/DisagreementDiversityMeasure.cs
+++ b/src/Microsoft.ML.Ensemble/Selector/DiversityMeasure/DisagreementDiversityMeasure.cs
@@ -3,14 +3,14 @@
// See the LICENSE file in the project root for more information.
using System;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Ensemble.Selector;
-using Microsoft.ML.Runtime.Ensemble.Selector.DiversityMeasure;
+using Microsoft.ML;
+using Microsoft.ML.Ensemble.Selector;
+using Microsoft.ML.Ensemble.Selector.DiversityMeasure;
[assembly: LoadableClass(typeof(DisagreementDiversityMeasure), null, typeof(SignatureEnsembleDiversityMeasure),
DisagreementDiversityMeasure.UserName, DisagreementDiversityMeasure.LoadName)]
-namespace Microsoft.ML.Runtime.Ensemble.Selector.DiversityMeasure
+namespace Microsoft.ML.Ensemble.Selector.DiversityMeasure
{
public class DisagreementDiversityMeasure : BaseDisagreementDiversityMeasure, IBinaryDiversityMeasure
{
diff --git a/src/Microsoft.ML.Ensemble/Selector/DiversityMeasure/ModelDiversityMetric.cs b/src/Microsoft.ML.Ensemble/Selector/DiversityMeasure/ModelDiversityMetric.cs
index 1ee03a9489..621671c2f0 100644
--- a/src/Microsoft.ML.Ensemble/Selector/DiversityMeasure/ModelDiversityMetric.cs
+++ b/src/Microsoft.ML.Ensemble/Selector/DiversityMeasure/ModelDiversityMetric.cs
@@ -4,7 +4,7 @@
using System;
-namespace Microsoft.ML.Runtime.Ensemble.Selector.DiversityMeasure
+namespace Microsoft.ML.Ensemble.Selector.DiversityMeasure
{
public class ModelDiversityMetric
{
diff --git a/src/Microsoft.ML.Ensemble/Selector/DiversityMeasure/MultiDisagreementDiversityMeasure.cs b/src/Microsoft.ML.Ensemble/Selector/DiversityMeasure/MultiDisagreementDiversityMeasure.cs
index 424e2a328d..1645ae9a8a 100644
--- a/src/Microsoft.ML.Ensemble/Selector/DiversityMeasure/MultiDisagreementDiversityMeasure.cs
+++ b/src/Microsoft.ML.Ensemble/Selector/DiversityMeasure/MultiDisagreementDiversityMeasure.cs
@@ -3,16 +3,16 @@
// See the LICENSE file in the project root for more information.
using System;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Ensemble.Selector;
-using Microsoft.ML.Runtime.Ensemble.Selector.DiversityMeasure;
-using Microsoft.ML.Runtime.Numeric;
+using Microsoft.ML;
+using Microsoft.ML.Data;
+using Microsoft.ML.Ensemble.Selector;
+using Microsoft.ML.Ensemble.Selector.DiversityMeasure;
+using Microsoft.ML.Numeric;
[assembly: LoadableClass(typeof(MultiDisagreementDiversityMeasure), null, typeof(SignatureEnsembleDiversityMeasure),
DisagreementDiversityMeasure.UserName, MultiDisagreementDiversityMeasure.LoadName)]
-namespace Microsoft.ML.Runtime.Ensemble.Selector.DiversityMeasure
+namespace Microsoft.ML.Ensemble.Selector.DiversityMeasure
{
public class MultiDisagreementDiversityMeasure : BaseDisagreementDiversityMeasure>, IMulticlassDiversityMeasure
{
diff --git a/src/Microsoft.ML.Ensemble/Selector/DiversityMeasure/RegressionDisagreementDiversityMeasure.cs b/src/Microsoft.ML.Ensemble/Selector/DiversityMeasure/RegressionDisagreementDiversityMeasure.cs
index 68f882d19c..67b9eb0d21 100644
--- a/src/Microsoft.ML.Ensemble/Selector/DiversityMeasure/RegressionDisagreementDiversityMeasure.cs
+++ b/src/Microsoft.ML.Ensemble/Selector/DiversityMeasure/RegressionDisagreementDiversityMeasure.cs
@@ -3,14 +3,14 @@
// See the LICENSE file in the project root for more information.
using System;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Ensemble.Selector;
-using Microsoft.ML.Runtime.Ensemble.Selector.DiversityMeasure;
+using Microsoft.ML;
+using Microsoft.ML.Ensemble.Selector;
+using Microsoft.ML.Ensemble.Selector.DiversityMeasure;
[assembly: LoadableClass(typeof(RegressionDisagreementDiversityMeasure), null, typeof(SignatureEnsembleDiversityMeasure),
DisagreementDiversityMeasure.UserName, RegressionDisagreementDiversityMeasure.LoadName)]
-namespace Microsoft.ML.Runtime.Ensemble.Selector.DiversityMeasure
+namespace Microsoft.ML.Ensemble.Selector.DiversityMeasure
{
public class RegressionDisagreementDiversityMeasure : BaseDisagreementDiversityMeasure, IRegressionDiversityMeasure
{
diff --git a/src/Microsoft.ML.Ensemble/Selector/FeatureSelector/AllFeatureSelector.cs b/src/Microsoft.ML.Ensemble/Selector/FeatureSelector/AllFeatureSelector.cs
index 3ce4cb1955..acfed82802 100644
--- a/src/Microsoft.ML.Ensemble/Selector/FeatureSelector/AllFeatureSelector.cs
+++ b/src/Microsoft.ML.Ensemble/Selector/FeatureSelector/AllFeatureSelector.cs
@@ -2,16 +2,16 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Ensemble.Selector;
-using Microsoft.ML.Runtime.Ensemble.Selector.FeatureSelector;
+using Microsoft.ML;
+using Microsoft.ML.Data;
+using Microsoft.ML.Ensemble.Selector;
+using Microsoft.ML.Ensemble.Selector.FeatureSelector;
using System;
[assembly: LoadableClass(typeof(AllFeatureSelector), null, typeof(SignatureEnsembleFeatureSelector),
AllFeatureSelector.UserName, AllFeatureSelector.LoadName)]
-namespace Microsoft.ML.Runtime.Ensemble.Selector.FeatureSelector
+namespace Microsoft.ML.Ensemble.Selector.FeatureSelector
{
internal sealed class AllFeatureSelector : IFeatureSelector
{
diff --git a/src/Microsoft.ML.Ensemble/Selector/FeatureSelector/RandomFeatureSelector.cs b/src/Microsoft.ML.Ensemble/Selector/FeatureSelector/RandomFeatureSelector.cs
index c9b4890512..e28911c981 100644
--- a/src/Microsoft.ML.Ensemble/Selector/FeatureSelector/RandomFeatureSelector.cs
+++ b/src/Microsoft.ML.Ensemble/Selector/FeatureSelector/RandomFeatureSelector.cs
@@ -4,18 +4,18 @@
using System;
using System.Collections;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Ensemble.Selector;
-using Microsoft.ML.Runtime.Ensemble.Selector.FeatureSelector;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Training;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Data;
+using Microsoft.ML.Ensemble.Selector;
+using Microsoft.ML.Ensemble.Selector.FeatureSelector;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Training;
[assembly: LoadableClass(typeof(RandomFeatureSelector), typeof(RandomFeatureSelector.Arguments),
typeof(SignatureEnsembleFeatureSelector), RandomFeatureSelector.UserName, RandomFeatureSelector.LoadName)]
-namespace Microsoft.ML.Runtime.Ensemble.Selector.FeatureSelector
+namespace Microsoft.ML.Ensemble.Selector.FeatureSelector
{
internal class RandomFeatureSelector : IFeatureSelector
{
diff --git a/src/Microsoft.ML.Ensemble/Selector/IDiversityMeasure.cs b/src/Microsoft.ML.Ensemble/Selector/IDiversityMeasure.cs
index 01589c4714..4209761c94 100644
--- a/src/Microsoft.ML.Ensemble/Selector/IDiversityMeasure.cs
+++ b/src/Microsoft.ML.Ensemble/Selector/IDiversityMeasure.cs
@@ -5,11 +5,11 @@
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Ensemble.Selector.DiversityMeasure;
-using Microsoft.ML.Runtime.EntryPoints;
+using Microsoft.ML.Data;
+using Microsoft.ML.Ensemble.Selector.DiversityMeasure;
+using Microsoft.ML.EntryPoints;
-namespace Microsoft.ML.Runtime.Ensemble.Selector
+namespace Microsoft.ML.Ensemble.Selector
{
public interface IDiversityMeasure
{
diff --git a/src/Microsoft.ML.Ensemble/Selector/IFeatureSelector.cs b/src/Microsoft.ML.Ensemble/Selector/IFeatureSelector.cs
index 90aa692391..3bbaa1cf86 100644
--- a/src/Microsoft.ML.Ensemble/Selector/IFeatureSelector.cs
+++ b/src/Microsoft.ML.Ensemble/Selector/IFeatureSelector.cs
@@ -2,11 +2,11 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.EntryPoints;
+using Microsoft.ML.Data;
+using Microsoft.ML.EntryPoints;
using System;
-namespace Microsoft.ML.Runtime.Ensemble.Selector
+namespace Microsoft.ML.Ensemble.Selector
{
internal interface IFeatureSelector
{
diff --git a/src/Microsoft.ML.Ensemble/Selector/ISubModelSelector.cs b/src/Microsoft.ML.Ensemble/Selector/ISubModelSelector.cs
index 33e5da6d7f..3454e37562 100644
--- a/src/Microsoft.ML.Ensemble/Selector/ISubModelSelector.cs
+++ b/src/Microsoft.ML.Ensemble/Selector/ISubModelSelector.cs
@@ -2,12 +2,12 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.EntryPoints;
+using Microsoft.ML.Data;
+using Microsoft.ML.EntryPoints;
using System;
using System.Collections.Generic;
-namespace Microsoft.ML.Runtime.Ensemble.Selector
+namespace Microsoft.ML.Ensemble.Selector
{
internal interface ISubModelSelector
{
diff --git a/src/Microsoft.ML.Ensemble/Selector/ISubsetSelector.cs b/src/Microsoft.ML.Ensemble/Selector/ISubsetSelector.cs
index 983f094c34..6ba7002508 100644
--- a/src/Microsoft.ML.Ensemble/Selector/ISubsetSelector.cs
+++ b/src/Microsoft.ML.Ensemble/Selector/ISubsetSelector.cs
@@ -4,10 +4,10 @@
using System;
using System.Collections.Generic;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.EntryPoints;
+using Microsoft.ML.Data;
+using Microsoft.ML.EntryPoints;
-namespace Microsoft.ML.Runtime.Ensemble.Selector
+namespace Microsoft.ML.Ensemble.Selector
{
internal interface ISubsetSelector
{
diff --git a/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/AllSelector.cs b/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/AllSelector.cs
index 9c6f9e6691..f88df3bfee 100644
--- a/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/AllSelector.cs
+++ b/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/AllSelector.cs
@@ -3,13 +3,13 @@
// See the LICENSE file in the project root for more information.
using System;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Ensemble.Selector;
-using Microsoft.ML.Runtime.Ensemble.Selector.SubModelSelector;
+using Microsoft.ML;
+using Microsoft.ML.Ensemble.Selector;
+using Microsoft.ML.Ensemble.Selector.SubModelSelector;
[assembly: LoadableClass(typeof(AllSelector), null, typeof(SignatureEnsembleSubModelSelector), AllSelector.UserName, AllSelector.LoadName)]
-namespace Microsoft.ML.Runtime.Ensemble.Selector.SubModelSelector
+namespace Microsoft.ML.Ensemble.Selector.SubModelSelector
{
internal sealed class AllSelector : BaseSubModelSelector, IBinarySubModelSelector, IRegressionSubModelSelector
{
diff --git a/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/AllSelectorMultiClass.cs b/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/AllSelectorMultiClass.cs
index 2c674b8842..2158b05733 100644
--- a/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/AllSelectorMultiClass.cs
+++ b/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/AllSelectorMultiClass.cs
@@ -3,15 +3,15 @@
// See the LICENSE file in the project root for more information.
using System;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Ensemble.Selector;
-using Microsoft.ML.Runtime.Ensemble.Selector.SubModelSelector;
+using Microsoft.ML;
+using Microsoft.ML.Data;
+using Microsoft.ML.Ensemble.Selector;
+using Microsoft.ML.Ensemble.Selector.SubModelSelector;
[assembly: LoadableClass(typeof(AllSelectorMultiClass), null, typeof(SignatureEnsembleSubModelSelector),
AllSelectorMultiClass.UserName, AllSelectorMultiClass.LoadName)]
-namespace Microsoft.ML.Runtime.Ensemble.Selector.SubModelSelector
+namespace Microsoft.ML.Ensemble.Selector.SubModelSelector
{
internal sealed class AllSelectorMultiClass : BaseSubModelSelector>, IMulticlassSubModelSelector
{
diff --git a/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/BaseBestPerformanceSelector.cs b/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/BaseBestPerformanceSelector.cs
index f4062787e2..cc6292e9b2 100644
--- a/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/BaseBestPerformanceSelector.cs
+++ b/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/BaseBestPerformanceSelector.cs
@@ -6,9 +6,9 @@
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
-using Microsoft.ML.Runtime.CommandLine;
+using Microsoft.ML.CommandLine;
-namespace Microsoft.ML.Runtime.Ensemble.Selector.SubModelSelector
+namespace Microsoft.ML.Ensemble.Selector.SubModelSelector
{
internal abstract class BaseBestPerformanceSelector : SubModelDataSelector
{
diff --git a/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/BaseDiverseSelector.cs b/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/BaseDiverseSelector.cs
index 0b72b16637..6d84c51bbc 100644
--- a/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/BaseDiverseSelector.cs
+++ b/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/BaseDiverseSelector.cs
@@ -5,13 +5,13 @@
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Ensemble.Selector.DiversityMeasure;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Internal.Utilities;
-using Microsoft.ML.Runtime.Training;
+using Microsoft.ML.Data;
+using Microsoft.ML.Ensemble.Selector.DiversityMeasure;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Internal.Utilities;
+using Microsoft.ML.Training;
-namespace Microsoft.ML.Runtime.Ensemble.Selector.SubModelSelector
+namespace Microsoft.ML.Ensemble.Selector.SubModelSelector
{
internal abstract class BaseDiverseSelector : SubModelDataSelector
where TDiversityMetric : class, IDiversityMeasure
diff --git a/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/BaseSubModelSelector.cs b/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/BaseSubModelSelector.cs
index 32fe976551..e4df5351da 100644
--- a/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/BaseSubModelSelector.cs
+++ b/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/BaseSubModelSelector.cs
@@ -6,10 +6,8 @@
using System.Collections.Generic;
using System.Linq;
using Microsoft.ML.Data;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-namespace Microsoft.ML.Runtime.Ensemble.Selector.SubModelSelector
+namespace Microsoft.ML.Ensemble.Selector.SubModelSelector
{
internal abstract class BaseSubModelSelector : ISubModelSelector
{
diff --git a/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/BestDiverseSelectorBinary.cs b/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/BestDiverseSelectorBinary.cs
index 9ef2861d33..178c08cb02 100644
--- a/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/BestDiverseSelectorBinary.cs
+++ b/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/BestDiverseSelectorBinary.cs
@@ -6,18 +6,18 @@
using System.Collections.Concurrent;
using System.Collections.Generic;
using Microsoft.ML.Ensemble.EntryPoints;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Ensemble.Selector;
-using Microsoft.ML.Runtime.Ensemble.Selector.DiversityMeasure;
-using Microsoft.ML.Runtime.Ensemble.Selector.SubModelSelector;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Internal.Internallearn;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Ensemble.Selector;
+using Microsoft.ML.Ensemble.Selector.DiversityMeasure;
+using Microsoft.ML.Ensemble.Selector.SubModelSelector;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Internal.Internallearn;
[assembly: LoadableClass(typeof(BestDiverseSelectorBinary), typeof(BestDiverseSelectorBinary.Arguments),
typeof(SignatureEnsembleSubModelSelector), BestDiverseSelectorBinary.UserName, BestDiverseSelectorBinary.LoadName)]
-namespace Microsoft.ML.Runtime.Ensemble.Selector.SubModelSelector
+namespace Microsoft.ML.Ensemble.Selector.SubModelSelector
{
using TScalarPredictor = IPredictorProducing;
diff --git a/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/BestDiverseSelectorMultiClass.cs b/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/BestDiverseSelectorMultiClass.cs
index a5a0864338..ae5ea2101f 100644
--- a/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/BestDiverseSelectorMultiClass.cs
+++ b/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/BestDiverseSelectorMultiClass.cs
@@ -6,19 +6,19 @@
using System.Collections.Concurrent;
using System.Collections.Generic;
using Microsoft.ML.Ensemble.EntryPoints;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Ensemble.Selector;
-using Microsoft.ML.Runtime.Ensemble.Selector.DiversityMeasure;
-using Microsoft.ML.Runtime.Ensemble.Selector.SubModelSelector;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Internal.Internallearn;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Data;
+using Microsoft.ML.Ensemble.Selector;
+using Microsoft.ML.Ensemble.Selector.DiversityMeasure;
+using Microsoft.ML.Ensemble.Selector.SubModelSelector;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Internal.Internallearn;
[assembly: LoadableClass(typeof(BestDiverseSelectorMultiClass), typeof(BestDiverseSelectorMultiClass.Arguments),
typeof(SignatureEnsembleSubModelSelector), BestDiverseSelectorMultiClass.UserName, BestDiverseSelectorMultiClass.LoadName)]
-namespace Microsoft.ML.Runtime.Ensemble.Selector.SubModelSelector
+namespace Microsoft.ML.Ensemble.Selector.SubModelSelector
{
using TVectorPredictor = IPredictorProducing>;
diff --git a/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/BestDiverseSelectorRegression.cs b/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/BestDiverseSelectorRegression.cs
index f4e717d73c..8700133895 100644
--- a/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/BestDiverseSelectorRegression.cs
+++ b/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/BestDiverseSelectorRegression.cs
@@ -6,18 +6,18 @@
using System.Collections.Concurrent;
using System.Collections.Generic;
using Microsoft.ML.Ensemble.EntryPoints;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Ensemble.Selector;
-using Microsoft.ML.Runtime.Ensemble.Selector.DiversityMeasure;
-using Microsoft.ML.Runtime.Ensemble.Selector.SubModelSelector;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Internal.Internallearn;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Ensemble.Selector;
+using Microsoft.ML.Ensemble.Selector.DiversityMeasure;
+using Microsoft.ML.Ensemble.Selector.SubModelSelector;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Internal.Internallearn;
[assembly: LoadableClass(typeof(BestDiverseSelectorRegression), typeof(BestDiverseSelectorRegression.Arguments),
typeof(SignatureEnsembleSubModelSelector), BestDiverseSelectorRegression.UserName, BestDiverseSelectorRegression.LoadName)]
-namespace Microsoft.ML.Runtime.Ensemble.Selector.SubModelSelector
+namespace Microsoft.ML.Ensemble.Selector.SubModelSelector
{
using TScalarPredictor = IPredictorProducing;
diff --git a/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/BestPerformanceRegressionSelector.cs b/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/BestPerformanceRegressionSelector.cs
index 0ad0e1024c..be7b7e8f35 100644
--- a/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/BestPerformanceRegressionSelector.cs
+++ b/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/BestPerformanceRegressionSelector.cs
@@ -3,18 +3,18 @@
// See the LICENSE file in the project root for more information.
using System;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Ensemble.Selector;
-using Microsoft.ML.Runtime.Ensemble.Selector.SubModelSelector;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Internal.Internallearn;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Data;
+using Microsoft.ML.Ensemble.Selector;
+using Microsoft.ML.Ensemble.Selector.SubModelSelector;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Internal.Internallearn;
[assembly: LoadableClass(typeof(BestPerformanceRegressionSelector), typeof(BestPerformanceRegressionSelector.Arguments),
typeof(SignatureEnsembleSubModelSelector), BestPerformanceRegressionSelector.UserName, BestPerformanceRegressionSelector.LoadName)]
-namespace Microsoft.ML.Runtime.Ensemble.Selector.SubModelSelector
+namespace Microsoft.ML.Ensemble.Selector.SubModelSelector
{
internal sealed class BestPerformanceRegressionSelector : BaseBestPerformanceSelector, IRegressionSubModelSelector
{
diff --git a/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/BestPerformanceSelector.cs b/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/BestPerformanceSelector.cs
index 84f00e0958..9b24798276 100644
--- a/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/BestPerformanceSelector.cs
+++ b/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/BestPerformanceSelector.cs
@@ -3,18 +3,18 @@
// See the LICENSE file in the project root for more information.
using System;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Ensemble.Selector;
-using Microsoft.ML.Runtime.Ensemble.Selector.SubModelSelector;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Internal.Internallearn;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Data;
+using Microsoft.ML.Ensemble.Selector;
+using Microsoft.ML.Ensemble.Selector.SubModelSelector;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Internal.Internallearn;
[assembly: LoadableClass(typeof(BestPerformanceSelector), typeof(BestPerformanceSelector.Arguments),
typeof(SignatureEnsembleSubModelSelector), BestPerformanceSelector.UserName, BestPerformanceSelector.LoadName)]
-namespace Microsoft.ML.Runtime.Ensemble.Selector.SubModelSelector
+namespace Microsoft.ML.Ensemble.Selector.SubModelSelector
{
internal sealed class BestPerformanceSelector : BaseBestPerformanceSelector, IBinarySubModelSelector
{
diff --git a/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/BestPerformanceSelectorMultiClass.cs b/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/BestPerformanceSelectorMultiClass.cs
index 6e3414d945..36f9635c87 100644
--- a/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/BestPerformanceSelectorMultiClass.cs
+++ b/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/BestPerformanceSelectorMultiClass.cs
@@ -3,18 +3,18 @@
// See the LICENSE file in the project root for more information.
using System;
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Ensemble.Selector;
-using Microsoft.ML.Runtime.Ensemble.Selector.SubModelSelector;
-using Microsoft.ML.Runtime.EntryPoints;
-using Microsoft.ML.Runtime.Internal.Internallearn;
+using Microsoft.ML;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Data;
+using Microsoft.ML.Ensemble.Selector;
+using Microsoft.ML.Ensemble.Selector.SubModelSelector;
+using Microsoft.ML.EntryPoints;
+using Microsoft.ML.Internal.Internallearn;
[assembly: LoadableClass(typeof(BestPerformanceSelectorMultiClass), typeof(BestPerformanceSelectorMultiClass.Arguments),
typeof(SignatureEnsembleSubModelSelector), BestPerformanceSelectorMultiClass.UserName, BestPerformanceSelectorMultiClass.LoadName)]
-namespace Microsoft.ML.Runtime.Ensemble.Selector.SubModelSelector
+namespace Microsoft.ML.Ensemble.Selector.SubModelSelector
{
internal sealed class BestPerformanceSelectorMultiClass : BaseBestPerformanceSelector>, IMulticlassSubModelSelector
{
diff --git a/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/SubModelDataSelector.cs b/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/SubModelDataSelector.cs
index 0bd623174f..0ba6497f25 100644
--- a/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/SubModelDataSelector.cs
+++ b/src/Microsoft.ML.Ensemble/Selector/SubModelSelector/SubModelDataSelector.cs
@@ -3,10 +3,10 @@
// See the LICENSE file in the project root for more information.
using System;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Internal.Internallearn;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Internal.Internallearn;
-namespace Microsoft.ML.Runtime.Ensemble.Selector.SubModelSelector
+namespace Microsoft.ML.Ensemble.Selector.SubModelSelector
{
internal abstract class SubModelDataSelector : BaseSubModelSelector
{
diff --git a/src/Microsoft.ML.Ensemble/Selector/SubsetSelector/AllInstanceSelector.cs b/src/Microsoft.ML.Ensemble/Selector/SubsetSelector/AllInstanceSelector.cs
index c56b6dc9e8..fa1d1b536e 100644
--- a/src/Microsoft.ML.Ensemble/Selector/SubsetSelector/AllInstanceSelector.cs
+++ b/src/Microsoft.ML.Ensemble/Selector/SubsetSelector/AllInstanceSelector.cs
@@ -2,10 +2,10 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Ensemble.Selector;
-using Microsoft.ML.Runtime.Ensemble.Selector.SubsetSelector;
-using Microsoft.ML.Runtime.EntryPoints;
+using Microsoft.ML;
+using Microsoft.ML.Ensemble.Selector;
+using Microsoft.ML.Ensemble.Selector.SubsetSelector;
+using Microsoft.ML.EntryPoints;
using System;
using System.Collections.Generic;
@@ -14,7 +14,7 @@
[assembly: EntryPointModule(typeof(AllInstanceSelector))]
-namespace Microsoft.ML.Runtime.Ensemble.Selector.SubsetSelector
+namespace Microsoft.ML.Ensemble.Selector.SubsetSelector
{
internal sealed class AllInstanceSelector : BaseSubsetSelector
{
diff --git a/src/Microsoft.ML.Ensemble/Selector/SubsetSelector/BaseSubsetSelector.cs b/src/Microsoft.ML.Ensemble/Selector/SubsetSelector/BaseSubsetSelector.cs
index f3d26e646c..509770bfd3 100644
--- a/src/Microsoft.ML.Ensemble/Selector/SubsetSelector/BaseSubsetSelector.cs
+++ b/src/Microsoft.ML.Ensemble/Selector/SubsetSelector/BaseSubsetSelector.cs
@@ -3,13 +3,13 @@
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Ensemble.EntryPoints;
-using Microsoft.ML.Runtime.CommandLine;
-using Microsoft.ML.Runtime.Data;
+using Microsoft.ML.CommandLine;
+using Microsoft.ML.Data;
using Microsoft.ML.Transforms;
using System;
using System.Collections.Generic;
-namespace Microsoft.ML.Runtime.Ensemble.Selector.SubsetSelector
+namespace Microsoft.ML.Ensemble.Selector.SubsetSelector
{
internal abstract class BaseSubsetSelector : ISubsetSelector
where TArgs : BaseSubsetSelector.ArgumentsBase
diff --git a/src/Microsoft.ML.Ensemble/Selector/SubsetSelector/BootstrapSelector.cs b/src/Microsoft.ML.Ensemble/Selector/SubsetSelector/BootstrapSelector.cs
index c6020bbf8c..2bb1da56e6 100644
--- a/src/Microsoft.ML.Ensemble/Selector/SubsetSelector/BootstrapSelector.cs
+++ b/src/Microsoft.ML.Ensemble/Selector/SubsetSelector/BootstrapSelector.cs
@@ -2,11 +2,11 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Ensemble.Selector;
-using Microsoft.ML.Runtime.Ensemble.Selector.SubsetSelector;
-using Microsoft.ML.Runtime.EntryPoints;
+using Microsoft.ML;
+using Microsoft.ML.Data;
+using Microsoft.ML.Ensemble.Selector;
+using Microsoft.ML.Ensemble.Selector.SubsetSelector;
+using Microsoft.ML.EntryPoints;
using Microsoft.ML.Transforms;
using System;
using System.Collections.Generic;
@@ -16,7 +16,7 @@
[assembly: EntryPointModule(typeof(BootstrapSelector))]
-namespace Microsoft.ML.Runtime.Ensemble.Selector.SubsetSelector
+namespace Microsoft.ML.Ensemble.Selector.SubsetSelector
{
internal sealed class BootstrapSelector : BaseSubsetSelector
{
diff --git a/src/Microsoft.ML.Ensemble/Selector/SubsetSelector/RandomPartitionSelector.cs b/src/Microsoft.ML.Ensemble/Selector/SubsetSelector/RandomPartitionSelector.cs
index 81a8ec927f..453b6abf1d 100644
--- a/src/Microsoft.ML.Ensemble/Selector/SubsetSelector/RandomPartitionSelector.cs
+++ b/src/Microsoft.ML.Ensemble/Selector/SubsetSelector/RandomPartitionSelector.cs
@@ -2,11 +2,11 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.ML.Runtime;
-using Microsoft.ML.Runtime.Data;
-using Microsoft.ML.Runtime.Ensemble.Selector;
-using Microsoft.ML.Runtime.Ensemble.Selector.SubsetSelector;
-using Microsoft.ML.Runtime.EntryPoints;
+using Microsoft.ML;
+using Microsoft.ML.Data;
+using Microsoft.ML.Ensemble.Selector;
+using Microsoft.ML.Ensemble.Selector.SubsetSelector;
+using Microsoft.ML.EntryPoints;
using Microsoft.ML.Transforms;
using System;
using System.Collections.Generic;
@@ -16,7 +16,7 @@
[assembly: EntryPointModule(typeof(RandomPartitionSelector))]
-namespace Microsoft.ML.Runtime.Ensemble.Selector.SubsetSelector
+namespace Microsoft.ML.Ensemble.Selector.SubsetSelector
{
internal sealed class RandomPartitionSelector : BaseSubsetSelector