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
1d45c955
Commit
1d45c955
authored
Aug 13, 2018
by
张彦钊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
在每个py文件最上方添加执行环境
parent
71a0fed0
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
21 additions
and
0 deletions
+21
-0
aucCaculate.py
aucCaculate.py
+2
-0
config.py
config.py
+1
-0
delete_temp_csv.py
delete_temp_csv.py
+2
-0
diaryCandidateSet.py
diaryCandidateSet.py
+2
-0
diaryTraining.py
diaryTraining.py
+2
-0
predictDiary.py
predictDiary.py
+2
-0
prepareData.py
prepareData.py
+2
-0
processData.py
processData.py
+2
-0
train.py
train.py
+2
-0
userProfile.py
userProfile.py
+2
-0
utils.py
utils.py
+2
-0
No files found.
aucCaculate.py
View file @
1d45c955
#!/usr/bin/python3
from
eda.ml_tools.rocCurve
import
get_roc_curve
import
pandas
as
pd
from
config
import
*
...
...
config.py
View file @
1d45c955
#!/usr/bin/python3
DIRECTORY_PATH
=
'/data2/models/'
VALIDATION_DATE
=
'2018-08-05'
...
...
delete_temp_csv.py
View file @
1d45c955
#!/usr/bin/python3
import
os
import
time
from
config
import
*
...
...
diaryCandidateSet.py
View file @
1d45c955
#!/usr/bin/python3
import
pymysql
import
pandas
as
pd
from
utils
import
*
...
...
diaryTraining.py
View file @
1d45c955
#!/usr/bin/python3
import
xlearn
as
xl
from
config
import
*
...
...
predictDiary.py
View file @
1d45c955
#!/usr/bin/python3
from
config
import
*
import
pandas
as
pd
import
pickle
...
...
prepareData.py
View file @
1d45c955
#!/usr/bin/python3
from
utils
import
con_sql
import
datetime
...
...
processData.py
View file @
1d45c955
#!/usr/bin/python3
import
time
from
prepareData
import
fetch_data
from
utils
import
FFMFormatPandas
...
...
train.py
View file @
1d45c955
#!/usr/bin/python3
from
processData
import
*
from
diaryTraining
import
*
from
diaryCandidateSet
import
get_eachCityDiaryTop3000
...
...
userProfile.py
View file @
1d45c955
#!/usr/bin/python3
from
utils
import
con_sql
from
datetime
import
datetime
...
...
utils.py
View file @
1d45c955
#!/usr/bin/python3
# encoding = "utf-8"
import
pymysql
import
pandas
as
pd
...
...
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