Created
April 7, 2022 07:09
-
-
Save DaveFlynn/bacc42f60bd31f61da98c3012155d339 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
import os | |
import pandas as pd | |
import numpy as np | |
class Model(): | |
def __init__(self, model_uri): | |
print(model_uri) | |
print(os.listdir(model_uri)) | |
self.model_uri = model_uri | |
def load(self): | |
# Please write load model method below. | |
pass | |
def predict(self, X, feature_names = None, meta = None): | |
result = {"result": "Hello {}.".format(X)} | |
# Please write the prediction method below. | |
return result |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment