jskoien / intamapInteractive

2 stars 0 forks source link

last and best criteria #2

Open matpet87 opened 3 years ago

matpet87 commented 3 years ago

Dear dr Skoien,

I'm presently using ssaOptim for reducing a sampling scheme. I would like to save at the end of computation the last criteria and best criteria values in order to repeat the optimization and choosing the best one. I'm not able to find in the returned object that information, could you help me? best regard matpet

jskoien commented 3 years ago

Dear matpet,

There is an attribute in the result that might do what you want. The criterion value from all iterations is stored in attr(optimUK, "criterion") for the object in the example of ssaOptim. This is a vector, and you can see which iteration gave the lowest value, and the value of the last iteration. Does this help?

Best, Jon

On Fri, 3 Sept 2021 at 13:22, matpet87 @.***> wrote:

Dear dr Skoien,

I'm presently using ssaOptim for reducing a sampling scheme. I would like to save at the end of computation the last criteria and best criteria values in order to repeat the optimization and choosing the best one. I'm not able to find in the returned object that information, could you help me? best regard matpet

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jskoien/intamapInteractive/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNRTD75EBDEXAS47I74YKDUACVX7ANCNFSM5DLRODAA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.