Reputation: 76
I've created a regression model in Python and trying to host the model on Tableau.. I'm using this article as reference: Link
This is what I tried:
De-pickle model:
rf_reg = pickle.load(open('CostEngine.pkl','rb'))
Try to host locally first:
client = Client('http://localhost:9004/')
client.deploy('Cost Engine',
rf_reg,
'Cost Engine returns logistics costs.'
, override = True)
However I'm getting this error: ConnectionError: ('Connection aborted.', BadStatusLine('ÿ\x00\x00\x00\x00\x00\x00\x00\x01\x7f'))
Upvotes: 1
Views: 50