Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Koukyosyumei committed Aug 18, 2023
1 parent e67aa42 commit f19bcbf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
Binary file modified src/aijack/collaborative/tree/a.out
Binary file not shown.
5 changes: 2 additions & 3 deletions src/aijack/collaborative/tree/core/nodeapi.h
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,8 @@ template <typename NodeType> struct NodeAPI {
if (temp_node->is_leaf()) {
return temp_node->val;
} else {
if (true) {
//(node->parties[temp_node->party_id].is_left(temp_node->record_id,
// xi)) {
if (node->parties[temp_node->party_id].is_left(temp_node->record_id,
xi)) {
que.push(temp_node->left);
} else {
que.push(temp_node->right);
Expand Down
1 change: 1 addition & 0 deletions src/aijack/collaborative/tree/secureboost/node.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ struct SecureBoostNode : Node<SecureBoostParty> {

SecureBoostNode &operator=(const SecureBoostNode &other) {
if (this != &other) {
parties = other.parties;
y = other.y;
idxs = other.idxs;
val = other.val;
Expand Down
1 change: 1 addition & 0 deletions src/aijack/collaborative/tree/xgboost/node.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ struct XGBoostNode : public Node<XGBoostParty> {

XGBoostNode &operator=(const XGBoostNode &other) {
if (this != &other) {
parties = other.parties;
y = other.y;
idxs = other.idxs;
val = other.val;
Expand Down

0 comments on commit f19bcbf

Please sign in to comment.