Created
March 16, 2021 17:10
-
-
Save oscar-defelice/eedf3bcf3c881ae2d9c1bf403817715c to your computer and use it in GitHub Desktop.
This file contains hidden or 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 json | |
from .regressor import PriceEstimator | |
MODEL_FOLDER = os.getenv("MODEL_FOLDER") | |
ESTIMATOR = PriceEstimator.from_pretrained(MODEL_FOLDER) | |
def get_predictions(X): | |
return ESTIMATOR.predict(X) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment