,
                 <a href="../../../../weka/core/Instances.html" title="class in weka.core">Instances</a>&nbsp;insts)
                          throws java.lang.Exception</pre>
<div class="block">Calculates the centroid pivot of a node based on its
 two child nodes (if merging two nodes).</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>child1</code> - The first child of the node.</dd><dd><code>child2</code> - The second child of the node.</dd><dd><code>insts</code> - The set of instance