152 error(
" Must call this method from subclasses, passing the subclass instance as 'target'. ");
156 target.fLambda= this.fLambda;
162 #if 0 //mtoc++: 'set.K'
164 if (isa(value,
" handle ") && ~isa(value,
" data.FileMatrix ")) || (~
ismatrix(value) || ~isa(value,
" double "))
165 error(
" Value must be a data.FileMatrix or a double matrix. ");
174 #if 0 //mtoc++: 'set.Lambda'
177 error("
Lambda must be a positive real scalar ");
187 #if 0 //mtoc++: 'get.Lambda'
188 function value =
Lambda() {
189 value = this.fLambda;
196 #if 0 //mtoc++: 'set.AlphaRelMinValue'
222 [ci, sf] = this.
regress(yi, initialai);
248 virtual function [ci , integersf ] =
regress(fxi,
rowvec initialai) = 0;
function target = clone(target)
The interface method with returns a copy of the current class instance.
virtual function [ ci , integer sf ] = regress(fxi,rowvec initialai)
Performs the actual regression (template method)
ICLONEABLE Interface for cloneable handle classes.
double AlphaRelMinValue
Minimum relative value for any alpha to be considered a support vector coefficient.
function [ rowvec ci , integer svidx , sf ] = computeKernelCoefficients(rowvec yi, initialai)
Implementation of the kernels.ICoeffComp interface.
Base class for any KerMor class.
function registerProps(varargin)
Call this method at any class that defines DPCM observed properties.
KerMorObject()
Constructs a new KerMor object.
function ismat = ismatrix(value)
ismatrix: Compatibility function for matlab versions smaller than 2011b
data.FileMatrix K
The kernel matrix to use.
function K = getKernelMatrix()
Computes the kernel matrix for the currently set center data.
Interface for kernel expansion coefficient computation.
double C
The weighting of the slack variables.
SCALARSVR Scalar support vector regression.
static const NO_SUPPORT_VECTORS_FOUND
SVR-specific flag that indicates that no support vectors have been found.
FileMatrix: File-based matrix which stores sets of columns in separate files.
function res = isposrealscalar(value)
isposintscalar: Backwards-compatibility function for matlab versions greater than 2012a ...
function init(kernels.KernelExpansion kexp)
% IKernelCoeffComp interface members Sets the kernel matrix.
double Lambda
The regularization parameter for the primary minimization problem.
KernelExpansion: Base class for state-space kernel expansions.
StopFlag: Flags that algorithms can use to specify the reason for their termination.