List of usage examples for org.apache.mahout.classifier.df.node Node write
@Override public final void write(DataOutput out) throws IOException
From source file:com.wsc.myexample.decisionForest.MyDecisionForest.java
License:Apache License
public void write(DataOutput dataOutput) throws IOException { dataOutput.writeInt(trees.size());//from ww w.j a va 2 s .c o m for (Node tree : trees) { tree.write(dataOutput); } }