-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfullprocess.py
More file actions
40 lines (20 loc) · 946 Bytes
/
fullprocess.py
File metadata and controls
40 lines (20 loc) · 946 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import training
import scoring
import deployment
import diagnostics
import reporting
################## Check and read new data
# First, read ingestedfiles.txt
# Second, determine whether the source data folder has files that aren't listed
# in ingestedfiles.txt
################## Deciding whether to proceed, part 1
# If you found new data, you should proceed. otherwise, do end the process here
################## Checking for model drift
# Check whether the score from the deployed model is different from the score
# from the model that uses the newest ingested data
################## Deciding whether to proceed, part 2
# If you found model drift, you should proceed. otherwise, do end the process here
################## Re-deployment
# If you found evidence for model drift, re-run the deployment.py script
################## Diagnostics and reporting
# Run diagnostics.py and reporting.py for the re-deployed model