Package cc.mallet.topics.HierarchicalLDA

Examples of cc.mallet.topics.HierarchicalLDA.NCRPNode.selectExisting()


    node = nodes[ random.nextDiscrete(weights, sum) ];

    // If we have picked an internal node, we need to
    //  add a new path.
    while (! node.isLeaf()) {
      node = node.selectExisting();
      //node = nodes[ random.nextDiscrete(weights, sum) ];
    }
 
    //node.addPath();
    leaveNode = node;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.