# maxframe.learn.contrib.xgboost.callback.LearningRateScheduler

### *class* maxframe.learn.contrib.xgboost.callback.LearningRateScheduler(learning_rates: [Callable](https://docs.python.org/3/library/typing.html#typing.Callable)[[[int](https://docs.python.org/3/library/functions.html#int)], [float](https://docs.python.org/3/library/functions.html#float)] | [Sequence](https://docs.python.org/3/library/typing.html#typing.Sequence)[[float](https://docs.python.org/3/library/functions.html#float)], \*\*kw)

#### \_\_init_\_(learning_rates: [Callable](https://docs.python.org/3/library/typing.html#typing.Callable)[[[int](https://docs.python.org/3/library/functions.html#int)], [float](https://docs.python.org/3/library/functions.html#float)] | [Sequence](https://docs.python.org/3/library/typing.html#typing.Sequence)[[float](https://docs.python.org/3/library/functions.html#float)], \*\*kw) → [None](https://docs.python.org/3/library/constants.html#None)

### Methods

| [`__init__`](#maxframe.learn.contrib.xgboost.callback.LearningRateScheduler.__init__)(learning_rates, \*\*kw)   |    |
|-----------------------------------------------------------------------------------------------------------------|----|
| `copy`()                                                                                                        |    |
| `copy_to`(target)                                                                                               |    |
| `from_local`(callback_obj)                                                                                      |    |
| `has_custom_code`()                                                                                             |    |
| `remote_to_local`(remote_obj)                                                                                   |    |
| `to_local`()                                                                                                    |    |

### Attributes

| `learning_rates`   |    |
|--------------------|----|
