...

/

Define Prediction Functions

Define Prediction Functions

Learn how to define a prediction function for model inference.

Modeling application: Inferences with user set values

In this lesson, we are going to add a prediction function. This function will take in the various inputs set by the user based on the interactions with the various Gradio components, and reshape it into a format that can be fed into the model to generate an inference.

This is not different from any function that we might write to make inferences in ...

Access this course and 1400+ top-rated courses and projects.