Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
model_monitoring_monthly
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
decision-science
model_monitoring_monthly
Commits
16cadb6c
Commit
16cadb6c
authored
May 18, 2020
by
舒皓月
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20200518_2
parent
dac3f49a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
AUC_time.py
AUC_time.py
+9
-0
No files found.
AUC_time.py
View file @
16cadb6c
...
@@ -320,6 +320,15 @@ class AUCMonitor:
...
@@ -320,6 +320,15 @@ class AUCMonitor:
else
:
else
:
self
.
mongo_df
=
pd
.
read_csv
(
self
.
save_path
+
'data/mongo_data.csv'
)
self
.
mongo_df
=
pd
.
read_csv
(
self
.
save_path
+
'data/mongo_data.csv'
)
self
.
mongo_df
[
'applied_type'
]
=
self
.
mongo_df
[
'wf_loan_type'
]
.
apply
(
func_0
)
self
.
mongo_df
[
'applied_at'
]
=
self
.
mongo_df
[
'wf_created_at'
]
self
.
mongo_df
[
'applied_from'
]
=
self
.
mongo_df
[
'wf_biz_channel'
]
self
.
mongo_df
[
'applied_channel'
]
=
self
.
mongo_df
[
'applied_channel_cn'
]
del
self
.
mongo_df
[
'wf_loan_type'
]
del
self
.
mongo_df
[
'wf_created_at'
]
del
self
.
mongo_df
[
'wf_biz_channel'
]
del
self
.
mongo_df
[
'applied_channel_cn'
]
self
.
mongo_df
=
self
.
mongo_df
.
loc
[
self
.
mongo_df
[
'applied_type'
]
.
notna
()]
self
.
mongo_df
=
self
.
mongo_df
.
loc
[
self
.
mongo_df
[
'applied_type'
]
.
notna
()]
# 去除巧盼渠道.
# 去除巧盼渠道.
self
.
mongo_df
=
self
.
mongo_df
.
loc
[
self
.
mongo_df
[
'applied_channel'
]
!=
'巧盼API'
]
self
.
mongo_df
=
self
.
mongo_df
.
loc
[
self
.
mongo_df
[
'applied_channel'
]
!=
'巧盼API'
]
...
...
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