blob: 989f200abb2f2030bf48a0c5f040c6706fd9da61 [file] [log] [blame]
"""
Send sample query to prediction engine
"""
import predictionio
engine_client = predictionio.EngineClient(url="http://localhost:8000")
print engine_client.send_query({"users": ["u1", "u3"], "num": 10})