🔥 3-day streak
Databricks Certified Machine Learning Associate34 / 137
Question 34 of 137
A data scientist is using Hyperopt's fmin() with the TPE algorithm to tune a scikit-learn classifier. The objective is to maximize validation accuracy. Inside the objective function, the model is trained and cross-validated, producing a mean accuracy score stored in a variable named acc. What should the objective function return so that Hyperopt tunes the model correctly?
Reviewed for accuracy · Report an issueNext question