Fix empty DMatrix with categorical features. (#8739)

This commit is contained in:
Jiaming Yuan
2023-02-07 00:40:11 +08:00
committed by GitHub
parent 7214a45e83
commit a2e433a089
5 changed files with 93 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
/*!
* Copyright 2014-2022 by XGBoost Contributors
/**
* Copyright 2014-2023 by XGBoost Contributors
* \file quantile.h
* \brief util to compute quantiles
* \author Tianqi Chen
@@ -7,7 +7,6 @@
#ifndef XGBOOST_COMMON_QUANTILE_H_
#define XGBOOST_COMMON_QUANTILE_H_
#include <dmlc/base.h>
#include <xgboost/data.h>
#include <xgboost/logging.h>