Hi, I read the code again and now understand how the parameter complemented works now.
Basically, it only effects how the method public Node build(Random rng, Data data) works. When complemented is true, the method decides how to split the node based on the data contained in the full data set, but not in the parameter data passed to the method. And it also effects the assignment of labels for leaves. On Thu, Nov 1, 2012 at 10:16 PM, Anca Leuca <[email protected]> wrote: > Hi, > > If I call the method setComplemented(boolean complemented) with the > > parameter True, how does this effect the tree builder? Thanks for the > help! > > > > The source< > http://grepcode.com/file/repo1.maven.org/maven2/org.apache.mahout/mahout-core/0.7/org/apache/mahout/classifier/df/builder/DecisionTreeBuilder.java#DecisionTreeBuilder.0complemented > > > suggests > that complemented is true by default so I guess it wouldn't? > > That being said, I don't know what complemented actually does, the code > might be useful to look at, or maybe someone more knowledgeable than me > could shed some light on this. > > Anca >
