Skip to content

Commit

Permalink
Attempting to fix build in .NET Standard.
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarsouza committed Dec 7, 2017
1 parent 68f8805 commit dcb79f6
Show file tree
Hide file tree
Showing 12 changed files with 11 additions and 2 deletions.
1 change: 0 additions & 1 deletion Sources/Accord.DataSets/Cifar10.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ namespace Accord.DataSets
using Accord.Math;
using System;
using Accord.Compat;
using System.Drawing;
using System.IO;
using ICSharpCode.SharpZipLib.Tar;
using System.Collections.Generic;
Expand Down
1 change: 1 addition & 0 deletions Sources/Accord.MachineLearning/Collections/SPCell.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ namespace Accord.Collections
{
using Accord.Math;
using System;
using Accord.Compat;

/// <summary>
/// Region of space in a Space-Partitioning Tree. Represents an axis-aligned
Expand Down
1 change: 1 addition & 0 deletions Sources/Accord.MachineLearning/Collections/SPTree.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ namespace Accord.Collections
{
using System;
using Accord.Math;
using Accord.Compat;

/// <summary>
/// Space-Partitioning Tree.
Expand Down
1 change: 1 addition & 0 deletions Sources/Accord.MachineLearning/Collections/VPTree`2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ namespace Accord.Collections
using System;
using System.Linq;
using System.Collections.Generic;
using Accord.Compat;

#if !MONO
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
namespace Accord.MachineLearning
{
using System;
using Accord.Compat;

/// <summary>
/// Boltzmann distribution exploration policy.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
namespace Accord.MachineLearning
{
using System;
using Accord.Compat;

/// <summary>
/// Epsilon greedy exploration policy.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
namespace Accord.MachineLearning
{
using System;
using Accord.Compat;

/// <summary>
/// Roulette wheel exploration policy.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
namespace Accord.MachineLearning
{
using System;
using Accord.Compat;

/// <summary>
/// Tabu search exploration policy.
Expand Down
1 change: 1 addition & 0 deletions Sources/Accord.MachineLearning/QLearning.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
namespace Accord.MachineLearning
{
using System;
using Accord.Compat;

/// <summary>
/// QLearning learning algorithm.
Expand Down
1 change: 1 addition & 0 deletions Sources/Accord.MachineLearning/Sarsa.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
namespace Accord.MachineLearning
{
using System;
using Accord.Compat;

/// <summary>
/// Sarsa learning algorithm.
Expand Down
1 change: 0 additions & 1 deletion Sources/Accord.Math/Matrix/Matrix.Conversions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ public static T[][] ToArray<T>(this T[,] matrix, bool transpose = false)


#region Type conversions

/// <summary>
/// Converts the values of a vector using the given converter expression.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,7 @@ public void SerializationTest()
}
#endif

#if !NO_EXCEL
[Test]
[Category("Office")]
public void gh1056()
Expand Down Expand Up @@ -718,6 +719,7 @@ public void should_not_allow_negative_classes()

Assert.Throws<ArgumentException>(() => teacher.Learn(inputs, outputs));
}
#endif
}
#endif
}

0 comments on commit dcb79f6

Please sign in to comment.