Your team is training a scikit-learn Random Forest model on Vertex AI using the Python package approach (not a container). After 2 hours, the job completes but the model performance is significantly worse than expected. You notice the training data has 500,000 rows and 200 features. What is the most likely issue?
- A. Scikit-learn's Random Forest is loading the entire dataset into memory, exceeding available RAM
- B. The random_state parameter was not fixed, causing non-deterministic results
- C. The max_depth parameter was set too high, causing the model to overfit the training data
- D. The n_jobs parameter was not set to utilize all available CPU cores during training✓ Correct
Explanation
Option 0 is correct. If n_jobs is not explicitly set to -1 or a positive value, scikit-learn defaults to n_jobs=1, using only a single core. With 500K rows and 200 features, parallelization is critical for performance. Option 1 is less likely because scikit-learn processes data efficiently and Vertex AI workers have sufficient RAM. Option 2 is wrong because non-determinism causes inconsistent results but not systematically worse performance. Option 3 is speculative without knowing the actual max_depth setting or whether overfitting is the issue; the question suggests a training speed/efficiency problem rather than model quality.