Skip to content

Instantly share code, notes, and snippets.

@nithyadurai87
Created October 23, 2018 06:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nithyadurai87/4a31b465220448ab05b84d2227e4e8a5 to your computer and use it in GitHub Desktop.
Save nithyadurai87/4a31b465220448ab05b84d2227e4e8a5 to your computer and use it in GitHub Desktop.
import os
import json
import pandas as pd
import numpy
from sklearn.externals import joblib
s = pd.read_json('./input.json')
p = joblib.load("./salepricemodel.pkl")
r = p.predict(s)
print (str(r))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment