Commit 8b304f2f authored by 高雅喆's avatar 高雅喆

add compute runtime func

parent ce50f559
......@@ -5,8 +5,10 @@ from cidRate import CidRate
from clkCidUidRate import ClkCidUidRate
from topFeatures import TopFeatures
from func import *
import time
start = time.time()
print("开始获取比例特征数据...")
#1.0 question曝光占比(=question被曝光数/总cid被曝光数)
question_imp_rate_all = CidRate("all","question").get_cid_imp_rate("所有")
......@@ -113,6 +115,11 @@ print("已获取 Top question 特征")
print("done")
end = time.time()
print('程序执行时间: ',end - start)
def result2file():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment