Skip to content

Commit 02abc04

Browse files
authored
Merge pull request #20 from ruddyscent/wip
Address a syntax error in model.py and updates a dependency version for compatibility improvements.
2 parents 9fa8890 + c68758d commit 02abc04

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

environment.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ dependencies:
99
- pytest=8.3.2
1010
- requests==2.32.3
1111
- fastapi=0.112.0
12-
- uvicorn=0.30.5
12+
- typing_extensions=4.11.0
13+
- uvicorn=0.32.0
1314
- gunicorn=22.0.0
1415
- pip=23.2.1

ml/model.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def train_model(X_train, y_train):
1919
model
2020
Trained machine learning model.
2121
"""
22-
# TODO: implement the function
22+
# TODO: implement the function
2323
pass
2424

2525

@@ -123,6 +123,6 @@ def performance_on_categorical_slice(
123123
# for input data, use data in column given as "column_name", with the slice_value
124124
# use training = False
125125
)
126-
preds = # your code here to get prediction on X_slice using the inference function
126+
preds = None # your code here to get prediction on X_slice using the inference function
127127
precision, recall, fbeta = compute_model_metrics(y_slice, preds)
128128
return precision, recall, fbeta

0 commit comments

Comments
 (0)