commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mickeydog <mickey...@taosnet.com>
Subject Re: [math]: MATH-199 revisited
Date Sun, 05 Apr 2009 21:52:45 GMT
I think this is my mistake. I was reading (in my head) the first 
weight,  -2.665619767686342E8,  as 0.00000002665619767686342 when in 
fact it is -266,561,976.7686342. The weights for my problem should be 
between 0 and 1, but, as you say, that is my problem, not commons math. 
Sorry for the false alarm.

luc.maisonobe@free.fr wrote:
> Hello,
>
> I am not sure it should be expected or not, it depends on the problem you are trying
to solve. Could you open a new Jira issue and attach a file to it with the source code of
the problem you try to solve and the associated data ?
>
> Also did this appear since the recent refactoring of the optimization framework ?
>
> Luc
>
> ----- mickeydog@TaosNet.com a écrit :
>
>   
>> This is a revisit of a earlier issue detailed here:
>> http://issues.apache.org/jira/browse/MATH-199
>>
>> Previously, I was getting this error with values for error terms like
>> 4.4E-323. Now, I am getting the exception with values of larger
>> magnitude
>> (see below). If I replace wm[0] and wm[52] with values of greater
>> magnitude, 0.01, for example, then the error does not occur.
>>
>> Is this to be expected?
>>
>> It may very well be that it is been this way all along, and I am now
>> just
>> running into this error in this way because this data hasn't been
>> encountered before.
>>
>> wm[0] = -2.665619767686342E8
>> wm[1] = 0.9999798492725595
>> wm[2] = 0.9998388017600578
>> wm[3] = 0.9994560253705471
>> wm[4] = 0.9987108991053469
>> wm[5] = 0.9974832564406259
>> wm[6] = 0.9956537255853777
>> wm[7] = 0.9931041659101397
>> wm[8] = 0.9897181994009216
>> wm[9] = 0.9853818354429454
>> wm[10] = 0.9799841865789758
>> wm[11] = 0.9734182721172175
>> wm[12] = 0.965581905583982
>> wm[13] = 0.9563786610265852
>> wm[14] = 0.9457189120722208
>> wm[15] = 0.9335209364388676
>> wm[16] = 0.9197120772746321
>> wm[17] = 0.9042299512722974
>> wm[18] = 0.8870236919662449
>> wm[19] = 0.868055214969349
>> wm[20] = 0.8473004901478971
>> wm[21] = 0.8247508038630685
>> wm[22] = 0.800413992428026
>> wm[23] = 0.7743156258402076
>> wm[24] = 0.7465001186489801
>> wm[25] = 0.7170317425094144
>> wm[26] = 0.6859955125535663
>> wm[27] = 0.6534979171813012
>> wm[28] = 0.6196674582333949
>> wm[29] = 0.5846549657603337
>> wm[30] = 0.5486336487410065
>> wm[31] = 0.511798840136219
>> wm[32] = 0.4743673915827879
>> wm[33] = 0.4365766698447724
>> wm[34] = 0.39868310383927763
>> wm[35] = 0.3609602276451295
>> wm[36] = 0.3236961613836456
>> wm[37] = 0.2871904682316555
>> wm[38] = 0.25175032208790377
>> wm[39] = 0.2176859165649541
>> wm[40] = 0.18530504201974918
>> wm[41] = 0.15490675326702819
>> wm[42] = 0.1267740464408861
>> wm[43] = 0.10116545918087608
>> wm[44] = 0.0783055039201884
>> wm[45] = 0.058373839544611276
>> wm[46] = 0.04149308207217504
>> wm[47] = 0.027715150274604253
>> wm[48] = 0.017006037322957985
>> wm[49] = 0.009228894591118357
>> wm[50] = 0.004125308692098945
>> wm[51] = 0.0012946476534832214
>> wm[52] = 1.7134685967009215E-4
>> wm[53] = 0.0
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
>> For additional commands, e-mail: user-help@commons.apache.org
>>     
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>
>
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message