Click or drag to resize
Accord.NET (logo)

BaseSplitSetValidationTResult, TModel, TInput, TOutput Class

Inheritance Hierarchy
SystemObject
  Accord.MachineLearningParallelLearningBase
    Accord.MachineLearning.PerformanceBaseSplitSetValidationTResult, TModel, ISupervisedLearningTModel, TInput, TOutput, TInput, TOutput
      Accord.MachineLearning.PerformanceBaseSplitSetValidationTResult, TModel, TInput, TOutput
        Accord.MachineLearning.PerformanceBootstrapTModel, TInput, TOutput
        Accord.MachineLearning.PerformanceSplitSetValidationTModel, TInput, TOutput

Namespace:  Accord.MachineLearning.Performance
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
public abstract class BaseSplitSetValidation<TResult, TModel, TInput, TOutput> : BaseSplitSetValidation<TResult, TModel, ISupervisedLearning<TModel, TInput, TOutput>, TInput, TOutput>, 
	ISupervisedLearning<TResult, TInput, TOutput>
where TResult : Object, ITransform<TInput, TOutput>
where TModel : class, Object, ITransform<TInput, TOutput>
Request Example View Source

Type Parameters

TResult
The type of the result learned by the validation method (e.g. CrossValidationResultTModel, TInput, TOutput).
TModel
The type of the machine learning model.
TInput
The type of the input data.
TOutput
The type of the output data or labels.

The BaseSplitSetValidationTResult, TModel, TInput, TOutput type exposes the following members.

Constructors
  NameDescription
Public methodBaseSplitSetValidationTResult, TModel, TInput, TOutput
Initializes a new instance of the BaseSplitSetValidationTResult, TModel, TInput, TOutput class.
Top
Properties
  NameDescription
Public propertyDefaultValue
Gets or sets a value to be used as the Loss in case the model throws an exception during learning. Default is null (exceptions will not be ignored).
(Inherited from BaseSplitSetValidationTResult, TModel, TLearner, TInput, TOutput.)
Public propertyFit (Inherited from BaseSplitSetValidationTResult, TModel, TLearner, TInput, TOutput.)
Public propertyLearner (Inherited from BaseSplitSetValidationTResult, TModel, TLearner, TInput, TOutput.)
Public propertyLoss
Gets or sets a ComputeLossTOutput, TInfo function that can be used to measure how far the actual model predictions were from the expected ground-truth.
(Inherited from BaseSplitSetValidationTResult, TModel, TLearner, TInput, TOutput.)
Public propertyParallelOptions
Gets or sets the parallelization options for this algorithm.
(Inherited from ParallelLearningBase.)
Public propertyToken
Gets or sets a cancellation token that can be used to cancel the algorithm while it is running.
(Inherited from ParallelLearningBase.)
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLearn
Learns a model that can map the given inputs to the given outputs.
(Inherited from BaseSplitSetValidationTResult, TModel, TLearner, TInput, TOutput.)
Protected methodLearnSubset
Learns and evaluates a model in a single subset of the data.
(Inherited from BaseSplitSetValidationTResult, TModel, TLearner, TInput, TOutput.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodHasMethod
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)
Public Extension MethodIsEqual
Compares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices.
(Defined by Matrix.)
Public Extension MethodTo(Type)Overloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Public Extension MethodToTOverloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Top
See Also