Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions docs/samples/Microsoft.ML.Samples/Dynamic/Calibrator.cs
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Microsoft.ML.Data;
using Microsoft.ML.Runtime.Data;
using Microsoft.ML.Transforms;
using System;
using System.Collections.Generic;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Microsoft.ML.Runtime.Data;
using Microsoft.ML.Data;
using Microsoft.ML.Data;
using System;
using System.Collections.Generic;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Microsoft.ML.Data;
using Microsoft.ML.Runtime.Data;
using System;

namespace Microsoft.ML.Samples.Dynamic
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Microsoft.ML.Data;
using Microsoft.ML.Runtime.Data;
using System;
using System.Collections.Generic;

Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Microsoft.ML.Runtime.Data;
using Microsoft.ML.Data;
using System;
using System.Linq;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
// Licensed to the .NET Foundation under one or more agreements.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting, good one, I wonder if we should have some mechanism to check for this sort of thing, right now it's purely manual.

// 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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
1 change: 0 additions & 1 deletion docs/samples/Microsoft.ML.Samples/Dynamic/KMeans.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Microsoft.ML.Data;
using Microsoft.ML.Runtime.Data;
using System;

namespace Microsoft.ML.Samples.Dynamic
Expand Down
2 changes: 0 additions & 2 deletions docs/samples/Microsoft.ML.Samples/Dynamic/KeyToValue_Term.cs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
2 changes: 0 additions & 2 deletions docs/samples/Microsoft.ML.Samples/Dynamic/LdaTransform.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using Microsoft.ML.Data;
using Microsoft.ML.Runtime;
using Microsoft.ML.Runtime.Data;
using System;
using System.Collections.Generic;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Microsoft.ML.Data;
using Microsoft.ML.Runtime.Data;
using System;
using System.Collections.Generic;

Expand Down
2 changes: 0 additions & 2 deletions docs/samples/Microsoft.ML.Samples/Dynamic/NgramExtraction.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using Microsoft.ML.Data;
using Microsoft.ML.Runtime;
using Microsoft.ML.Runtime.Data;
using System;
using System.Collections.Generic;

Expand Down
1 change: 0 additions & 1 deletion docs/samples/Microsoft.ML.Samples/Dynamic/Normalizer.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Microsoft.ML.Data;
using Microsoft.ML.Runtime;
using Microsoft.ML.Transforms.Normalizers;
using System;
using System.Collections.Generic;
Expand Down
1 change: 0 additions & 1 deletion docs/samples/Microsoft.ML.Samples/Dynamic/OnnxTransform.cs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Microsoft.ML.Runtime.Learners;
using Microsoft.ML.Learners;
using System;
using System.Linq;

Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
2 changes: 1 addition & 1 deletion docs/samples/Microsoft.ML.Samples/Dynamic/SDCA.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Microsoft.ML.Runtime.Data;
using Microsoft.ML.Data;
using System;
using System.Linq;

Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Microsoft.ML.Data;
using Microsoft.ML.Runtime.Data;
using System;
using System.Linq;

Expand Down
4 changes: 1 addition & 3 deletions docs/samples/Microsoft.ML.Samples/Dynamic/TextTransform.cs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Microsoft.ML.Runtime.Data;
using Microsoft.ML.Data;
using Microsoft.ML.Trainers.FastTree;
using Microsoft.ML.StaticPipe;
using System;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Microsoft.ML.Data;
using Microsoft.ML.Runtime.Data;
using Microsoft.ML.StaticPipe;
using System;
using System.Collections.Generic;
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions docs/samples/Microsoft.ML.Samples/Static/SDCARegression.cs
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.ML.Console/Console.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.ML.Console/Microsoft.ML.Console.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFramework>netcoreapp2.1</TargetFramework>
<OutputType>Exe</OutputType>
<AssemblyName>MML</AssemblyName>
<StartupObject>Microsoft.ML.Runtime.Tools.Console.Console</StartupObject>
<StartupObject>Microsoft.ML.Tools.Console.Console</StartupObject>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.ML.Core/BestFriendAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.ML.Core/CommandLine/ArgumentAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System;
using System.Linq;

namespace Microsoft.ML.Runtime.CommandLine
namespace Microsoft.ML.CommandLine
{
/// <summary>
/// Allows control of command line parsing.
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.ML.Core/CommandLine/ArgumentType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

using System;

namespace Microsoft.ML.Runtime.CommandLine
namespace Microsoft.ML.CommandLine
{
/// <summary>
/// Used to control parsing of command line arguments.
Expand Down
4 changes: 2 additions & 2 deletions src/Microsoft.ML.Core/CommandLine/CharCursor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.ML.Core/CommandLine/CmdLexer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

using System.Text;

namespace Microsoft.ML.Runtime.CommandLine
namespace Microsoft.ML.CommandLine
{
[BestFriend]
internal sealed class CmdLexer
Expand Down
6 changes: 2 additions & 4 deletions src/Microsoft.ML.Core/CommandLine/CmdParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
{

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

using System;

namespace Microsoft.ML.Runtime.CommandLine
namespace Microsoft.ML.CommandLine
{
/// <summary>
/// Indicates that this argument is the default argument.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

using System;

namespace Microsoft.ML.Runtime.CommandLine
namespace Microsoft.ML.CommandLine
{
/// <summary>
/// On an enum value - specifies the display name.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

using System;

namespace Microsoft.ML.Runtime.CommandLine
namespace Microsoft.ML.CommandLine
{
/// <summary>
/// On an enum value - indicates that the value should not be shown in help or UI.
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.ML.Core/CommandLine/SpecialPurpose.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions src/Microsoft.ML.Core/ComponentModel/AssemblyLoadingUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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.")]
Expand Down Expand Up @@ -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":
Expand Down
Loading