Files
richard-churchman cc0a2bee21 Extensive modifications to the serialisation of Neural Network models to support Newtonsoft Json.net rather than Binary Serializer.
Included open-source Accord.net library code natively to the solution given the deprecated state of that project.  Accord.net will be supported inside Jube for own needs (such as upgrading to .Net 7+).

Accord.net libraries modified to compile to .Net 6.

Modified Accord.net libraries to better support Newtonsoft Json.net serialisation.

Included annotations in the Accord.net libraries to house important dependency statistics. Serialised json can be used independently of Jube to recall a Neural Network.

Removal of Binary Serializer totally as a precursor to the projects support of .Net 7+.

Extensive bug fixing in crucial functions of Neural Network training and recall.  While this part of the system remains in Alpha, it is substantially more fit for purpose.
2023-12-24 10:22:22 +01:00

47 lines
1.3 KiB
C#

// AForge Neural Net Library
// AForge.NET framework
// http://www.aforgenet.com/framework/
//
// Copyright © AForge.NET, 2007-2012
// [email protected]
//
namespace Accord.Neuro.Learning
{
using System;
/// <summary>
/// Unsupervised learning interface.
/// </summary>
///
/// <remarks><para>The interface describes methods, which should be implemented
/// by all unsupervised learning algorithms. Unsupervised learning is such
/// type of learning algorithms, where system's desired output is not known on
/// the learning stage. Given sample input values, it is expected, that
/// system will organize itself in the way to find similarities betweed provided
/// samples.</para></remarks>
///
public interface IUnsupervisedLearning
{
/// <summary>
/// Runs learning iteration.
/// </summary>
///
/// <param name="input">Input vector.</param>
///
/// <returns>Returns learning error.</returns>
///
double Run( double[] input );
/// <summary>
/// Runs learning epoch.
/// </summary>
///
/// <param name="input">Array of input vectors.</param>
///
/// <returns>Returns sum of learning errors.</returns>
///
double RunEpoch( double[][] input );
}
}