Examples of FinalDecision


Examples of cascading.pattern.model.tree.decision.FinalDecision

    DecisionTree[] decisionTrees = functionCall.getContext().payload.trees;

    for( int i = 0; i < decisionTrees.length; i++ )
      {
      FinalDecision finalDecision = decisionTrees[ i ].decide( arguments );

      if( LOG.isDebugEnabled() )
        LOG.debug( "segment: {}, returned category: {}", i, finalDecision.getScore() );

      results[ finalDecision.getIndex() ]++;
      }

    int max = Ints.max( results );
    int index = Ints.indexOf( results, max );
View Full Code Here

Examples of cascading.pattern.model.tree.decision.FinalDecision

  @Override
  public void operate( FlowProcess flowProcess, FunctionCall<Context<DecisionTree>> functionCall )
    {
    DecisionTree decisionTree = functionCall.getContext().payload;

    FinalDecision finalDecision = decisionTree.decide( functionCall.getArguments() );

    LOG.debug( "decision: {}", finalDecision );

    Object result = this.result.transform( finalDecision );
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.