Python SDK
Installation
pip install hydrosdkUsage
from hydrosdk import Cluster, Application
import pandas as pd
cluster = Cluster("http://localhost", grpc_address="localhost:9090")
app = Application.find(cluster, "my-model")
predictor = app.predictor()
df = pd.read_csv("path/to/data.csv")
for row in df.itertuples(index=False):
predictor.predict(row)Last updated
Was this helpful?