Skip to content

Commit b0baf12

Browse files
authored
transform and trainer namespaces don't need to follow the catalogs (#2755)
* folding: Microsoft.Ml.Transforms.Normalizers Microsoft.Ml.Transforms.Categoricals Microsoft.Ml.Transforms.Conversions Microsoft.Ml.Transforms.Projections into Microsoft.Ml.Transforms * folding: Microsoft.ML.Trainers.KMeans Microsoft.ML.Trainers.PCA Microsoft.ML.Trainers.OnlineLearners Microsoft.ML.Trainers.FactorizationMachine into Microsoft.ML.Trainers * regenerating the catalog * rebase, than regenerate the catalog.
1 parent d4f2dcf commit b0baf12

File tree

137 files changed

+152
-245
lines changed

Some content is hidden

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

137 files changed

+152
-245
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System;
22
using System.Collections.Generic;
33
using Microsoft.ML.Data;
4-
using Microsoft.ML.Transforms.Conversions;
4+
using Microsoft.ML.Transforms;
55

66
namespace Microsoft.ML.Samples.Dynamic
77
{

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using System.Collections.Generic;
33
using System.Linq;
44
using Microsoft.ML.Data;
5-
using Microsoft.ML.Transforms.Normalizers;
5+
using Microsoft.ML.Transforms;
66

77
namespace Microsoft.ML.Samples.Dynamic
88
{

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public static void Example()
5555
//0.165 0.117 -0.547 0.014
5656

5757
// A pipeline to project Features column into L-p normalized vector.
58-
var lpNormalizePipeline = ml.Transforms.Projection.LpNormalize(nameof(SamplesUtils.DatasetUtils.SampleVectorOfNumbersData.Features), normKind: Transforms.Projections.LpNormalizingEstimatorBase.NormalizerKind.L1Norm);
58+
var lpNormalizePipeline = ml.Transforms.Projection.LpNormalize(nameof(SamplesUtils.DatasetUtils.SampleVectorOfNumbersData.Features), normKind: Transforms.LpNormalizingEstimatorBase.NormalizerKind.L1Norm);
5959
// The transformed (projected) data.
6060
transformedData = lpNormalizePipeline.Fit(trainData).Transform(trainData);
6161
// Getting the data of the newly created column, so we can preview it.

docs/samples/Microsoft.ML.Samples/Dynamic/Trainers/BinaryClassification/AveragedPerceptronWithOptions.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
using Microsoft.ML;
2-
using Microsoft.ML.Trainers.Online;
1+
using Microsoft.ML.Trainers;
32

43
namespace Microsoft.ML.Samples.Dynamic.Trainers.BinaryClassification
54
{

docs/samples/Microsoft.ML.Samples/Dynamic/Trainers/BinaryClassification/FieldAwareFactorizationMachinewWithOptions.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System;
22
using System.Linq;
33
using Microsoft.ML.Data;
4-
using Microsoft.ML.Trainers.FactorizationMachine;
4+
using Microsoft.ML.Trainers;
55

66
namespace Microsoft.ML.Samples.Dynamic
77
{

docs/samples/Microsoft.ML.Samples/Dynamic/Trainers/BinaryClassification/LightGbm.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using Microsoft.ML.Transforms.Categorical;
1+
using Microsoft.ML.Transforms;
22

33
namespace Microsoft.ML.Samples.Dynamic.Trainers.BinaryClassification
44
{

docs/samples/Microsoft.ML.Samples/Dynamic/Transforms/Projection/VectorWhiten.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public static void Example()
4141

4242
// A pipeline to project Features column into white noise vector.
4343
var whiteningPipeline = ml.Transforms.Projection.VectorWhiten(nameof(SamplesUtils.DatasetUtils.SampleVectorOfNumbersData.Features),
44-
kind: Transforms.Projections.WhiteningKind.Zca);
44+
kind: Transforms.WhiteningKind.Zca);
4545
// The transformed (projected) data.
4646
var transformedData = whiteningPipeline.Fit(trainData).Transform(trainData);
4747
// Getting the data of the newly created column, so we can preview it.

docs/samples/Microsoft.ML.Samples/Dynamic/Transforms/Projection/VectorWhitenWithColumnOptions.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ public static void Example()
3939

4040

4141
// A pipeline to project Features column into white noise vector.
42-
var whiteningPipeline = ml.Transforms.Projection.VectorWhiten(new Transforms.Projections.VectorWhiteningEstimator.ColumnOptions(
43-
nameof(SamplesUtils.DatasetUtils.SampleVectorOfNumbersData.Features), kind: Transforms.Projections.WhiteningKind.Pca, pcaNum: 4));
42+
var whiteningPipeline = ml.Transforms.Projection.VectorWhiten(new Transforms.VectorWhiteningEstimator.ColumnOptions(
43+
nameof(SamplesUtils.DatasetUtils.SampleVectorOfNumbersData.Features), kind: Transforms.WhiteningKind.Pca, pcaNum: 4));
4444
// The transformed (projected) data.
4545
var transformedData = whiteningPipeline.Fit(trainData).Transform(trainData);
4646
// Getting the data of the newly created column, so we can preview it.

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

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
using System;
22
using System.Collections.Generic;
33
using Microsoft.Data.DataView;
4-
using Microsoft.ML.Data;
5-
using Microsoft.ML.Transforms.Conversions;
64

75
namespace Microsoft.ML.Samples.Dynamic
86
{

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

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
using System;
22
using System.Collections.Generic;
33
using Microsoft.Data.DataView;
4-
using Microsoft.ML.Data;
5-
using Microsoft.ML.Transforms.Conversions;
64

75
namespace Microsoft.ML.Samples.Dynamic
86
{

src/Microsoft.ML.Data/Commands/CrossValidationCommand.cs

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
using Microsoft.ML.Data;
1616
using Microsoft.ML.Internal.Utilities;
1717
using Microsoft.ML.Transforms;
18-
using Microsoft.ML.Transforms.Conversions;
1918

2019
[assembly: LoadableClass(typeof(CrossValidationCommand), typeof(CrossValidationCommand.Arguments), typeof(SignatureCommand),
2120
"Cross Validation", CrossValidationCommand.LoadName)]

src/Microsoft.ML.Data/Commands/TrainCommand.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
using Microsoft.ML.Data.IO;
1616
using Microsoft.ML.Internal.Utilities;
1717
using Microsoft.ML.Model;
18-
using Microsoft.ML.Transforms.Normalizers;
18+
using Microsoft.ML.Transforms;
1919

2020
[assembly: LoadableClass(TrainCommand.Summary, typeof(TrainCommand), typeof(TrainCommand.Arguments), typeof(SignatureCommand),
2121
"Train Predictor", "Train")]

src/Microsoft.ML.Data/Evaluators/ClusteringEvaluator.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,8 @@
1111
using Microsoft.ML.Data;
1212
using Microsoft.ML.EntryPoints;
1313
using Microsoft.ML.Internal.Utilities;
14-
using Microsoft.ML.Model;
1514
using Microsoft.ML.Numeric;
16-
using Microsoft.ML.Transforms.FeatureSelection;
15+
using Microsoft.ML.Transforms;
1716

1817
[assembly: LoadableClass(typeof(ClusteringEvaluator), typeof(ClusteringEvaluator), typeof(ClusteringEvaluator.Arguments), typeof(SignatureEvaluator),
1918
"Clustering Evaluator", ClusteringEvaluator.LoadName, "Clustering")]

src/Microsoft.ML.Data/Evaluators/EvaluatorUtils.cs

-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
using Microsoft.ML.Data.IO;
1313
using Microsoft.ML.Internal.Utilities;
1414
using Microsoft.ML.Transforms;
15-
using Microsoft.ML.Transforms.Conversions;
1615

1716
namespace Microsoft.ML.Data
1817
{

src/Microsoft.ML.Data/Evaluators/MultiClassClassifierEvaluator.cs

-2
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@
1212
using Microsoft.ML.Data;
1313
using Microsoft.ML.EntryPoints;
1414
using Microsoft.ML.Internal.Utilities;
15-
using Microsoft.ML.Model;
1615
using Microsoft.ML.Transforms;
17-
using Microsoft.ML.Transforms.FeatureSelection;
1816

1917
[assembly: LoadableClass(typeof(MultiClassClassifierEvaluator), typeof(MultiClassClassifierEvaluator), typeof(MultiClassClassifierEvaluator.Arguments), typeof(SignatureEvaluator),
2018
"Multi-Class Classifier Evaluator", MultiClassClassifierEvaluator.LoadName, "MultiClassClassifier", "MultiClass")]

src/Microsoft.ML.Data/TrainCatalog.cs

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
using Microsoft.Data.DataView;
88
using Microsoft.ML.Data;
99
using Microsoft.ML.Transforms;
10-
using Microsoft.ML.Transforms.Conversions;
1110

1211
namespace Microsoft.ML
1312
{

src/Microsoft.ML.Data/Transforms/ColumnBindingsBase.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
using Microsoft.Data.DataView;
1111
using Microsoft.ML.CommandLine;
1212
using Microsoft.ML.Internal.Utilities;
13-
using Microsoft.ML.Transforms.Conversions;
13+
using Microsoft.ML.Transforms;
1414

1515
namespace Microsoft.ML.Data
1616
{

src/Microsoft.ML.Data/Transforms/ConversionsExtensionsCatalog.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using System.Collections.Generic;
66
using Microsoft.Data.DataView;
77
using Microsoft.ML.Data;
8-
using Microsoft.ML.Transforms.Conversions;
8+
using Microsoft.ML.Transforms;
99

1010
namespace Microsoft.ML
1111
{

src/Microsoft.ML.Data/Transforms/ExplainabilityCatalog.cs

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
using Microsoft.ML.Data;
66
using Microsoft.ML.Model;
7+
using Microsoft.ML.Transforms;
78

89
namespace Microsoft.ML
910
{

src/Microsoft.ML.Data/Transforms/FeatureContributionCalculationTransformer.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
using Microsoft.ML.CommandLine;
1111
using Microsoft.ML.Data;
1212
using Microsoft.ML.EntryPoints;
13-
using Microsoft.ML.Internal.Internallearn;
1413
using Microsoft.ML.Internal.Utilities;
1514
using Microsoft.ML.Model;
15+
using Microsoft.ML.Transforms;
1616

1717
[assembly: LoadableClass(FeatureContributionCalculatingTransformer.Summary, typeof(FeatureContributionCalculatingTransformer), null, typeof(SignatureLoadModel),
1818
FeatureContributionCalculatingTransformer.FriendlyName, FeatureContributionCalculatingTransformer.LoaderSignature)]
@@ -22,7 +22,7 @@
2222

2323
[assembly: LoadableClass(typeof(void), typeof(FeatureContributionEntryPoint), null, typeof(SignatureEntryPointModule), FeatureContributionCalculatingTransformer.LoaderSignature)]
2424

25-
namespace Microsoft.ML.Data
25+
namespace Microsoft.ML.Transforms
2626
{
2727
/// <summary>
2828
/// The FeatureContributionCalculationTransformer computes model-specific per-feature contributions to the score of each example.

src/Microsoft.ML.Data/Transforms/Hashing.cs

+2-3
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
using Microsoft.ML.CommandLine;
1313
using Microsoft.ML.Data;
1414
using Microsoft.ML.Internal.Utilities;
15-
using Microsoft.ML.Model;
16-
using Microsoft.ML.Transforms.Conversions;
15+
using Microsoft.ML.Transforms;
1716

1817
[assembly: LoadableClass(HashingTransformer.Summary, typeof(IDataTransform), typeof(HashingTransformer), typeof(HashingTransformer.Options), typeof(SignatureDataTransform),
1918
"Hash Transform", "HashTransform", "Hash", DocName = "transform/HashTransform.md")]
@@ -27,7 +26,7 @@
2726
[assembly: LoadableClass(typeof(IRowMapper), typeof(HashingTransformer), null, typeof(SignatureLoadRowMapper),
2827
"Hash Transform", HashingTransformer.LoaderSignature)]
2928

30-
namespace Microsoft.ML.Transforms.Conversions
29+
namespace Microsoft.ML.Transforms
3130
{
3231
/// <summary>
3332
/// This transformer can hash either single valued columns or vector columns. For vector columns,

src/Microsoft.ML.Data/Transforms/InvertHashUtils.cs

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
using Microsoft.Data.DataView;
1010
using Microsoft.ML.Data.IO;
1111
using Microsoft.ML.Internal.Utilities;
12-
using Microsoft.ML.Model;
1312

1413
namespace Microsoft.ML.Data
1514
{

src/Microsoft.ML.Data/Transforms/KeyToValue.cs

+2-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@
1313
using Microsoft.ML.Data;
1414
using Microsoft.ML.EntryPoints;
1515
using Microsoft.ML.Internal.Utilities;
16-
using Microsoft.ML.Model;
1716
using Microsoft.ML.Model.Pfa;
18-
using Microsoft.ML.Transforms.Conversions;
17+
using Microsoft.ML.Transforms;
1918
using Newtonsoft.Json.Linq;
2019

2120
[assembly: LoadableClass(typeof(IDataTransform), typeof(KeyToValueMappingTransformer), typeof(KeyToValueMappingTransformer.Options), typeof(SignatureDataTransform),
@@ -30,7 +29,7 @@
3029
[assembly: LoadableClass(typeof(IRowMapper), typeof(KeyToValueMappingTransformer), null, typeof(SignatureLoadRowMapper),
3130
KeyToValueMappingTransformer.UserName, KeyToValueMappingTransformer.LoaderSignature)]
3231

33-
namespace Microsoft.ML.Transforms.Conversions
32+
namespace Microsoft.ML.Transforms
3433
{
3534
/// <summary>
3635
/// KeyToValueTransform utilizes KeyValues metadata to map key indices to the corresponding values in the KeyValues metadata.

src/Microsoft.ML.Data/Transforms/KeyToVector.cs

+2-3
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@
1111
using Microsoft.ML.CommandLine;
1212
using Microsoft.ML.Data;
1313
using Microsoft.ML.Internal.Utilities;
14-
using Microsoft.ML.Model;
1514
using Microsoft.ML.Model.OnnxConverter;
1615
using Microsoft.ML.Model.Pfa;
17-
using Microsoft.ML.Transforms.Conversions;
16+
using Microsoft.ML.Transforms;
1817
using Newtonsoft.Json.Linq;
1918

2019
[assembly: LoadableClass(KeyToVectorMappingTransformer.Summary, typeof(IDataTransform), typeof(KeyToVectorMappingTransformer), typeof(KeyToVectorMappingTransformer.Options), typeof(SignatureDataTransform),
@@ -29,7 +28,7 @@
2928
[assembly: LoadableClass(typeof(IRowMapper), typeof(KeyToVectorMappingTransformer), null, typeof(SignatureLoadRowMapper),
3029
KeyToVectorMappingTransformer.UserName, KeyToVectorMappingTransformer.LoaderSignature)]
3130

32-
namespace Microsoft.ML.Transforms.Conversions
31+
namespace Microsoft.ML.Transforms
3332
{
3433
/// <summary>
3534
/// Converts the key types back to their original vectors.

src/Microsoft.ML.Data/Transforms/NormalizeColumn.cs

+2-3
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,9 @@
1313
using Microsoft.ML.Data;
1414
using Microsoft.ML.EntryPoints;
1515
using Microsoft.ML.Internal.Internallearn;
16-
using Microsoft.ML.Model;
1716
using Microsoft.ML.Model.OnnxConverter;
1817
using Microsoft.ML.Model.Pfa;
19-
using Microsoft.ML.Transforms.Normalizers;
18+
using Microsoft.ML.Transforms;
2019
using Newtonsoft.Json.Linq;
2120

2221
[assembly: LoadableClass(NormalizeTransform.MinMaxNormalizerSummary, typeof(IDataTransform), typeof(NormalizeTransform), typeof(NormalizeTransform.MinMaxArguments), typeof(SignatureDataTransform),
@@ -40,7 +39,7 @@
4039
[assembly: LoadableClass(NormalizeTransform.BinNormalizerSummary, typeof(NormalizeTransform.BinColumnFunction), null, typeof(SignatureLoadColumnFunction),
4140
"Bin Normalizer", NormalizeTransform.BinColumnFunction.LoaderSignature)]
4241

43-
namespace Microsoft.ML.Transforms.Normalizers
42+
namespace Microsoft.ML.Transforms
4443
{
4544
/// <summary>
4645
/// The normalize transform for support of normalization via the <see cref="IDataTransform"/> mechanism.

src/Microsoft.ML.Data/Transforms/NormalizeColumnDbl.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,11 @@
1010
using Microsoft.Data.DataView;
1111
using Microsoft.ML.Data;
1212
using Microsoft.ML.Internal.Utilities;
13-
using Microsoft.ML.Model;
1413
using Microsoft.ML.Model.OnnxConverter;
1514
using Microsoft.ML.Model.Pfa;
1615
using Newtonsoft.Json.Linq;
1716

18-
namespace Microsoft.ML.Transforms.Normalizers
17+
namespace Microsoft.ML.Transforms
1918
{
2019
// !!! WARNING !!!
2120
// This file contains the Double version for normalizers and is almost identical with NormalizeColumnSng.cs

src/Microsoft.ML.Data/Transforms/NormalizeColumnSng.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,11 @@
1010
using Microsoft.Data.DataView;
1111
using Microsoft.ML.Data;
1212
using Microsoft.ML.Internal.Utilities;
13-
using Microsoft.ML.Model;
1413
using Microsoft.ML.Model.OnnxConverter;
1514
using Microsoft.ML.Model.Pfa;
1615
using Newtonsoft.Json.Linq;
1716

18-
namespace Microsoft.ML.Transforms.Normalizers
17+
namespace Microsoft.ML.Transforms
1918
{
2019
// !!! WARNING !!!
2120
// This file contains the Single version for normalizers and is almost identical with NormalizeColumnDbl.cs

src/Microsoft.ML.Data/Transforms/NormalizeUtils.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@
88
using Microsoft.ML;
99
using Microsoft.ML.Data;
1010
using Microsoft.ML.EntryPoints;
11-
using Microsoft.ML.Model;
1211
using Microsoft.ML.Model.OnnxConverter;
1312
using Microsoft.ML.Model.Pfa;
14-
using Microsoft.ML.Transforms.Normalizers;
13+
using Microsoft.ML.Transforms;
1514
using Newtonsoft.Json.Linq;
1615

1716
[assembly: LoadableClass(typeof(void), typeof(Normalize), null, typeof(SignatureEntryPointModule), "Normalize")]

src/Microsoft.ML.Data/Transforms/Normalizer.cs

+2-3
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,9 @@
1010
using Microsoft.Data.DataView;
1111
using Microsoft.ML;
1212
using Microsoft.ML.Data;
13-
using Microsoft.ML.Model;
1413
using Microsoft.ML.Model.OnnxConverter;
1514
using Microsoft.ML.Model.Pfa;
16-
using Microsoft.ML.Transforms.Normalizers;
15+
using Microsoft.ML.Transforms;
1716
using Newtonsoft.Json.Linq;
1817

1918
[assembly: LoadableClass(typeof(NormalizingTransformer), null, typeof(SignatureLoadModel),
@@ -25,7 +24,7 @@
2524
[assembly: LoadableClass(typeof(IDataTransform), typeof(NormalizingTransformer), null, typeof(SignatureLoadDataTransform),
2625
"", NormalizingTransformer.LoaderSignature, "NormalizeTransform")]
2726

28-
namespace Microsoft.ML.Transforms.Normalizers
27+
namespace Microsoft.ML.Transforms
2928
{
3029
public sealed class NormalizingEstimator : IEstimator<NormalizingTransformer>
3130
{

src/Microsoft.ML.Data/Transforms/NormalizerCatalog.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// See the LICENSE file in the project root for more information.
44

55
using Microsoft.ML.Data;
6-
using Microsoft.ML.Transforms.Normalizers;
6+
using Microsoft.ML.Transforms;
77

88
namespace Microsoft.ML
99
{

src/Microsoft.ML.Data/Transforms/OneToOneTransformerBase.cs

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
using System;
66
using System.Collections.Generic;
77
using Microsoft.Data.DataView;
8-
using Microsoft.ML.Model;
98

109
namespace Microsoft.ML.Data
1110
{

src/Microsoft.ML.Data/Transforms/PerGroupTransformBase.cs

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
using System.Collections.Generic;
77
using System.Linq;
88
using Microsoft.Data.DataView;
9-
using Microsoft.ML.Model;
109

1110
namespace Microsoft.ML.Data
1211
{

src/Microsoft.ML.Data/Transforms/SlotsDroppingTransformer.cs

+2-3
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313
using Microsoft.ML.Data;
1414
using Microsoft.ML.Internal.Internallearn;
1515
using Microsoft.ML.Internal.Utilities;
16-
using Microsoft.ML.Model;
17-
using Microsoft.ML.Transforms.FeatureSelection;
16+
using Microsoft.ML.Transforms;
1817

1918
[assembly: LoadableClass(SlotsDroppingTransformer.Summary, typeof(IDataTransform), typeof(SlotsDroppingTransformer), typeof(SlotsDroppingTransformer.Options), typeof(SignatureDataTransform),
2019
SlotsDroppingTransformer.FriendlyName, SlotsDroppingTransformer.LoaderSignature, "DropSlots")]
@@ -28,7 +27,7 @@
2827
[assembly: LoadableClass(typeof(IRowMapper), typeof(SlotsDroppingTransformer), null, typeof(SignatureLoadRowMapper),
2928
SlotsDroppingTransformer.FriendlyName, SlotsDroppingTransformer.LoaderSignature)]
3029

31-
namespace Microsoft.ML.Transforms.FeatureSelection
30+
namespace Microsoft.ML.Transforms
3231
{
3332
/// <summary>
3433
/// Transform to drop slots from columns. If the column is scalar, the only slot that can be dropped is slot 0.

src/Microsoft.ML.Data/Transforms/TransformBase.cs

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
using System.Reflection;
99
using Microsoft.Data.DataView;
1010
using Microsoft.ML.Internal.Utilities;
11-
using Microsoft.ML.Model;
1211
using Microsoft.ML.Model.OnnxConverter;
1312
using Microsoft.ML.Model.Pfa;
1413
using Newtonsoft.Json.Linq;

0 commit comments

Comments
 (0)