Class: XGBoost::TrainingCallback
- Inherits:
-
Object
- Object
- XGBoost::TrainingCallback
show all
- Defined in:
- lib/xgboost/training_callback.rb
Instance Method Summary
collapse
Instance Method Details
#after_iteration(model, epoch, evals_log) ⇒ Object
18
19
20
21
|
# File 'lib/xgboost/training_callback.rb', line 18
def after_iteration(model, epoch, evals_log)
false
end
|
#after_training(model) ⇒ Object
8
9
10
11
|
# File 'lib/xgboost/training_callback.rb', line 8
def after_training(model)
model
end
|
#before_iteration(model, epoch, evals_log) ⇒ Object
13
14
15
16
|
# File 'lib/xgboost/training_callback.rb', line 13
def before_iteration(model, epoch, evals_log)
false
end
|
#before_training(model) ⇒ Object
3
4
5
6
|
# File 'lib/xgboost/training_callback.rb', line 3
def before_training(model)
model
end
|