Added
A risk team must train a logistic regression model on several hundred million labeled rows stored in Delta tables. Feature preparation includes distributed categorical encoding and vector assembly, and the final model will score a large daily batch. The team has no requirement for custom deep-learning architectures, and the cluster budget is fixed. Which implementation is the most appropriate starting point?
Spark ML is appropriate for this large distributed tabular workload and provides pipeline transformers, estimators, and distributed batch scoring without collecting the dataset to one node. Driver-side pandas conversion exceeds the stated scale and risks memory failure. Independent local models do not produce a coordinated fit and selection procedure. Sending the entire dataset to one executor defeats distribution and creates a bottleneck.