Support categorical data for hist. (#7695)
* Extract partitioner from hist. * Implement categorical data support by passing the gradient index directly into the partitioner. * Organize/update document. * Remove code for negative hessian.
This commit is contained in:
@@ -275,9 +275,6 @@ class MemStackAllocator {
|
||||
T& operator[](size_t i) { return ptr_[i]; }
|
||||
T const& operator[](size_t i) const { return ptr_[i]; }
|
||||
|
||||
// FIXME(jiamingy): Remove this once we merge partitioner cleanup for hist.
|
||||
auto Get() { return ptr_; }
|
||||
|
||||
private:
|
||||
T* ptr_ = nullptr;
|
||||
size_t required_size_;
|
||||
|
||||
Reference in New Issue
Block a user