mirror of
https://github.com/clearml/clearml-server
synced 2025-02-01 03:16:44 +00:00
4f2564d33a
Add hyper parameter sorting Add min/max value for all time series metrics
15 lines
459 B
Python
15 lines
459 B
Python
from mongoengine import EmbeddedDocument, StringField, DynamicField
|
|
|
|
|
|
class MetricEvent(EmbeddedDocument):
|
|
meta = {
|
|
# For backwards compatibility reasons
|
|
'strict': False,
|
|
}
|
|
|
|
metric = StringField(required=True)
|
|
variant = StringField(required=True)
|
|
value = DynamicField(required=True)
|
|
min_value = DynamicField() # for backwards compatibility reasons
|
|
max_value = DynamicField() # for backwards compatibility reasons
|