80 str = sprintf(
" StateKernel: %s ",...
101 copy = kernels.config.ExpansionConfig;
112 if ~isa(atd,
" data.ApproxTrainData ")
113 error(
" First argument has to be a data.ApproxTrainData instance ");
125 dists(1,:) = dfun(mf*atd.
xiDia, Mf*atd.
xiDia);
127 dists(2,:) = dfun(mf*atd.
tiDia, Mf*atd.
tiDia);
132 k = kernels.GaussKernel;
133 this.Gammas= zeros(size(dists));
135 this.Gammas(1,i) = k.setGammaForDistance(dists(1,i),gameps);
136 this.Gammas(2,i) = k.setGammaForDistance(dists(2,i),gameps);
137 this.Gammas(3,i) = k.setGammaForDistance(dists(3,i),gameps);
140 function linsp(from, to)
142 d = linspace(from,to,ng);
145 function d = logsp(from, to)
146 d = logspace(log10(from),log10(to),ng);
174 if ~isa(obj,
" kernels.config.ExpansionConfig ")
176 obj = kernels.config.ExpansionConfig;
178 obj.StateConfig= from.StateConfig;
logical hasParams
Flag that indicates if param samples are present.
IClassConfig: Abstract interface for a set of configurations that can be applied to a given algorithm...
virtual function integer n = getNumConfigurations()
Returns the number of configurations that can be applied.
IClassConfig StateConfig
The state space kernel configuration.
virtual function char str = getConfiguredPropertiesString()
Returns a string of the changed properties by this IClassConfig instance.
function collectRanges(ptable, proppath)
virtual function IClassConfig conf = getSubPart(integer partNr,integer totalParts)
Returns a sub-part of this configuration as a new instance.
function ptype = getProtoClass()
function copy = clone(copy)
The interface method with returns a copy of the current class instance.
virtual function collectRanges(ptable, proppath)
double muiDia
The diameter of the parameter space samples.
double tiDia
The time span of the time samples.
double xiDia
The diameter of the state space samples.
function conf = getSubPart(partNr, totalParts)
virtual function integer str = getConfigurationString(integer nr,logical asCell)
Returns the number of configurations that can be applied.
ICloneable Prototype
The prototype class that is to be used as base class before configuring a new instance.
function cn = getClassName()
Returns the simple class name of this object without packages.
function kernels.KernelExpansion kexp = configureInstance(nr)
function n = getNumConfigurations()
Returns the number of configurations that can be applied.
function guessGammaConfigs(data.ApproxTrainData atd,integer ng,double mf,double Mf)
Guesses ng values that might be geometrically senseful and sets the applicable RBFConfig instances...
logical hasTime
Flag that indicates if time samples are present.
function str = getConfiguredPropertiesString()
Returns a string of the changed properties by this IClassConfig instance.
char RequiredPrototypeClass
Determines the class that is allowed to be configured.
function copy = clone(copy)
The interface method with returns a copy of the current class instance.
virtual function ICloneable object = configureInstance(integer nr)
Creates a new instance with given configuration.
ApproxTrainData: Data class for approximation training data, containing several useful bounding box p...
ExpansionConfig: Base class config for kernel expansions.
function str = getConfigurationString(nr, asCell)