Skip to content

Instantly share code, notes, and snippets.

@eyaltrabelsi
Created June 21, 2024 08:16
Show Gist options
  • Save eyaltrabelsi/b4a84ccb3b859ca69090c2ddfbd3529d to your computer and use it in GitHub Desktop.
Save eyaltrabelsi/b4a84ccb3b859ca69090c2ddfbd3529d to your computer and use it in GitHub Desktop.
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment