-
3.39.23
|
A ParamsHierarchical specialization for which there is no residual constraints. More...
Public Member Functions | |
function | ParamsHierarchicalNoResCons (fact_constraints, stop_crit1, stop_crit2, varargin) |
Constructor. More... | |
Public Member Functions inherited from matfaust::factparams::ParamsHierarchical | |
function | ParamsHierarchical (fact_constraints, res_constraints, stop_crit1, stop_crit2, varargin) |
Constructor. More... | |
Public Member Functions inherited from matfaust::factparams::ParamsFact | |
function | ParamsFact (num_facts, constraints, varargin) |
Additional Inherited Members | |
Static Public Member Functions inherited from matfaust::factparams::ParamsFact | |
static function | factor_format_str2int (factor_format) |
static function | parse_opt_args (cell_args, opt_arg_names, opt_arg_map) |
static function | get_constraints (constraints) |
Returns a cell array of constraints from constraints which is a ConstraintList or cell array that can be a mix of pyfaust.factparams.ConstraintGeneric or pyfaust.proj.proj_gen. If projs is a ConstraintList then the function just returns the same object as is. More... | |
Public Attributes inherited from matfaust::factparams::ParamsFact | |
Property | step_size |
Property | constant_step_size |
Property | factor_format |
Property | packing_RL |
Property | norm2_max_iter |
Property | norm2_threshold |
Property | use_MHTP |
Property | no_normalization |
Property | no_lambda |
Protected Attributes inherited from matfaust::factparams::ParamsHierarchical | |
Constant Property | DEFAULT_IS_FACT_SIDE_LEFT = false |
Protected Attributes inherited from matfaust::factparams::ParamsFact | |
Constant Property | DEFAULT_STEP_SIZE = 10 |
Constant Property | DEFAULT_VERBOSITY = false |
Constant Property | DEFAULT_CONSTANT_STEP_SIZE = false |
Constant Property | DEFAULT_INIT_LAMBDA = 1.0 |
Constant Property | DEFAULT_IS_UPDATE_WAY_R2L = false |
Constant Property | DEFAULT_PACKING_RL = true |
Constant Property | DEFAULT_FACTOR_FORMAT = 'dynamic' |
Constant Property | DEFAULT_NO_NORMALIZATION = false |
Constant Property | DEFAULT_NO_LAMBDA = false |
Constant Property | DEFAULT_NORM2_MAX_ITER = 0 |
Constant Property | DEFAULT_NORM2_THRESHOLD = 0 |
Constant Property | IDX_FACTOR_FORMAT = 9 |
Constant Property | IDX_PACKING_RL = 10 |
Constant Property | IDX_NO_NORMALIZATION = 11 |
Constant Property | IDX_NO_LAMBDA = 12 |
A ParamsHierarchical specialization for which there is no residual constraints.
function matfaust::factparams::ParamsHierarchicalNoResCons::ParamsHierarchicalNoResCons | ( | fact_constraints | , |
stop_crit1 | , | ||
stop_crit2 | , | ||
varargin | |||
) |
Constructor.
Example This example shows two parametrizations that are equivalent. The first one, p1, is defined trough a ParamsHierarchical instance while the second one, p2, is defined using a ParamsHierarchicalNoResCons instance.
F1 =
Faust size 32x32, density 0.34375, nnz_sum 352, 6 factor(s):
F1_error =
0
factorizing with p2 (ParamsHierarchical) into Faust F2 Faust::hierarchical: 1/5 Faust::hierarchical: 2/5 Faust::hierarchical: 3/5 Faust::hierarchical: 4/5 Faust::hierarchical: 5/5
F2 =
Faust size 32x32, density 0.34375, nnz_sum 352, 6 factor(s):
F2_error =
0