bugGNU Octave - Bugs: bug #47272, Get a list of all function...

 
 

bug #47272: Get a list of all function evaluations of fminsearch

Submitted by:  Max Görner <maxg>
Submitted on:  Fri 26 Feb 2016 10:02:13 AM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Feature Request
Status: NoneAssigned to: None
Originator Name: Open/Closed: Open
Release: 4.0.0Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 29 Feb 2016 02:50:31 PM UTC, comment #4:

You could try fminsearch.m from patch #8901 with the example in myproblem.m.
With very minor modifications, that is probably what you are looking for.
Please, report if you find any errors.

Markus Mützel <mmuetzel>
Project Member
Sat 27 Feb 2016 02:21:14 PM UTC, comment #3:

OT: It sounds like the fminsearch function of the interval package could be of interest to you.

http://octave.sourceforge.net/interval/function/@infsup/fminsearch.html

It has an OutputFcn option (maybe the core fminsearch has as well) which can be used to gain information about the tested values. Above link show an example which plots these values as sets.

Oliver Heimlich <oheim>
Sat 27 Feb 2016 09:43:31 AM UTC, comment #2:

Unfortunately, that's not what I meant.

Firstly, one does not see where the values for each iteration were found. For example, it is not possible to answer, whether something near x = [1337, 42] was tried or not.

Secondly, thats only STDOUT. I'm thinking of a matrix that could be returned. Than one could analyse it further, eg. by visualising it via venn diagramms.

Max Görner <maxg>
Fri 26 Feb 2016 04:41:57 PM UTC, comment #1:

Have you tried the Display option? It might already provide what you need.

Trying on the example in the fminsearch documentation

Rik <rik5>
Project Administrator
Fri 26 Feb 2016 10:02:13 AM UTC, original submission:

When using fminsearch, on only gets back the position of a convergence point(*) and its value. However, these values are not sufficient to be able to judge the quality of that convergence point.

What would help greatly would be a list of all tried points and there function value. This is something fgridsearch of [patch #8918] does.

(*) One could be tempted to call it a minimum. However, it mustn't, therefore we call it convergence point.

Max Görner <maxg>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mmuetzel (Posted a comment)
  • -unavailable- added by oheim (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by maxg (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1