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
7086c675
Commit
7086c675
authored
Feb 18, 2019
by
张彦钊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改文件写入路径
parent
6c70a82a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
feature.py
tensnsorflow/es/feature.py
+2
-1
pipeline.sh
tensnsorflow/es/pipeline.sh
+1
-1
to_database.py
tensnsorflow/es/to_database.py
+1
-1
No files found.
tensnsorflow/es/feature.py
View file @
7086c675
...
...
@@ -163,7 +163,8 @@ def get_predict(date,value_map):
if
__name__
==
'__main__'
:
path
=
"/home/gmuser/esmm_data/"
# path = "/home/gmuser/esmm_data/"
path
=
"/data/esmm/"
date
,
value
=
get_data
()
get_predict
(
date
,
value
)
tensnsorflow/es/pipeline.sh
View file @
7086c675
...
...
@@ -2,7 +2,7 @@
PYTHON_PATH
=
/home/gaoyazhe/miniconda3/bin/python
MODEL_PATH
=
/srv/apps/ffm-baseline/tensnsorflow/es
DATA_PATH
=
/
home/gmuser/esmm_data
DATA_PATH
=
/
data/esmm
echo
"rm leave tfrecord"
rm
${
DATA_PATH
}
/tr/
*
...
...
tensnsorflow/es/to_database.py
View file @
7086c675
...
...
@@ -37,7 +37,7 @@ def native_set_join(lst):
def
main
():
# native queue
df2
=
pd
.
read_csv
(
'/
home/gmuser/esmm_data
/native.csv'
)
df2
=
pd
.
read_csv
(
'/
data/esmm
/native.csv'
)
df2
[
'cid_id'
]
=
df2
[
'cid_id'
]
.
astype
(
str
)
df1
=
pd
.
read_csv
(
"/home/gmuser/esmm_data/native/pred.txt"
,
sep
=
'
\t
'
,
header
=
None
,
names
=
[
"ctr"
,
"cvr"
,
"ctcvr"
])
...
...
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