blob: 7eaf53e96872787a9c230523c8a8f58eef934bcd [file] [log] [blame]
"""
Send sample query to prediction engine
"""
import predictionio
engine_client = predictionio.EngineClient(url="http://localhost:8000")
print engine_client.send_query({"user": "1", "num": 4})