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
32370ae6
Commit
32370ae6
authored
Nov 06, 2019
by
高雅喆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
4490b0c6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
gyz_test.py
eda/smart_rank/gyz_test.py
+9
-0
No files found.
eda/smart_rank/gyz_test.py
View file @
32370ae6
...
...
@@ -69,6 +69,15 @@ with open("/home/gmuser/gyz/log/have_search_device_20191105.csv", "r") as f:
search_words
=
eval
(
data
[
1
])
device_info
.
append
([
device
,
search_words
])
pay_time
=
1572883200
# 获取搜索词及其近义词对应的tag
all_word_tags
=
get_all_word_tags
()
all_tag_tag_type
=
get_all_tag_tag_type
()
# 3级tag对应的2级tag
all_3tag_2tag
=
get_all_3tag_2tag
()
# 标签id对应的中文名称
all_tags_name
=
get_all_tags_name
()
# rdd
sparkConf
=
SparkConf
()
.
set
(
"spark.hive.mapred.supports.subdirectories"
,
"true"
)
\
...
...
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