Skip to content

Commit 39dc88d

Browse files
authored
Update how-to-batch-scoring-script.md
1 parent 549ca0b commit 39dc88d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/machine-learning/how-to-batch-scoring-script.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Notice that in this example we are placing the model in a global variable `model
5454
Use the `run(mini_batch: List[str]) -> Union[List[Any], pandas.DataFrame]` method to perform the scoring of each mini-batch generated by the batch deployment. Such method will be called once per each `mini_batch` generated for your input data. Batch deployments read data in batches accordingly to how the deployment is configured.
5555

5656
```python
57-
def run(mini_batch):
57+
def run(mini_batch: List[str]) -> Union[List[Any], pandas.DataFrame]:
5858
results = []
5959

6060
for file in mini_batch:

0 commit comments

Comments
 (0)