1 | ```
track.control(step_size = -1, evaluate.metric = "LL", convergence = 1e-04)
``` |

`step_size` |
record parameters every |

`convergence, evaluate.metric` |
control how to early stop |

Early stopping is controlled by **evaludate.metric** and **convergence**. If the difference of the value between two interations, which is
calculated by `evaluate.metric`

, is smaller than `convergence`

for three times in a row, iteration will stop early.
`evaluate.metric`

includes:

"LL":loglikehood

"AUC": auc

"ACC": accurancy

"RMSE": root mean square err

"MAE": mean absolute error

"LL","AUC","ACC" are for CLASSIFICATION task. And "RMSE","MAE" are for REGRESSION task.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.