Lucas Morin
Lucas Morin

Reputation: 190

How to get from polars data frame to xgboost training without memory duplicates?

I am toying with polars for manipulating data in Python. Then I want to train an xgboost model. The Dmatrix format doesn't seem to handle polars DataFrame natively. What would be the best way to train on polars DataFrame while avoiding unnecessary memory copies ? go trough numpy ?

Upvotes: 1

Views: 270

Answers (0)

Related Questions