Package com.polytechnik.kgo
Class KGOSubspaceSolutionVectorXVectorF
java.lang.Object
com.polytechnik.kgo.KGOSubspaceSolutionVectorXVectorF
- All Implemented Interfaces:
VectorXVectorFPointEvaluatable
public class KGOSubspaceSolutionVectorXVectorF
extends Object
implements VectorXVectorFPointEvaluatable
Knowledge Generalizing Operator solution to a vector X to vector F problem.
The X- and F- spaces are assumed to be regularized: XX and FF are not degenerated and diagonal.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
The list of implemented subspaces. -
Field Summary
FieldsModifier and TypeFieldDescription(package private) final KGOOptimizationResult.Approximation
private final double[]
Selected contributing subspace.private final double[]
Contributing subspace (projective).private final double[]
K(f) Christoffel function moments.final double
Direct projection viaCX
subspace.final double
A coverage corresponding to found mapping.private final double[]
final double
A coverage corresponding to "Direct Projection" type of expansion: least squares value is calculated first, then a f-localized function is built at this value.final double
Maximal possible coverage among all projective-type transforms.private final double[]
Old "projective" version.final int
final int
(package private) final RegularizedVectorXVectorF
private final double[]
Chrisfoffel function moments.private static final RegularizationMethod
(package private) final KGOSubspaceSolutionVectorXVectorF.XSubspace
private final double[]
-
Constructor Summary
ConstructorsConstructorDescriptionKGOSubspaceSolutionVectorXVectorF
(DataReadObservationVectorXVectorF ro, RegularizationMethod regularization_methodX, RegularizationMethod regularization_methodF, KGOOptimizationResult.Approximation approximation, KGOSubspaceSolutionVectorXVectorF.XSubspace xSubspace, double eps) -
Method Summary
Modifier and TypeMethodDescriptioncreateFromSample
(DataReadObservationVectorXVectorF ro, KGOOptimizationResult.Approximation approximation, KGOSubspaceSolutionVectorXVectorF.XSubspace xSubspace) evaluateAt
(double[] xorig) An evaluation of Vector X to Vector F model.(package private) double[]
forigFromF
(double[] F) (package private) double
getFtotalForTransform
(DataReadObservationVectorXVectorF ro, double[] u_jk) private double[]
getXF_KFF_FX
(double[] KFF) static void
Trivial test run once.private void
selfTest
(DataReadObservationVectorXVectorF ro, double eps) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.polytechnik.utils.VectorXVectorFPointEvaluatable
evaluateAtSequence
-
Field Details
-
reg
-
nX
public final int nX -
nF
public final int nF -
fF
private final double[] fF -
xX
private final double[] xX -
S_FCFC
private final double[] S_FCFCChrisfoffel function moments. -
approximation
-
xSubspace
-
CX_projective
private final double[] CX_projectiveContributing subspace (projective). -
FX
private final double[] FXOld "projective" version. -
F_Kf_F
private final double[] F_Kf_FK(f) Christoffel function moments. -
FTOT
public final double FTOTMaximal possible coverage among all projective-type transforms. -
FLS
public final double FLSA coverage corresponding to "Direct Projection" type of expansion: least squares value is calculated first, then a f-localized function is built at this value. The value may be greater thanFTOT
. -
FCCXLS
public final double FCCXLSDirect projection viaCX
subspace. -
CX
private final double[] CXSelected contributing subspace. -
FCOVU
public final double FCOVUA coverage corresponding to found mapping. -
STD_REGULARIZATION_METHOD
-
-
Constructor Details
-
KGOSubspaceSolutionVectorXVectorF
KGOSubspaceSolutionVectorXVectorF(DataReadObservationVectorXVectorF ro, RegularizationMethod regularization_methodX, RegularizationMethod regularization_methodF, KGOOptimizationResult.Approximation approximation, KGOSubspaceSolutionVectorXVectorF.XSubspace xSubspace, double eps) - Parameters:
ro
- Read Observations (sample).regularization_methodX
- regularizatuion method ofx
.regularization_methodF
- regularizatuion method off
.eps
- Run a selftest with thiseps
if positive.
-
-
Method Details
-
getFtotalForTransform
-
forigFromF
double[] forigFromF(double[] F) -
evaluateAt
public VectorXVectorFPointEvaluatableCommon.VectorXVectorFPointAccessWithDimensionAdjusted evaluateAt(double[] xorig) Description copied from interface:VectorXVectorFPointEvaluatable
An evaluation of Vector X to Vector F model.- Specified by:
evaluateAt
in interfaceVectorXVectorFPointEvaluatable
-
getXF_KFF_FX
private double[] getXF_KFF_FX(double[] KFF) -
createFromSample
public static KGOSubspaceSolutionVectorXVectorF createFromSample(DataReadObservationVectorXVectorF ro, KGOOptimizationResult.Approximation approximation, KGOSubspaceSolutionVectorXVectorF.XSubspace xSubspace) -
selfTest
-
main
Trivial test run once.
-