Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
ffm-baseline
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ML
ffm-baseline
Commits
8b304f2f
Commit
8b304f2f
authored
Aug 28, 2018
by
高雅喆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add compute runtime func
parent
ce50f559
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
main.py
eda/recommended_indexs/main.py
+7
-0
No files found.
eda/recommended_indexs/main.py
View file @
8b304f2f
...
...
@@ -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
():
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment