INNER CODE UNIT · Python

generate_test_input

lzz19980125/awesome-time-series-segmentation-papers · DASSA-master/ALP.py:9

def generate_test_input():
    graph = {}
    graph['Source'] = {}
    graph['a'] = {}
    graph['b'] = {}
    graph['c'] = {}
    graph['d'] = {}
    graph['e'] = {}
    graph['f'] = {}
    graph['Target'] = {}
    graph['Source']['a'] = 3
    graph['Source']['d'] = 2
    graph['Source']['f'] = 10
    graph['a']['b'] = 2
    graph['a']['e'] = 7
    graph['d']['c'] = 4
    graph['f']['Target'] = 9
    graph['b']['c'] = 5

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…