This Javascript application calculates the minimum number of positive/negative instances that have to be added to every node in order to hide Node 0. The table bellow can be filled by the initial corresponding numbers of positive and negative instances of each node. In order to hide Node 0, this method firstly add/subtract the appropriate number of instances to convert the node 0 to leaf. This modification will change all the ratios (p/n) of the other Nodes (14). The method calculates the coefficients of the Linear Diophantine Equations which correspond to each node. The application solves the eight Linear Diophantine Equations (two for every node). Then the method using the set of solutions of Linear Diophantine Equations finds the minimum number of instances (positive or/and negatives) that have to be added to each node in order to maintain the corresponding ratios to their initial values.

