Skip to content

Commit

Permalink
add sample size @ nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
ezacharia committed Jan 15, 2021
1 parent 34b7fed commit 9aeff11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Exareme-Docker/src/mip-algorithms/CART/cart_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def tree_to_json(self):
"threshold" : None if self.gain == 0 or (self.right is None and self.left is None) else self.threshold,
"criterion" :self.criterion,
"gain" : self.gain,
#"samples" : "Less than " + str(PRIVACY_MAGIC_NUMBER) if self.samples <= PRIVACY_MAGIC_NUMBER else self.samples,
"samples" : "Less than " + str(PRIVACY_MAGIC_NUMBER) if self.samples <= PRIVACY_MAGIC_NUMBER else self.samples,
#"samplesPerClass" : samplesPerClass,
"classValue" : myclassValue,
"class" : myclass,
Expand Down

0 comments on commit 9aeff11

Please sign in to comment.