Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
gm_strategy_cvr
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rank
gm_strategy_cvr
Commits
dc4c7c67
Commit
dc4c7c67
authored
Aug 12, 2020
by
赵威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update click df number
parent
a8f0a631
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
click_fe.py
src/models/esmm/fe/click_fe.py
+1
-1
No files found.
src/models/esmm/fe/click_fe.py
View file @
dc4c7c67
...
...
@@ -6,7 +6,7 @@ def click_feature_engineering(click_df, conversion_df):
# conversion_df = conversion_df.copy()
click_df
.
rename
(
columns
=
{
"label"
:
"click_label"
},
inplace
=
True
)
click_df
=
click_df
.
sample
(
conversion_df
.
shape
[
0
]
*
10
)
#
click_df = click_df.sample(conversion_df.shape[0] * 10)
print
(
"click_df: "
+
str
(
click_df
.
shape
))
conversion_df
.
rename
(
columns
=
{
"label"
:
"conversion_label"
},
inplace
=
True
)
print
(
"conversion_df: "
+
str
(
conversion_df
.
shape
))
...
...
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