Skip to content

Commit 83e8f56

Browse files
Disabling schema check
1 parent 419b310 commit 83e8f56

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/fmcore/framework/_predictions.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -193,13 +193,13 @@ def from_task_data(
193193
infer_ground_truths=False,
194194
infer_features=False,
195195
)
196-
if inferred_pred_schema.columns_set < set(pred_cols):
197-
raise ValueError(
198-
f"Could not infer how predictions dataframe columns map to MLTypes:\n"
199-
f"Predictions columns: {pred_cols}\n"
200-
f"Inferred MLTypes for predictions columns: {inferred_pred_schema.predictions_schema}\n"
201-
f"All inferred MLTypes: {inferred_pred_schema}"
202-
)
196+
# if inferred_pred_schema.columns_set < set(pred_cols):
197+
# raise ValueError(
198+
# f"Could not infer how predictions dataframe columns map to MLTypes:\n"
199+
# f"Predictions columns: {pred_cols}\n"
200+
# f"Inferred MLTypes for predictions columns: {inferred_pred_schema.predictions_schema}\n"
201+
# f"All inferred MLTypes: {inferred_pred_schema}"
202+
# )
203203
predictions_schema: MLTypeSchema = inferred_pred_schema.predictions_schema
204204

205205
## TODO: update this line after supporting ScalableDataFrame.merge

0 commit comments

Comments
 (0)