Package | Description |
---|---|
it.uniroma2.sag.kelp.data.manipulator | |
it.uniroma2.sag.kelp.data.representation.tree.node.nodePruner |
Constructor and Description |
---|
TreeNodePruner(NodeToBePrunedCheckerAbstractClass nodePrunerObj,
SelectRepresentationFromExample treeSelectorInExample,
NodeToBePrunedCheckerAbstractClass internalNodePrunerObj,
TreeNodeSelector nodeSelectorObj,
int maxDepthVisitsWhilePruning)
Create a tree pruner which performs a post-order traversal of the tree.
|
TreeNodePruner(NodeToBePrunedCheckerAbstractClass nodePrunerObj,
String representationName) |
TreeNodePruner(NodeToBePrunedCheckerAbstractClass nodePrunerObj,
String representationName,
boolean applyToLeftExampleInPair) |
TreeNodePruner(NodeToBePrunedCheckerAbstractClass nodePrunerObj,
String representationName,
NodeToBePrunedCheckerAbstractClass internalNodePrunerObj,
TreeNodeSelector nodeSelectorObj,
int maxDepthVisitsWhilePruning) |
Modifier and Type | Class and Description |
---|---|
class |
PruneNodeIfLeaf
Prune a node if it is a leaf.
|
class |
PruneNodeLeafNumber
This strategy keeps the first
numberOfLeavesToKeep leaves and
discard all subsequent ones. |
class |
PruneNodeLowerThanThreshold
Prune a node if the absolute value of the field
weightfield
(default value "weight") is lower than threshold . |
class |
PruneNodeThresholdAndDistanceFromSpecificLabelledNode
Prune a node if the following conditions are met:
1) there is no node at distance not greater than
distance whose
label starts with the prefix labelPrefix
2) the conditions specified in the parent class |
Copyright © 2018 Semantic Analytics Group @ Uniroma2. All rights reserved.