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
d6ceee4c
Commit
d6ceee4c
authored
Aug 13, 2018
by
高雅喆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change main
parent
71a0fed0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
main.py
eda/test/main.py
+2
-1
No files found.
eda/test/main.py
View file @
d6ceee4c
...
@@ -29,6 +29,7 @@ def main():
...
@@ -29,6 +29,7 @@ def main():
activate_uid_ctr_all
=
get_activate_uid_ctr
(
"all"
)
activate_uid_ctr_all
=
get_activate_uid_ctr
(
"all"
)
activate_uid_ctr_ios
=
get_activate_uid_ctr
(
"ios"
)
activate_uid_ctr_ios
=
get_activate_uid_ctr
(
"ios"
)
activate_uid_ctr_android
=
get_activate_uid_ctr
(
"android"
)
activate_uid_ctr_android
=
get_activate_uid_ctr
(
"android"
)
activate_uid_ctr_result
=
[
activate_uid_ctr_all
,
activate_uid_ctr_ios
,
activate_uid_ctr_android
]
print
(
"已获取活跃用户点击率"
)
print
(
"已获取活跃用户点击率"
)
#1.4 点击answer用户占比(=点击answer用户数/曝光answer用户数)
#1.4 点击answer用户占比(=点击answer用户数/曝光answer用户数)
...
@@ -79,7 +80,7 @@ def main():
...
@@ -79,7 +80,7 @@ def main():
output_path
=
DIRECTORY_PATH
+
"result_{}.txt"
.
format
(
get_yesterday_date
())
output_path
=
DIRECTORY_PATH
+
"result_{}.txt"
.
format
(
get_yesterday_date
())
with
open
(
output_path
,
'w'
)
as
f
:
with
open
(
output_path
,
'w'
)
as
f
:
...
...
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