Use `xgboost.callback.TrainingCallback` in newer versions (>= 1.3.0) of XGBoost (#3937)
Use `xgboost.callback.TrainingCallback` in newer versions (>= 1.3.0) of XGBoost (#3937)

* Use  in xgboost autologging

Signed-off-by: harupy <3b81b8b110f2244bdbf0f43efa472935c395c613@users.noreply.github.com>

* lint fix

Signed-off-by: harupy <3b81b8b110f2244bdbf0f43efa472935c395c613@users.noreply.github.com>

* return bool

Signed-off-by: harupy <3b81b8b110f2244bdbf0f43efa472935c395c613@users.noreply.github.com>

* workaround for lint

Signed-off-by: harupy <3b81b8b110f2244bdbf0f43efa472935c395c613@users.noreply.github.com>

* comment

Signed-off-by: harupy <3b81b8b110f2244bdbf0f43efa472935c395c613@users.noreply.github.com>

* commen on why return false

Signed-off-by: harupy <3b81b8b110f2244bdbf0f43efa472935c395c613@users.noreply.github.com>

* Add more comments

Signed-off-by: harupy <3b81b8b110f2244bdbf0f43efa472935c395c613@users.noreply.github.com>

* fix comments

Signed-off-by: harupy <3b81b8b110f2244bdbf0f43efa472935c395c613@users.noreply.github.com>

* type hint

Signed-off-by: harupy <3b81b8b110f2244bdbf0f43efa472935c395c613@users.noreply.github.com>
mlflow/mlflow,mlflow/mlflow,mlflow/mlflow,mlflow/mlflow,mlflow/mlflow,mlflow/mlflow,mlflow/mlflow