"src/git@developer.sourcefind.cn:tianlh/lightgbm-dcu.git" did not exist on "d0d70716ce8351ec82d1ad42d25ff3779ee5a94d"
Commit fb55d72f authored by Guolin Ke's avatar Guolin Ke
Browse files

fix #1338

parent a0659a3d
......@@ -185,7 +185,7 @@ public:
num_preb_in_one_row *= max_iteration;
}
} else if (is_pred_contrib) {
num_preb_in_one_row = max_feature_idx_ + 2; // +1 for 0-based indexing, +1 for baseline
num_preb_in_one_row = num_tree_per_iteration_ * (max_feature_idx_ + 2); // +1 for 0-based indexing, +1 for baseline
}
return num_preb_in_one_row;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment