Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Add ability for Metrics to add metrics from another Metrics object #3145

Merged
merged 5 commits into from
Oct 2, 2020

Conversation

moyapchen
Copy link
Contributor

@moyapchen moyapchen commented Oct 1, 2020

See #3138 for context and use

(This is also me testing out if stacked branches work as much like stacked commits in mercurial as I'm hoping...)

…ltiple metrics be added to it

See #3138 for context and use
Moya Chen added 2 commits October 1, 2020 14:16
…g in python...

(alas, that's what I get for mostly coding in C++ for the past few years. :P)
parlai/core/metrics.py Outdated Show resolved Hide resolved
parlai/core/metrics.py Outdated Show resolved Hide resolved
@moyapchen moyapchen changed the title Add notion of metrics collections, which can have other Metrics of mu… Add ability for Metrics to add metrics from another Metrics object Oct 2, 2020
@moyapchen moyapchen merged commit a04654d into master Oct 2, 2020
@moyapchen moyapchen deleted the metric_collections branch October 2, 2020 18:24
moyapchen added a commit that referenced this pull request Oct 2, 2020
…3145)

* Add notion of metrics collections, which can have other Metrics of multiple metrics be added to it

See #3138 for context and use

* right, having different arguments for the same function aren't a thing in python...

(alas, that's what I get for mostly coding in C++ for the past few years. :P)

* fixed a bug while integrating into taskmaster2

* address comments (get rid of separate class, add func to Metrics directly)

* actually do the things the last comment
moyapchen added a commit that referenced this pull request Oct 2, 2020
…3145)

* Add notion of metrics collections, which can have other Metrics of multiple metrics be added to it

See #3138 for context and use

* right, having different arguments for the same function aren't a thing in python...

(alas, that's what I get for mostly coding in C++ for the past few years. :P)

* fixed a bug while integrating into taskmaster2

* address comments (get rid of separate class, add func to Metrics directly)

* actually do the things the last comment
moyapchen added a commit that referenced this pull request Oct 2, 2020
…3145)

* Add notion of metrics collections, which can have other Metrics of multiple metrics be added to it

See #3138 for context and use

* right, having different arguments for the same function aren't a thing in python...

(alas, that's what I get for mostly coding in C++ for the past few years. :P)

* fixed a bug while integrating into taskmaster2

* address comments (get rid of separate class, add func to Metrics directly)

* actually do the things the last comment
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants