is it possible to set metrics during the build
Tomas
Registered, Neuron 2022 Posts: 121 ✭✭✭✭✭
Hi,
is it possible to set a metrics from a python script instead of DSS calculation? My python script is uploading CSV file into a folder, on top of this folder is a dataset. I have already the record, column count in the script, so I would like to update these metrics:
'metrics': ['basic:COUNT_COLUMNS',
'basic:COUNT_FILES',
'basic:SIZE' ]
Thanks
T
is it possible to set a metrics from a python script instead of DSS calculation? My python script is uploading CSV file into a folder, on top of this folder is a dataset. I have already the record, column count in the script, so I would like to update these metrics:
'metrics': ['basic:COUNT_COLUMNS',
'basic:COUNT_FILES',
'basic:SIZE' ]
Thanks
T
Tagged:
Best Answer
-
Hello,
By design, this is not possible as metrics computation is managed by DSS. For setting your custom parameters outside of the DSS managed metrics, we recommend setting dataset metadata: https://doc.dataiku.com/dss/latest/publicapi/client-python/datasets.html#dataikuapi.dss.dataset.DSSDataset.set_metadata
Cheers,
Alex