You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/machine-learning/how-to-mlflow-batch.md
+12-14Lines changed: 12 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -223,13 +223,13 @@ Output predictions are generated in the `predictions.csv` file as indicated in t
223
223
224
224
The file is structured as follows:
225
225
226
-
* There is one row per each data point that was sent to the model. For tabular data, this means that one row is generated for each row in the input files and hence the number of rows in the generated file (`predictions.csv`) equals the sum of all the rows in all the processed files. For other data types, there is one row per each processed file.
226
+
* There is one row per each data point that was sent to the model. For tabular data, it means that the file (`predictions.csv`) contains one row for every row present in each of the processed files. For other data types (e.g. images, audio, text), there is one row per each processed file.
227
227
228
-
* Two columns are indicated:
229
-
230
-
* The file name where the data was read from. In tabular data, use this field to know which prediction belongs to which input data. For any given file, predictions are returned in the same order they appear in the input file so you can rely on the row number to match the corresponding prediction.
231
-
* The prediction associated with the input data. This value is returned "as-is" it was provided by the model's `predict().` function.
228
+
* The following columns are in the file (in order):
232
229
230
+
*`row` (optional), the corresponding row index in the input data file. This only applies if the input data is tabular. Predictions are returned in the same order they appear in the input file so you can rely on the row number to match the corresponding prediction.
231
+
*`prediction`, the prediction associated with the input data. This value is returned "as-is" it was provided by the model's `predict().` function.
232
+
*`file_name`, the file name where the data was read from. In tabular data, use this field to know which prediction belongs to which input data.
233
233
234
234
You can download the results of the job by using the job name:
235
235
@@ -248,17 +248,15 @@ Once the file is downloaded, you can open it using your favorite tool. The follo
> Notice that in this example the input data was tabular data in `CSV` format and there were 4 different input files (heart-unlabeled-0.csv, heart-unlabeled-1.csv, heart-unlabeled-2.csv and heart-unlabeled-3.csv).
0 commit comments