Re: [Pkg-octave-devel] [lenny octave-ga package] please upgrade to svn >= 20080816
Am Mittwoch, den 20.08.2008, 12:20 +0200 schrieb Luca Favatella:
> 2008/8/20 Thomas Weber <thomas.weber.mail@gmail.com>:
> [...]
> > The current DESCRIPTION doesn't mention the 'miscellaneous' package
> > anymore. Don't you need it?
>
> Exact, current version doesn't need miscellaneous.
>
>
> > Rafael, I'm going to revert some of your unreleased changes to the
> > package. The package is misclassified as
> > Architecture: any
> > but it contains only .m files.
>
> Exact, only .m files.
Several of your unit tests fail (log snippet attached, x86, 32 bit).
Additionnally, these tests take several minute on my not to slow
machine. Is this expected?
Thomas
Checking package...
[__ga_initial_population__]
PASSES 2 out of 2 tests
[fitscalingrank]
PASSES 3 out of 3 tests
[ga]
warning: __ga_problem_return_variables__: some elements in list of return values are undefined
***** xtest
min = [-1, 2];
assert (ga (struct ("fitnessfcn", @(x) rastriginsfcn (x - min), "nvars", 2, "options", gaoptimset ("FitnessLimit", 1e-7, "Generations", 1000, "PopInitRange", [-5; 5], "PopulationSize", 200))), min, 1e-6)
!!!!! known failure
error: assert (ga (struct ("fitnessfcn", @(x) rastriginsfcn (x - min);
, "nvars", 2, "options", gaoptimset ("FitnessLimit", 1e-7, "Generations", 1000, "PopInitRange", [-5; 5], "PopulationSize", 200))),min,1e-6) expected
-1 2
but got
-1.0000 2.0000
maximum absolute error 1.39518e-05 exceeds tolerance 1e-06
warning: __ga_problem_return_variables__: some elements in list of return values are undefined
warning: __ga_problem_return_variables__: some elements in list of return values are undefined
warning: __ga_problem_return_variables__: some elements in list of return values are undefined
warning: __ga_problem_return_variables__: some elements in list of return values are undefined
***** xtest assert (ga (struct ("fitnessfcn", @rastriginsfcn, "nvars", 2, "options", gaoptimset ("FitnessLimit", 1e-7, "Generations", 1000))), zeros (1, 2), 1e-6)
!!!!! known failure
error: assert (ga (struct ("fitnessfcn", @rastriginsfcn, "nvars", 2, "options", gaoptimset ("FitnessLimit", 1e-7, "Generations", 1000))),zeros (1, 2),1e-6) expected
0 0
but got
-3.8308e-06 -1.1650e-05
maximum absolute error 1.165e-05 exceeds tolerance 1e-06
warning: __ga_problem_return_variables__: some elements in list of return values are undefined
***** xtest assert (ga (struct ("fitnessfcn", @rastriginsfcn, "nvars", 2, "options", gaoptimset ("FitnessLimit", 1e-7, "PopulationSize", 200))), zeros (1, 2), 1e-6)
!!!!! known failure
error: assert (ga (struct ("fitnessfcn", @rastriginsfcn, "nvars", 2, "options", gaoptimset ("FitnessLimit", 1e-7, "PopulationSize", 200))),zeros (1, 2),1e-6) expected
0 0
but got
-8.6397e-06 9.3582e-07
maximum absolute error 8.63968e-06 exceeds tolerance 1e-06
warning: __ga_problem_return_variables__: some elements in list of return values are undefined
***** xtest assert (ga (struct ("fitnessfcn", @(x) rastriginsfcn (x(1:2)) + ((x(3) ** 2) - (cos (2 * pi * x(3))) + 1) + (x(4) ** 2), "nvars", 4, "options", gaoptimset ("EliteCount", 5, "FitnessLimit", 1e-7, "PopInitRange", [-2; 2], "PopulationSize", 200))), zeros (1, 4), 1e-6)
!!!!! known failure
error: assert (ga (struct ("fitnessfcn", @(x) rastriginsfcn (x (1:2)) + ((x (3) ^ 2) - (cos (2 * pi * x (3))) + 1) + (x (4) ^ 2);
, "nvars", 4, "options", gaoptimset ("EliteCount", 5, "FitnessLimit", 1e-7, "PopInitRange", [-2; 2], "PopulationSize", 200))),zeros (1, 4),1e-6) expected
0 0 0 0
but got
-6.5194e-06 -9.8330e-06 3.2066e-05 -3.8123e-06
maximum absolute error 3.20662e-05 exceeds tolerance 1e-06
PASSES 7 out of 7 tests (4 expected failures)
[rastriginsfcn]
PASSES 1 out of 1 tests
Reply to: