Skip to content

Commit 50cd7d1

Browse files
Madhur prashantMadhur prashant
authored andcommitted
working code
1 parent 33f6c85 commit 50cd7d1

File tree

4 files changed

+12
-11
lines changed

4 files changed

+12
-11
lines changed

0_model_training_pipeline.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1422,7 +1422,7 @@
14221422
"name": "python",
14231423
"nbconvert_exporter": "python",
14241424
"pygments_lexer": "ipython3",
1425-
"version": "3.11.5"
1425+
"version": "3.11.7"
14261426
}
14271427
},
14281428
"nbformat": 4,

1_batch_transform_pipeline.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1239,7 +1239,7 @@
12391239
"name": "python",
12401240
"nbconvert_exporter": "python",
12411241
"pygments_lexer": "ipython3",
1242-
"version": "3.11.5"
1242+
"version": "3.11.7"
12431243
}
12441244
},
12451245
"nbformat": 4,

2_realtime_inference.ipynb

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
"import sagemaker\n",
5252
"import sagemaker.session\n",
5353
"from datetime import datetime\n",
54+
"from utils import load_config\n",
5455
"from typing import Dict, List\n",
5556
"from sagemaker.workflow.pipeline_context import PipelineSession"
5657
]
@@ -1007,9 +1008,9 @@
10071008
],
10081009
"instance_type": "ml.t3.medium",
10091010
"kernelspec": {
1010-
"display_name": "Python 3 (Data Science 3.0)",
1011+
"display_name": "base",
10111012
"language": "python",
1012-
"name": "python3__SAGEMAKER_INTERNAL__arn:aws:sagemaker:us-east-1:081325390199:image/sagemaker-data-science-310-v1"
1013+
"name": "python3"
10131014
},
10141015
"language_info": {
10151016
"codemirror_mode": {
@@ -1021,7 +1022,7 @@
10211022
"name": "python",
10221023
"nbconvert_exporter": "python",
10231024
"pygments_lexer": "ipython3",
1024-
"version": "3.10.6"
1025+
"version": "3.11.7"
10251026
}
10261027
},
10271028
"nbformat": 4,

config.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ aws:
99
s3_prefix: mlops-pipeline-model
1010

1111
presto:
12-
host: 3.93.186.209
13-
parameter: "8080"
14-
presto_credentials: presto-credentials
15-
catalog: tpch
16-
schema: tiny
12+
host: <0.0.0.0>
13+
parameter: "0000"
14+
presto_credentials: <presto_credentials>
15+
catalog: <catalog>
16+
schema: <schema>
1717

1818
## User needs to configure the following
1919
pipeline:
@@ -93,7 +93,7 @@ tuning_step:
9393

9494
evaluation_step:
9595
step_name: Evaluate-Model
96-
accuracy_condition_threshold: 0.7
96+
accuracy_condition_threshold: 0.40
9797
instance_type: ml.m5.xlarge
9898
instance_count: 1
9999
evaluation_filename: evaluation.json

0 commit comments

Comments
 (0)