Created
June 3, 2019 02:57
-
-
Save hamletbatista/cff01cda629019630a675c38ab1c3c79 to your computer and use it in GitHub Desktop.
This file contains 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 characters
model = LudwigModel.load("results/experiment_run_3/model") | |
test_df = pd.read_csv("Question Report_Page 1_Table.csv") | |
#we rename Query to Questions to match what the model expects | |
predictions = model.predict(test_df.rename(columns={'Query': 'Questions'} )) | |
test_df.join(predictions)[["Query", "Category0_predictions"]] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment