optimization_metadata.utils.path_utils.date_path()   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 2
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 2
rs 10
c 0
b 0
f 0
cc 1
nop 1
1
# Author: Simon Blanke
2
# Email: [email protected]
3
# License: MIT License
4
5
6
from .utils import object_hash
7
8
9
def model_path(model_id):
10
    return "model_id:" + model_id + "/"
11
12
13
def date_path(datetime):
14
    return "run_data/" + datetime + "/"
15
16
17
def meta_data_name(X, y):
18
    return "dataset_id:" + object_hash(X) + "_" + object_hash(y) + "_.csv"
19