A data scientist was taught during training to always apply 5-fold cross-validation in their model-development workflow. A colleague notes that, when (k > 2), there are situations in which a train-validation split may be preferable to k-fold cross-validation.
Which of the following represents a potential advantage of using a train-validation split rather than k-fold cross-validation in this situation?
A data scientist is using MLflow to optimize a complex deep-learning model with these hyperparameters:
learning_rate: continuous (range: 0.0001 to 0.1)num_layers: discrete (range: 2 to 10)dxopout_rate: continuous (range: 0.1 to 0.5)batch_size: discrete (range: 32 to 256)
The model requires about 2 hours to train for one hyperparameter setting, and the data scientist has a 24-hour tuning time budget.
Which hyperparameter-tuning method is appropriate for this scenario?
Community Discussion
Which of the following tools can facilitate Bayesian hyperparameter tuning for distributed Spark ML machine-learning models?
Community Discussion
A data scientist is calculating feature importance as part of an MLflow run. The feature-importance values are stored in the pandas DataFrame importance_df and written as a CSV to the DBFS location importance_path. They want to log these values with their active MLflow run.
Which of the following lines of code can the data scientist use to log the feature-importance values with their active MLflow run?
Community Discussion
Which of the following is an advantage of using vectorized pandas UDFs rather than standard PySpark UDFs?



Community Discussion