Created
September 5, 2023 23:41
-
-
Save Hehehe421/be8aef7b1c777a596d0f45b4a0e1be7f 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
# Testing | |
if __name__ == "__main__": | |
# Create an instance of the RankingModel class | |
model = RankingModel() | |
# Define model_input as a dictionary (region is not used in this case) | |
model_input = {"region": ["Region_3"], 'user_id': [100]} | |
# Call the predict method of the model | |
result = model.predict(None, model_input) | |
# Print the resulting ranked listings | |
print(result) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment