Created
June 21, 2024 08:16
-
-
Save eyaltrabelsi/b4a84ccb3b859ca69090c2ddfbd3529d to your computer and use it in GitHub Desktop.
Revisions
-
eyaltrabelsi created this gist
Jun 21, 2024 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ def test_integration_ml_flow(): input_df = get_production_sample(pct=0.1) features_df = feature_engineering(input_df) train_df, test_df = split_train_test(features_df) model = train_model(train_df) onnx_model = export_model(model) predictions = inference(model, inference_df) assert valid_prediction_histogram(predictions)