python xgboost DMatrix - get feature values or convert to np.array
Currently we cannot direct extract data matrix from DMatrix, mainly due to DMatrix is a internal data structure that may or maynot sit in memory.


--by tqchen commented on 3 Aug 2015

(Source)