Create a conditional multi-model Endpoint on Sagemaker

With sagemaker multi-model endpoint, is it possible to use the model based on a condition.

For example, let's assume that I have 3 models. Model-1 predicts type of disease (diabetes or arthritis) Based on the prediction of model-1, I want to chose which next model the input data should be passed into. If model-1 output is diabetes, I want to use model-2 next for prediction, and not model-3. Similarly, if model-1 output is arthritis, I want to use model-3 next for prediction and skip using model-2.

Is this possible to do in sagemaker with a multi-model endpoint?

0 ответов