Click or drag to resize
Accord.NET (logo)

BaseOneclassSupportVectorLearningTModel, TKernel, TInput Class

One-class Support Vector Machine Learning Algorithm.
Inheritance Hierarchy

Namespace:  Accord.MachineLearning.VectorMachines.Learning
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
public abstract class BaseOneclassSupportVectorLearning<TModel, TKernel, TInput> : IUnsupervisedLearning<TModel, TInput, bool>
where TModel : Object, ISupportVectorMachine<TInput>
where TKernel : Object, IKernel<TInput>
Request Example View Source

Type Parameters

TModel
TKernel
TInput

The BaseOneclassSupportVectorLearningTModel, TKernel, TInput type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyKernel
Gets or sets the kernel function use to create a kernel Support Vector Machine. If this property is set, UseKernelEstimation will be set to false.
Public propertyLagrange
Gets the value for the Lagrange multipliers (alpha) for every observation vector.
Public propertyModel
Gets or sets the classifier being learned.
Public propertyNu
Controls the number of outliers accepted by the algorithm. This value provides an upper bound on the fraction of training errors and a lower bound of the fraction of support vectors. Default is 0.5
Public propertyShrinking
Gets or sets a value indicating whether to use shrinking heuristics during learning. Default is true.
Public propertyToken
Gets or sets a cancellation token that can be used to stop the learning algorithm while it is running.
Public propertyTolerance
Convergence tolerance. Default value is 1e-2.
Public propertyUseKernelEstimation
Gets or sets whether initial values for some kernel parameters should be estimated from the data, if possible. Default is true.
Top
Methods
  NameDescription
Protected methodCreate
Creates an instance of the model to be learned. Inheritors of this abstract class must define this method so new models can be created from the training data.
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 desired outputs.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRun Obsolete.
Obsolete.
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