Package ivory.ltr.operator

Examples of ivory.ltr.operator.Sum


         // document judgment
         double judgment = judgmentEntry.getValue();

         // set judgment feature
         docFeatures.put(JUDGMENT_FEATURE_NAME, new Sum());
         docFeatures.get(JUDGMENT_FEATURE_NAME).addScore(judgment);

         // initialize doc nodes
         for(DocumentNode node : docNodes) {
           node.setDocno(docid);
View Full Code Here


         // document judgment
         double judgment = judgmentEntry.getValue();

         // set judgment feature
         docFeatures.put(JUDGMENT_FEATURE_NAME, new Sum());
         docFeatures.get(JUDGMENT_FEATURE_NAME).addScore(judgment);

         // initialize doc nodes
         for(DocumentNode node : docNodes) {
           node.setDocno(docid);
View Full Code Here

TOP

Related Classes of ivory.ltr.operator.Sum

Copyright © 2018 www.massapicom. 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.