metric-learn icon indicating copy to clipboard operation
metric-learn copied to clipboard

Add a get_statistics() method

Open anirudt opened this issue 7 years ago • 2 comments

Hi,

Is there any roadmap for adding a get_statistics() function, like the one that Shogun offers, which helps us to get the statistics of a certain model? It could be useful like here, where the nature of the objective function could be a useful insight to assigning a certain value of maxiters.

anirudt avatar Sep 15 '16 10:09 anirudt

I haven't considered keeping track of per-iteration objective function values, though I see why it might be useful in some cases.

My main concern is that this might negatively impact time/memory performance for cases where the user doesn't need the training statistics. I'd like there to be a parameter that controls whether these sorts of debugging/tuning statistics are collected.

perimosocordiae avatar Sep 15 '16 18:09 perimosocordiae

I agree. Maybe we can have a time/memory complexity profiling and decide likewise? I could try my hand on this.

anirudt avatar Sep 15 '16 23:09 anirudt