BaseOneclassSupportVectorLearningTModel, TKernel, TInput Class |
Namespace: Accord.MachineLearning.VectorMachines.Learning
public abstract class BaseOneclassSupportVectorLearning<TModel, TKernel, TInput> : IUnsupervisedLearning<TModel, TInput, bool> where TModel : Object, ISupportVectorMachine<TInput> where TKernel : Object, IKernel<TInput>
The BaseOneclassSupportVectorLearningTModel, TKernel, TInput type exposes the following members.
Name | Description | |
---|---|---|
BaseOneclassSupportVectorLearningTModel, TKernel, TInput |
Constructs a new one-class support vector learning algorithm.
| |
BaseOneclassSupportVectorLearningTModel, TKernel, TInput(TModel) |
Constructs a new one-class support vector learning algorithm.
| |
BaseOneclassSupportVectorLearningTModel, TKernel, TInput(ISupportVectorMachineTInput, TInput) |
Obsolete.
|
Name | Description | |
---|---|---|
Kernel |
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.
| |
Lagrange |
Gets the value for the Lagrange multipliers
(alpha) for every observation vector.
| |
Model |
Gets or sets the classifier being learned.
| |
Nu |
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
| |
Shrinking |
Gets or sets a value indicating whether to use
shrinking heuristics during learning. Default is true.
| |
Token |
Gets or sets a cancellation token that can be used to
stop the learning algorithm while it is running.
| |
Tolerance |
Convergence tolerance. Default value is 1e-2.
| |
UseKernelEstimation |
Gets or sets whether initial values for some kernel parameters
should be estimated from the data, if possible. Default is true.
|
Name | Description | |
---|---|---|
Create |
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.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Learn |
Learns a model that can map the given inputs to the desired outputs.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Run | Obsolete.
Obsolete.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
HasMethod |
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.) | |
IsEqual |
Compares two objects for equality, performing an elementwise
comparison if the elements are vectors or matrices.
(Defined by Matrix.) | |
To(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.) | |
ToT | 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.) |