Skip to content

Commit b029d03

Browse files
committed
changes done
1 parent 1717e11 commit b029d03

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

0_model_training_pipeline.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
" ParameterString,\n",
107107
" ParameterFloat,\n",
108108
")\n",
109-
"\n",
109+
" \n",
110110
"from sagemaker.estimator import Estimator\n",
111111
"from sklearn.metrics import roc_auc_score\n",
112112
"from sagemaker.inputs import TrainingInput\n",

2_realtime_inference.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@
381381
"\n",
382382
"## create this from the config param.\n",
383383
"body_str = \"total_extended_price,avg_discount,total_quantity\\n1,2,3\\n66.77,12,2\"\n",
384-
"\n",
384+
" \n",
385385
"response = smr.invoke_endpoint(\n",
386386
" EndpointName=endpoint_name,\n",
387387
" Body=body_str.encode('utf-8') ,\n",

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ To run this code follow the prerequisites below and then run the notebooks in th
1111
The following prerequisites need to be in place before running this code.
1212

1313
#### PrestoDB
14-
14+
1515
We will use the built-in datasets available in PrestoDB for this repo. Following the instructions below to setup PrestoDB on an Amazon EC2 instance in your account. ***If you already have access to a PrestoDB instance then you can skip this section but keep its connection details handy (see the `presto` section in the [`config`](./config.yml) file)***.
1616

1717
1. Create a security group to limit access to Presto. Create a security group called **MyPrestoSG** with two inbound rules to only allow access to Presto.

config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ aws:
1919
# Boolean that determines whether to encrypt inter-container traffic.
2020
# Default value is None.
2121
encrypt_inter_container_traffic:
22-
22+
2323
presto:
2424
host: <your-presto-server-ip>
2525
parameter: "<your-presto-port-number"

utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
logging.basicConfig(format='[%(asctime)s] p%(process)s {%(filename)s:%(lineno)d} %(levelname)s - %(message)s', level=logging.INFO)
1111
logger = logging.getLogger(__name__)
1212

13-
# utility functions
13+
#utility functions
1414

1515
make_s3_prefix = lambda x, dttm: f"{x}/yyyy={dttm.year}/mm={dttm.month}/dd={dttm.day}/hh={dttm.hour}/mm={dttm.minute}"
16-
16+
1717
def print_pipeline_execution_summary(steps, name):
1818
failed_steps = 0
1919
steps_that_had_to_retried = 0

0 commit comments

Comments
 (0)