SYMBOL INDEX (76 symbols across 32 files) FILE: 05-deployment/code/ping.py function ping (line 6) | def ping(): FILE: 05-deployment/code/predict.py function predict (line 16) | def predict(): FILE: 05-deployment/code/train.py function train (line 66) | def train(df_train, y_train, C=1.0): function predict (line 78) | def predict(df, dv, model): FILE: 05-deployment/workshop/ping.py function ping (line 7) | def ping(): FILE: 05-deployment/workshop/predict.py class Customer (line 11) | class Customer(BaseModel): class PredictResponse (line 38) | class PredictResponse(BaseModel): function predict_single (line 49) | def predict_single(customer): function predict (line 55) | def predict(customer: Customer) -> PredictResponse: FILE: 05-deployment/workshop/train.py function load_data (line 20) | def load_data(): function train_model (line 41) | def train_model(df): function save_model (line 77) | def save_model(pipeline, output_file): FILE: 09-serverless/code/lambda_function.py function predict (line 33) | def predict(url): function lambda_handler (line 45) | def lambda_handler(event, context): FILE: 09-serverless/workshop/lambda-keras/lambda_function.py function preprocess_pytorch (line 6) | def preprocess_pytorch(X): function predict (line 46) | def predict(url): function lambda_handler (line 53) | def lambda_handler(event, context): FILE: 09-serverless/workshop/lambda-onnx/lambda_function.py function preprocess_pytorch_style (line 11) | def preprocess_pytorch_style(X): function predict (line 55) | def predict(url): function lambda_handler (line 62) | def lambda_handler(event, context): FILE: 09-serverless/workshop/lambda-sklearn/lambda_function.py function predict_single (line 6) | def predict_single(customer): function lambda_handler (line 10) | def lambda_handler(event, context): FILE: 09-serverless/workshop/train/train.py function load_data (line 15) | def load_data(): function train_model (line 34) | def train_model(df): function save_model (line 70) | def save_model(pipeline, output_file): FILE: 10-kubernetes/code/gateway.py function prepare_request (line 28) | def prepare_request(X): function prepare_response (line 51) | def prepare_response(pb_response): function predict (line 56) | def predict(url): function predict_endpoint (line 68) | def predict_endpoint(): FILE: 10-kubernetes/code/ping/ping.py function ping (line 6) | def ping(): FILE: 10-kubernetes/code/proto.py function dtypes_as_dtype (line 4) | def dtypes_as_dtype(dtype): function make_tensor_proto (line 10) | def make_tensor_proto(data): function np_to_protobuf (line 23) | def np_to_protobuf(data): FILE: 10-kubernetes/workshop/load_test.py function send_request (line 13) | def send_request(_): FILE: 10-kubernetes/workshop/service/app.py function preprocess_pytorch_style (line 10) | def preprocess_pytorch_style(X): class PredictRequest (line 46) | class PredictRequest(BaseModel): class PredictResponse (line 50) | class PredictResponse(BaseModel): function predict (line 56) | def predict(url: str): function root (line 69) | def root(): function health (line 74) | def health(): function predict_endpoint (line 79) | def predict_endpoint(request: PredictRequest): FILE: 11-kserve/code/image_transfomer/image_transformer.py class ImageTransformer (line 7) | class ImageTransformer(kserve.KFModel): method __init__ (line 8) | def __init__(self, name: str, predictor_host: str): method prepare_input (line 25) | def prepare_input(self, url: str) -> List: method preprocess (line 29) | def preprocess(self, request: Dict) -> Dict: method postprocess (line 38) | def postprocess(self, response: Dict) -> Dict: FILE: cohorts/2021/05-deployment/homework/q3_test.py function load (line 3) | def load(filename): FILE: cohorts/2021/05-deployment/homework/q4_predict.py function load (line 7) | def load(filename): function predict (line 18) | def predict(): FILE: cohorts/2021/05-deployment/homework/q6_predict.py function load (line 7) | def load(filename): function predict (line 18) | def predict(): FILE: cohorts/2021/09-serverless/homework/homework.py function download_image (line 19) | def download_image(url): function prepare_image (line 27) | def prepare_image(img, target_size): function prepare_input (line 34) | def prepare_input(x): function predict (line 47) | def predict(url): function lambda_handler (line 63) | def lambda_handler(event, context): FILE: cohorts/2022/05-deployment/homework/q3_test.py function load (line 4) | def load(filename: str): FILE: cohorts/2022/05-deployment/homework/q4_predict.py function load (line 8) | def load(filename: str): function predict (line 20) | def predict(): FILE: cohorts/2022/05-deployment/homework/q6_predict.py function load (line 8) | def load(filename: str): function predict (line 20) | def predict(): FILE: cohorts/2022/07-bento-production/locustfile.py class MLZoomUser (line 7) | class MLZoomUser(HttpUser): method classify (line 19) | def classify(self): FILE: cohorts/2022/09-serverless/homework/homework.py function download_image (line 19) | def download_image(url): function prepare_image (line 27) | def prepare_image(img, target_size): function prepare_input (line 34) | def prepare_input(x): function predict (line 47) | def predict(url): function lambda_handler (line 63) | def lambda_handler(event, context): FILE: cohorts/2023/05-deployment/homework/q3_test.py function load (line 4) | def load(filename: str): FILE: cohorts/2023/05-deployment/homework/q4_predict.py function load (line 8) | def load(filename: str): function predict (line 20) | def predict(): FILE: cohorts/2023/05-deployment/homework/q6_predict.py function load (line 8) | def load(filename: str): function predict (line 20) | def predict(): FILE: cohorts/2025/05-deployment/homework/main.py function main (line 1) | def main(): FILE: cohorts/2025/05-deployment/homework/q4_predict.py function predict (line 13) | def predict(lead: dict) -> dict: FILE: cohorts/2025/05-deployment/homework/q6_predict.py function predict (line 13) | def predict(lead: dict) -> dict: