'How does the dmatrix in xgboost store data
i use xgboost model both in c++ and python,at first time,they give me different predicts. after i modify the code in python, i used pandas to load data,but now,i use dmatrix to load data.then,they are same.
#data = pd.read_csv(data_path,names = features,header = None, dtype=dtypes)
#test_x = data[features].values
data = xgb.DMatrix(data_path)
How does the dmatrix in xgboost store data?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
