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
35b29f97
Commit
35b29f97
authored
Aug 13, 2018
by
高雅喆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update the definition of activate uid
parent
5c289b71
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
getRate.py
eda/recommended_indexs/code/getRate.py
+2
-2
No files found.
eda/recommended_indexs/code/getRate.py
View file @
35b29f97
...
...
@@ -20,7 +20,7 @@ def result2file(fpath):
内容概览:以下所有数据都是首页的
1. 比例特征
1.1 answer曝光占比(=answer被曝光数/总cid被曝光数)
1.2 活跃用户点击率(=
活跃用户点击次数/活跃
用户曝光次数)
1.2 活跃用户点击率(=
有点击用户点击次数/有点击
用户曝光次数)
1.3 点击answer用户占比(=点击answer用户数/曝光answer用户数)
1.4 点击diary用户占比(=点击diary用户数/曝光diary用户数)
1.5 无点击用户占比(=无点击用户数/有曝光用户数)
...
...
@@ -49,7 +49,7 @@ def result2file(fpath):
f
.
write
(
'
\n
'
)
print
(
"1.1已将answer曝光占比存入文件"
)
f
.
write
(
"#1.2活跃用户点击率(=
活跃用户点击次数/活跃
用户曝光次数)
\n
"
)
f
.
write
(
"#1.2活跃用户点击率(=
有点击用户点击次数/有点击
用户曝光次数)
\n
"
)
f
.
write
(
tplt
.
format
(
"平台"
,
"active用户点击次数"
,
"active用户曝光次数"
,
"active用户点击率"
))
all_click_one_rate
=
get_all_click_one_rate
()
ios_click_one_rate
=
get_ios_click_one_rate
()
...
...
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