-
- Downloads
Modify matfaust.factparams.ParamsFact and sub-classes to decrease the number...
Modify matfaust.factparams.ParamsFact and sub-classes to decrease the number of mandatory arguments. - The minimal set of arguments is the constraints + stopping criterion/criteria both for PALM4MSA and Hierarchical algos. - The other arguments are optional thus they are set to their default values if not specified. - The definition of default arguments is made in a keyword-value pair fashion; 'keyword1', value1, 'keyword2', value2. It resembles the way python authorizes keyword arguments after positional arguments. Likewise first arguments (constraints and StoppingCriterion-s) are mandatory so they are positional. - The num_facts argument (number of factors of the factorization resulting product) is now deduced from the number of constraints. It avoids inconsistent setting of desired number of factors and number of constraints. But future simplified parametrization still will be able to define a targeted number of factors. - Refactoring has been made for consistency and reusability between ParamsPalm4MSA, ParamsHierarchicalFact and their parent class ParamsFact.
Showing
- misc/test/src/Matlab/FaustFactoryTest.m 7 additions, 7 deletionsmisc/test/src/Matlab/FaustFactoryTest.m
- wrapper/matlab/+matfaust/+factparams/@ParamsFact/ParamsFact.m 91 additions, 35 deletions...per/matlab/+matfaust/+factparams/@ParamsFact/ParamsFact.m
- wrapper/matlab/+matfaust/+factparams/@ParamsHierarchicalFact/ParamsHierarchicalFact.m 41 additions, 39 deletions...ctparams/@ParamsHierarchicalFact/ParamsHierarchicalFact.m
- wrapper/matlab/+matfaust/+factparams/@ParamsPalm4MSA/ParamsPalm4MSA.m 59 additions, 46 deletions...ab/+matfaust/+factparams/@ParamsPalm4MSA/ParamsPalm4MSA.m
- wrapper/matlab/+matfaust/@FaustFactory/FaustFactory.m 5 additions, 17 deletionswrapper/matlab/+matfaust/@FaustFactory/FaustFactory.m
Loading
Please register or sign in to comment