
Ultimate access to all questions.
You are working on a machine learning project using Spark MLlib and Hyperopt for hyperparameter tuning. Your project requires the use of a custom objective function that takes into account additional business-specific metrics. How would you integrate this custom objective function with Hyperopt's optimization process?
A
You cannot use a custom objective function with Hyperopt as it only supports built-in objective functions.
B
You can define your custom objective function and pass it directly to Hyperopt's fmin function as the 'func' parameter.
C
You need to modify the source code of Hyperopt to include your custom objective function.
D
You should use a different hyperparameter optimization library that supports custom objective functions.