cascading.pattern.model.tree
Class TreeFunction
java.lang.Object
cascading.operation.BaseOperation<ModelScoringFunction.Context<P>>
cascading.pattern.model.ModelScoringFunction<TreeSpec,DecisionTree>
cascading.pattern.model.tree.TreeFunction
- All Implemented Interfaces:
- cascading.flow.planner.DeclaresResults, Function<ModelScoringFunction.Context<DecisionTree>>, Operation<ModelScoringFunction.Context<DecisionTree>>, cascading.util.Traceable, Serializable
public class TreeFunction
- extends ModelScoringFunction<TreeSpec,DecisionTree>
Class TreeFunction will return the result or score from the given decision tree defined by the TreeSpec
.
- See Also:
- Serialized Form
Fields inherited from interface cascading.operation.Operation |
ANY |
TreeFunction
public TreeFunction(TreeSpec treeSpec)
TreeFunction
public TreeFunction(TreeSpec spec,
boolean returnIndex,
boolean safe)
prepare
public void prepare(FlowProcess flowProcess,
OperationCall<ModelScoringFunction.Context<DecisionTree>> operationCall)
- Specified by:
prepare
in interface Operation<ModelScoringFunction.Context<DecisionTree>>
- Overrides:
prepare
in class ModelScoringFunction<TreeSpec,DecisionTree>
operate
public void operate(FlowProcess flowProcess,
FunctionCall<ModelScoringFunction.Context<DecisionTree>> functionCall)
Copyright © 2007-2015 Concurrent, Inc. All Rights Reserved.