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
bbdc3ade
Commit
bbdc3ade
authored
Oct 16, 2019
by
高雅喆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
4e88fce9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
evaluation_metrics.py
eda/smart_rank/evaluation_metrics.py
+2
-2
No files found.
eda/smart_rank/evaluation_metrics.py
View file @
bbdc3ade
...
...
@@ -399,7 +399,7 @@ if __name__ == '__main__':
no_coincide_devices_debug
[
device
]
=
{
"画像的前{top_n}个tag"
.
format
(
top_n
=
args
.
portrait_top_n
):
[
debug_device_portrait_result
[
tag
]
for
tag
in
device_portrait_n
],
"用户
下单的美购
对应的tag"
:
[
debug_device_portrait_result
.
get
(
tag
,
dict
())
for
tag
in
device_order_tags
]
"用户
行为
对应的tag"
:
[
debug_device_portrait_result
.
get
(
tag
,
dict
())
for
tag
in
device_order_tags
]
}
log2
.
info
(
"-"
*
66
)
log2
.
info
(
no_coincide_devices_debug
)
...
...
@@ -427,7 +427,7 @@ if __name__ == '__main__':
log1
.
info
({
"统计画像匹配度所用数据的日期"
:
order_date
})
log1
.
info
({
"统计画像的选取前n个tag"
:
cmd_portrait_top_n
})
log1
.
info
({
"重合个数"
:
cmd_coincide_n
})
log1
.
info
({
"
下单
人数"
:
result
[
"device_count"
]})
log1
.
info
({
"
有行为的
人数"
:
result
[
"device_count"
]})
log1
.
info
({
"比对的上的人数"
:
result
[
"coincide_count"
]})
log1
.
info
({
"匹配度"
:
result
[
"coincide_rate"
]})
log1
.
info
({
"比对不上的有画像的人数"
:
result
[
"not_coincide_have_portrait_count"
]})
...
...
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