Tune xgb pam
1 2 3 4 5 6 7 8 9 10 11 12 13  | 
data | 
 training dataset.   | 
param_df | 
 A data frame of parameter combinations to tune. One
row contains one parameter set that will be passed on to
  | 
nrounds | 
 max number of boosting iterations.  | 
nfold | 
 Number of cross-valdation folds.  | 
ped_params | 
 List of parameters used to transform data into PED format.  | 
early_stopping_rounds | 
 If   | 
verbose | 
 If 0, xgboost will stay silent. If 1, it will print information about performance.
If 2, some additional information will be printed out.
Note that setting   | 
print_every_n | 
 Print each n-th iteration evaluation messages when   | 
... | 
 other parameters to pass to   | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.