Fix broken make on windows (#2499)
* fix Makefile for make on windows * clean up compilation warnings * fix for `no file name for include` make warning
This commit is contained in:
committed by
Tianqi Chen
parent
ba820847f9
commit
7350085955
@@ -588,7 +588,7 @@ inline bst_float RegTree::FillNodeMeanValue(int nid) {
|
||||
|
||||
inline void RegTree::CalculateContributions(const RegTree::FVec& feat, unsigned root_id,
|
||||
bst_float *out_contribs) const {
|
||||
CHECK_GT(this->node_mean_values.size(), 0);
|
||||
CHECK_GT(this->node_mean_values.size(), 0U);
|
||||
// this follows the idea of http://blog.datadive.net/interpreting-random-forests/
|
||||
bst_float node_value;
|
||||
unsigned split_index;
|
||||
|
||||
Reference in New Issue
Block a user