Kfp | Movie
All components are and declared as KFP ContainerOp (or KFP SDK v2 @component ). They exchange artifacts through a shared Persistent Volume (or an object store like S3/GCS).
# Dockerfile.evaluate FROM python:3.9-slim WORKDIR /app RUN pip install pandas pyarrow lightfm numpy scikit-learn COPY evaluate.py . ENTRYPOINT ["python", "evaluate.py"] # evaluate.py import os, pandas as pd, numpy as np, pickle from lightfm import LightFM from lightfm.evaluation import auc_score, precision_at_k, recall_at_k from sklearn.metrics import mean_squared_error kfp movie
We’ll use (formerly KFServing) to serve the model via a REST endpoint. The component does three things: All components are and declared as KFP ContainerOp
Goal: