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
e0cf3674
Commit
e0cf3674
authored
Jan 04, 2019
by
王志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
找bug
parent
41daeaa4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Recommendation_strategy_all.scala
...src/main/scala/com/gmei/Recommendation_strategy_all.scala
+3
-3
No files found.
eda/feededa/src/main/scala/com/gmei/Recommendation_strategy_all.scala
View file @
e0cf3674
...
@@ -201,7 +201,7 @@ object Recommendation_strategy_all {
...
@@ -201,7 +201,7 @@ object Recommendation_strategy_all {
.
join
(
device_num_hit
,
"stat_date"
)
.
join
(
device_num_hit
,
"stat_date"
)
result1
.
show
()
result1
.
show
()
GmeiConfig
.
writeToJDBCTable
(
result1
,
"Recommendation_strategy_temp"
,
SaveMode
.
Append
)
//
GmeiConfig.writeToJDBCTable(result1, "Recommendation_strategy_temp", SaveMode.Append)
//device_id尾号1有点击用户日记本点击数
//device_id尾号1有点击用户日记本点击数
...
@@ -298,7 +298,7 @@ object Recommendation_strategy_all {
...
@@ -298,7 +298,7 @@ object Recommendation_strategy_all {
.
join
(
device_all_cover
,
"stat_date"
)
.
join
(
device_all_cover
,
"stat_date"
)
result2
.
show
()
result2
.
show
()
GmeiConfig
.
writeToJDBCTable
(
result2
,
"strategy_other"
,
SaveMode
.
Append
)
//
GmeiConfig.writeToJDBCTable(result2, "strategy_other", SaveMode.Append)
//统计新用户点击率
//统计新用户点击率
...
@@ -371,7 +371,7 @@ object Recommendation_strategy_all {
...
@@ -371,7 +371,7 @@ object Recommendation_strategy_all {
.
join
(
imp_count_newUser_all
,
"stat_date"
)
.
join
(
imp_count_newUser_all
,
"stat_date"
)
result3
.
show
()
result3
.
show
()
GmeiConfig
.
writeToJDBCTable
(
result3
,
"Recommendation_strategy_newUser"
,
SaveMode
.
Append
)
//
GmeiConfig.writeToJDBCTable(result3, "Recommendation_strategy_newUser", SaveMode.Append)
}
}
...
...
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