Instance
for b in session_on_target shor_ubstr.append(b)
session_tree
No
output a sample: shor_ubstr with label -1
session_list
flatten
Yes
session_on_target_date
1 : 正样本0:负样本-1:无效样本
shor_ubstr
today
empty
session
output a sample: shor_ubstr with label 1
for b in session_on_target_date
exist funnels = 7 in session_on_target_date
today-14
b._funnels = 7
...
today-1
output a sample: shor_ubstr with label 0
shor_ubstr.append(b)