Skip to content

Commit a801e90

Browse files
committed
Microsoft.ML.EntryPoints.JsonUtils -> Microsoft.ML.EntryPoints
and Microsoft.ML.FactorizationMachine -> Microsoft.ML.Trainers.FactorizationMachine
1 parent e10cced commit a801e90

File tree

15 files changed

+15
-20
lines changed

15 files changed

+15
-20
lines changed

src/Microsoft.ML.Data/EntryPoints/EntryPointNode.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
using System.Linq;
99
using System.Text.RegularExpressions;
1010
using Microsoft.Data.DataView;
11-
using Microsoft.ML.Data;
12-
using Microsoft.ML.EntryPoints.JsonUtils;
1311
using Microsoft.ML.Internal.Utilities;
1412
using Newtonsoft.Json;
1513
using Newtonsoft.Json.Linq;

src/Microsoft.ML.Data/EntryPoints/InputBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
using Microsoft.ML.Internal.Utilities;
1212
using Newtonsoft.Json.Linq;
1313

14-
namespace Microsoft.ML.EntryPoints.JsonUtils
14+
namespace Microsoft.ML.EntryPoints
1515
{
1616
/// <summary>
1717
/// The class that creates and wraps around an instance of an input object and gradually populates all fields, keeping track of missing

src/Microsoft.ML.EntryPoints/JsonUtils/ExecuteGraphCommand.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
1010
using Microsoft.ML.CommandLine;
1111
using Microsoft.ML.Data;
1212
using Microsoft.ML.Data.IO;
13-
using Microsoft.ML.EntryPoints.JsonUtils;
13+
using Microsoft.ML.EntryPoints;
1414
using Microsoft.ML.Internal.Utilities;
1515
using Newtonsoft.Json;
1616
using Newtonsoft.Json.Linq;
1717

1818
[assembly: LoadableClass(typeof(ExecuteGraphCommand), typeof(ExecuteGraphCommand.Arguments), typeof(SignatureCommand),
1919
"", "ExecGraph")]
2020

21-
namespace Microsoft.ML.EntryPoints.JsonUtils
21+
namespace Microsoft.ML.EntryPoints
2222
{
2323
internal sealed class ExecuteGraphCommand : ICommand
2424
{

src/Microsoft.ML.EntryPoints/JsonUtils/GraphRunner.cs

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

8-
namespace Microsoft.ML.EntryPoints.JsonUtils
8+
namespace Microsoft.ML.EntryPoints
99
{
1010
/// <summary>
1111
/// This class runs a graph of entry points with the specified inputs, and produces the specified outputs.

src/Microsoft.ML.EntryPoints/JsonUtils/JsonManifestUtils.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
using Microsoft.ML.Internal.Utilities;
1111
using Newtonsoft.Json.Linq;
1212

13-
namespace Microsoft.ML.EntryPoints.JsonUtils
13+
namespace Microsoft.ML.EntryPoints
1414
{
1515
/// <summary>
1616
/// Utilities to generate JSON manifests for entry points and other components.

src/Microsoft.ML.StandardLearners/FactorizationMachine/FactorizationMachineCatalog.cs

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

5-
using System;
65
using Microsoft.ML.Data;
7-
using Microsoft.ML.FactorizationMachine;
6+
using Microsoft.ML.Trainers.FactorizationMachine;
87

98
namespace Microsoft.ML
109
{

src/Microsoft.ML.StandardLearners/FactorizationMachine/FactorizationMachineInterface.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
using System.Security;
77
using Microsoft.ML.Internal.CpuMath;
88

9-
namespace Microsoft.ML.FactorizationMachine
9+
namespace Microsoft.ML.Trainers.FactorizationMachine
1010
{
1111
internal static unsafe class FieldAwareFactorizationMachineInterface
1212
{

src/Microsoft.ML.StandardLearners/FactorizationMachine/FactorizationMachineTrainer.cs

Lines changed: 2 additions & 2 deletions
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.FactorizationMachine;
1413
using Microsoft.ML.Internal.CpuMath;
1514
using Microsoft.ML.Internal.Utilities;
15+
using Microsoft.ML.Trainers.FactorizationMachine;
1616
using Microsoft.ML.Training;
1717

1818
[assembly: LoadableClass(FieldAwareFactorizationMachineTrainer.Summary, typeof(FieldAwareFactorizationMachineTrainer),
@@ -22,7 +22,7 @@
2222

2323
[assembly: LoadableClass(typeof(void), typeof(FieldAwareFactorizationMachineTrainer), null, typeof(SignatureEntryPointModule), FieldAwareFactorizationMachineTrainer.LoadName)]
2424

25-
namespace Microsoft.ML.FactorizationMachine
25+
namespace Microsoft.ML.Trainers.FactorizationMachine
2626
{
2727
/*
2828
Train a field-aware factorization machine using ADAGRAD (an advanced stochastic gradient method). See references below

src/Microsoft.ML.StandardLearners/FactorizationMachine/FieldAwareFactorizationMachineModelParameters.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@
88
using Microsoft.ML;
99
using Microsoft.ML.Data;
1010
using Microsoft.ML.Data.IO;
11-
using Microsoft.ML.FactorizationMachine;
1211
using Microsoft.ML.Internal.CpuMath;
1312
using Microsoft.ML.Internal.Internallearn;
1413
using Microsoft.ML.Internal.Utilities;
1514
using Microsoft.ML.Model;
15+
using Microsoft.ML.Trainers.FactorizationMachine;
1616

1717
[assembly: LoadableClass(typeof(FieldAwareFactorizationMachineModelParameters), null, typeof(SignatureLoadModel), "Field Aware Factorization Machine", FieldAwareFactorizationMachineModelParameters.LoaderSignature)]
1818

1919
[assembly: LoadableClass(typeof(FieldAwareFactorizationMachinePredictionTransformer), typeof(FieldAwareFactorizationMachinePredictionTransformer), null, typeof(SignatureLoadModel),
2020
"", FieldAwareFactorizationMachinePredictionTransformer.LoaderSignature)]
2121

22-
namespace Microsoft.ML.FactorizationMachine
22+
namespace Microsoft.ML.Trainers.FactorizationMachine
2323
{
2424
public sealed class FieldAwareFactorizationMachineModelParameters : ModelParametersBase<float>, ISchemaBindableMapper
2525
{

src/Microsoft.ML.StandardLearners/FactorizationMachine/FieldAwareFactorizationMachineUtils.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
using Microsoft.ML.Internal.CpuMath;
1111
using Microsoft.ML.Internal.Utilities;
1212

13-
namespace Microsoft.ML.FactorizationMachine
13+
namespace Microsoft.ML.Trainers.FactorizationMachine
1414
{
1515
internal sealed class FieldAwareFactorizationMachineUtils
1616
{

src/Microsoft.ML.StaticPipe/FactorizationMachineStatic.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
using System.Collections.Generic;
77
using System.Linq;
88
using Microsoft.ML.Data;
9-
using Microsoft.ML.FactorizationMachine;
109
using Microsoft.ML.Internal.Utilities;
1110
using Microsoft.ML.StaticPipe.Runtime;
11+
using Microsoft.ML.Trainers.FactorizationMachine;
1212

1313
namespace Microsoft.ML.StaticPipe
1414
{

test/Microsoft.ML.Core.Tests/UnitTests/TestEntryPoints.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
using Microsoft.ML.Data;
1313
using Microsoft.ML.Data.IO;
1414
using Microsoft.ML.EntryPoints;
15-
using Microsoft.ML.EntryPoints.JsonUtils;
1615
using Microsoft.ML.ImageAnalytics;
1716
using Microsoft.ML.Internal.Calibration;
1817
using Microsoft.ML.Internal.Internallearn;

test/Microsoft.ML.StaticPipelineTesting/Training.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
using Microsoft.Data.DataView;
88
using Microsoft.ML;
99
using Microsoft.ML.Data;
10-
using Microsoft.ML.FactorizationMachine;
1110
using Microsoft.ML.Internal.Calibration;
1211
using Microsoft.ML.Internal.Internallearn;
1312
using Microsoft.ML.LightGBM;
@@ -16,6 +15,7 @@
1615
using Microsoft.ML.StaticPipe;
1716
using Microsoft.ML.TestFramework.Attributes;
1817
using Microsoft.ML.Trainers;
18+
using Microsoft.ML.Trainers.FactorizationMachine;
1919
using Microsoft.ML.Trainers.FastTree;
2020
using Microsoft.ML.Trainers.KMeans;
2121
using Microsoft.ML.Trainers.Recommender;

test/Microsoft.ML.Tests/TextLoaderTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
using System.IO;
88
using Microsoft.Data.DataView;
99
using Microsoft.ML.Data;
10-
using Microsoft.ML.EntryPoints.JsonUtils;
1110
using Microsoft.ML.Model;
1211
using Microsoft.ML.RunTests;
1312
using Microsoft.ML.TestFramework;

test/Microsoft.ML.Tests/TrainerEstimators/FAFMEstimator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
// See the LICENSE file in the project root for more information.
44

55
using Microsoft.ML.Data;
6-
using Microsoft.ML.FactorizationMachine;
76
using Microsoft.ML.RunTests;
87
using Microsoft.ML.SamplesUtils;
8+
using Microsoft.ML.Trainers.FactorizationMachine;
99
using Xunit;
1010

1111
namespace Microsoft.ML.Tests.TrainerEstimators

0 commit comments

Comments
 (0)