From d528a11bef3793158c221e0352e073a5ee8d9ae5 Mon Sep 17 00:00:00 2001 From: David Espejo <82604841+davidmirror-ops@users.noreply.github.com> Date: Fri, 28 Oct 2022 14:44:31 -0500 Subject: [PATCH] Update house_price_predictor.py Proposing explicit instructions to run the model locally (assuming those instructions are right) Signed-off-by: David Espejo <82604841+davidmirror-ops@users.noreply.github.com> --- .../house_price_prediction/house_price_predictor.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cookbook/case_studies/ml_training/house_price_prediction/house_price_predictor.py b/cookbook/case_studies/ml_training/house_price_prediction/house_price_predictor.py index 8b5874dea..50f2cfb6c 100644 --- a/cookbook/case_studies/ml_training/house_price_prediction/house_price_predictor.py +++ b/cookbook/case_studies/ml_training/house_price_prediction/house_price_predictor.py @@ -268,6 +268,8 @@ def house_price_predictor_trainer( # Running the Model Locally # ========================== # -# We can run the workflow locally provided the required libraries are installed. The output would be a list of house prices, generated using the XGBoost model. +# If the required libraries are installed, we can run the model locally using the following command: +# pyflyte run --remote house_price_predictor.py house_price_predictor_trainer +# The output would be a list of house prices, generated using the XGBoost model. if __name__ == "__main__": print(house_price_predictor_trainer())