A machine learning engineer is using the following code block to scale the inference of a single-node model on a Spark DataFrame with one million records:

Assuming the default Spark configuration is in place, which of the following is a benefit of using an Iterator?
Using an iterator in the pandas_udf ensures that the model only needs to be loaded once per executor rather than once per batch. This approach reduces the overhead associated with repeatedly loading the model during the inference process, leading to more efficient and faster predictions. The data will be distributed across multiple executors, but each executor will load the model only once, optimizing the inference process.
Databricks documentation on pandas UDFs: Pandas UDFs
Johnson
9 months agoLaticia
9 months agoPortia
9 months agoKathrine
10 months agoJackie
10 months agoSkye
10 months agoAnna
10 months agoGregoria
10 months agoLatrice
11 months agoMyra
11 months agoMiriam
11 months agoBette
11 months agoLindsay
11 months agoDaren
11 months agoLing
11 months agoMaxima
11 months agoNu
11 months agoShizue
11 months agoDerrick
11 months agoGlendora
11 months agoMammie
2 years agoXochitl
2 years agoJospeh
2 years agoBernadine
2 years agoArthur
2 years agoIzetta
2 years agoDylan
2 years agoCallie
2 years agoTayna
2 years agoGerman
2 years agoAsuncion
2 years agoRebeca
2 years agoCarissa
2 years agoSkye
2 years agoYen
2 years agoErasmo
2 years agoLaura
2 years agoGlynda
2 years agoKaran
2 years ago