-
Notifications
You must be signed in to change notification settings - Fork 2
/
pb_system_5_3_s60.py
24 lines (20 loc) · 1.33 KB
/
pb_system_5_3_s60.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
from util.playout import standard_playout
import os
from conf.settings import DATA_PATH
WORK_PATH = os.path.abspath(os.getcwd())
if __name__ == "__main__":
if DATA_PATH is None:
pn = os.path.join(WORK_PATH, "data", "systems", "pb_system_5_3.pnml")
f_pop = os.path.join(WORK_PATH, "data", "variants", "pb_system_5_3_s60_pop.txt")
f_train = os.path.join(WORK_PATH, "data", "variants", "pb_system_5_3_s60_train.txt")
f_test = os.path.join(WORK_PATH, "data", "variants", "pb_system_5_3_s60_test.txt")
xes_train = os.path.join(WORK_PATH, "data", "variants", "pb_system_5_3_s60_train.xes")
csv_train = os.path.join(WORK_PATH, "data", "variants", "pb_system_5_3_s60_train.csv")
else:
pn = os.path.join(DATA_PATH, "systems", "pb_system_5_3.pnml")
f_pop = os.path.join(DATA_PATH, "variants", "pb_system_5_3_s60_pop.txt")
f_train = os.path.join(DATA_PATH, "variants", "pb_system_5_3_s60_train.txt")
f_test = os.path.join(DATA_PATH, "variants", "pb_system_5_3_s60_test.txt")
xes_train = os.path.join(DATA_PATH, "variants", "pb_system_5_3_s60_train.xes")
csv_train = os.path.join(DATA_PATH, "variants", "pb_system_5_3_s60_train.csv")
standard_playout(pn=pn, f_pop=f_pop, f_train=f_train,f_test=f_test, xes_train=xes_train, csv_train=csv_train, train_size=0.6)