Mode for key_metric
See original GitHub issueIs your feature request related to a problem? Please describe.
I think the Workflow or CheckpointSaver need a mode
option for key_metric and additional_metrics to handle both metrics like acc
and mse
.
Describe the solution you’d like Here is the keras version:
if mode == 'min':
self.monitor_op = np.less
self.best = np.Inf
elif mode == 'max':
self.monitor_op = np.greater
self.best = -np.Inf
else: #auto mode
if 'acc' in self.monitor or self.monitor.startswith('fmeasure'):
self.monitor_op = np.greater
self.best = -np.Inf
else:
self.monitor_op = np.less
self.best = np.Inf
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Cluster Mode - PM2
The cluster mode allows networked Node.js applications (http(s)/tcp/udp server) to be scaled across all CPUs available, without any code modifications.
Read more >KeyMetric Call Tracking Reviews & Product Details - G2
The Keymetric dashboard and reports are super easy to use. In addition to the call analytics, we also track all our website engagements...
Read more >Key metric summary | Adobe Analytics - Experience League
The Key metric summary visualization lets you see how an important metric is trending within a single timeframe.
Read more >Investigating a Drop in User Engagement - Mode Analytics
In many cases, these problems surface through key metric dashboards that execs and managers check daily. The problem. You show up to work...
Read more >KeyMetric: Call Tracking & Call Analytics for Marketers ...
Instantly know which advertising campaigns & keywords are making your phone ring. Call (855) 563-8742.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @Nic-Ma here is an example of usage of ignite’s Checkpoint with
score_function
to adapt mse as “increasing score” :HTH
As far as I understand, the feature request is to provide 2 + “auto mode” ways to compare metrics to decide what to save. In ignite we assume to save best score as larger score and for metrics like MSE (where better is lower vs Accuracy where better is greater) we ask user to provide inverse of it such that the best model has larger score.
I think auto magic mode it is better to avoid as could lead to unexpected errors or user misunderstanding of the usage.