A B C D E F G H I L M N P R S T U V W

A

AccuracyPruner - Class in net.sf.myra.antree
 
AccuracyPruner() - Constructor for class net.sf.myra.antree.AccuracyPruner
 
add(Model) - Method in class net.sf.myra.antree.representation.Tree.DefaultGatherer
 
adjust(Dataset) - Method in class net.sf.myra.antree.representation.Tree
Adjust the leaf node predictions based on the specified data set.
ALPHA - Static variable in class net.sf.myra.antree.Builder
The property key under which the alpha parameter is stored.
Ant - Class in net.sf.myra.antree
 
Ant() - Constructor for class net.sf.myra.antree.Ant
 
AntTreeMiner - Class in net.sf.myra.antree
 
AntTreeMiner() - Constructor for class net.sf.myra.antree.AntTreeMiner
Default constructor.

B

BETA - Static variable in class net.sf.myra.antree.Builder
The property key under which the beta parameter is stored.
Branch - Class in net.sf.myra.antree.representation
 
Branch(Term) - Constructor for class net.sf.myra.antree.representation.Branch
Creates a new branch.
BranchEncoder - Interface in net.sf.myra.antree.representation
This interface is responsible to provide the code of a branch in the pheromone matrix.
build(Dataset) - Method in class net.sf.myra.antree.Builder
Returns a decision tree.
build() - Method in class net.sf.myra.antree.Initialiser
Returns a decision tree.
Builder - Class in net.sf.myra.antree
 
Builder(Graph, Metadata, Label) - Constructor for class net.sf.myra.antree.Builder
Default constructor.

C

C45Heuristic - Class in net.sf.myra.antree
 
C45Heuristic(Dataset) - Constructor for class net.sf.myra.antree.C45Heuristic
 
cache - Variable in class net.sf.myra.antree.Graph
The cache for Entry objects [encoding,entry].
classify(Instance) - Method in class net.sf.myra.antree.representation.Tree
Returns the label predicted for the specified instance.
clone() - Method in class net.sf.myra.antree.representation.LeafNode
 
clone() - Method in class net.sf.myra.antree.representation.Node
 
clone() - Method in class net.sf.myra.antree.representation.Tree
 
COLONY_SIZE - Static variable in class net.sf.myra.antree.AntTreeMiner
The property key under which the colony size is stored.
compare(Tree, Tree) - Method in class net.sf.myra.antree.TreeComparator
Compares the two specified tree.
CONFIDENCE_LEVEL - Static variable in class net.sf.myra.antree.ErrorBasedMetric
The property key under which the reduced-error pruner confidence level is stored.
CONVERGENCE_TEST - Static variable in class net.sf.myra.antree.AntTreeMiner
The property key under which the convergence test implementation class name is stored.
ConvergenceTest - Interface in net.sf.myra.antree
 
count(Metadata, ContinuousAttribute, List<Instance>) - Static method in class net.sf.myra.antree.ThresholdHelper
 
countInternalNodes() - Method in class net.sf.myra.antree.representation.Tree
Returns the number of leaf nodes of the tree.
countLeaves() - Method in class net.sf.myra.antree.representation.Tree
Returns the number of leaf nodes of the tree.
create(Metadata, Attribute, List<Instance>) - Static method in class net.sf.myra.antree.representation.Branch
Returns a branch array for the specified attribute, one branch for each attribute value.
create(Metadata, NominalAttribute) - Static method in class net.sf.myra.antree.representation.Branch
Returns a branch array for the specified attribute, one branch for each attribute value.
create(Metadata, ContinuousAttribute, List<Instance>) - Static method in class net.sf.myra.antree.representation.Branch
Returns a branch array for the specified continuous attribute, one branch for each discrete interval.
create(Attribute, Dataset, int) - Static method in class net.sf.myra.antree.representation.NodeFactory
Creates a new node (internal or leaf) according to the type of the specified attribute.
create(Attribute, Metadata, List<Instance>, int) - Static method in class net.sf.myra.antree.representation.NodeFactory
Creates a new node (internal or leaf) according to the type of the specified attribute.
create(Dataset, ContinuousAttribute) - Static method in class net.sf.myra.antree.ThresholdHelper
 
create(Metadata, ContinuousAttribute, List<Instance>) - Static method in class net.sf.myra.antree.ThresholdHelper
 

D

DEFAULT - Static variable in class net.sf.myra.antree.NoHeuristic
 

E

encode(Branch) - Method in interface net.sf.myra.antree.representation.BranchEncoder
Returns the code of the specified branch.
encode(Branch) - Method in class net.sf.myra.antree.representation.LevelBranchEncoder
 
encode(Branch) - Method in class net.sf.myra.antree.representation.ParentBranchEncoder
 
ENCODER_CLASS - Static variable in class net.sf.myra.antree.representation.Branch
The property key under which the branch encoder class name is stored.
EntropyHelper - Class in net.sf.myra.antree
 
EntropyHelper(Dataset) - Constructor for class net.sf.myra.antree.EntropyHelper
Default constructor.
EntropyHelper(Metadata, List<Instance>) - Constructor for class net.sf.myra.antree.EntropyHelper
 
EntropyPruner - Class in net.sf.myra.antree
 
EntropyPruner() - Constructor for class net.sf.myra.antree.EntropyPruner
 
equals(Object) - Method in class net.sf.myra.antree.representation.Node
 
error(Node, Statistics) - Method in class net.sf.myra.antree.ErrorBasedMetric
Returns the predicted error of the subtree represented by the specified node.
ErrorBasedMeasure - Class in net.sf.myra.antree
 
ErrorBasedMeasure() - Constructor for class net.sf.myra.antree.ErrorBasedMeasure
 
ErrorBasedMetric - Class in net.sf.myra.antree
 
ErrorBasedMetric() - Constructor for class net.sf.myra.antree.ErrorBasedMetric
Default constructor.
ErrorBasedPruner - Class in net.sf.myra.antree
 
ErrorBasedPruner() - Constructor for class net.sf.myra.antree.ErrorBasedPruner
 
evaluate(Dataset, Model) - Method in class net.sf.myra.antree.ErrorBasedMeasure
 
evaporate() - Method in class net.sf.myra.antree.Graph
Evaporates the pheromone values of each branch by normalising the values.
evaporate() - Method in class net.sf.myra.antree.MaxMinGraph
 
EVAPORATION_FACTOR - Static variable in class net.sf.myra.antree.MaxMinGraph
The property key under which the evaporation factor is stored.

F

filter(Properties) - Method in class net.sf.myra.antree.AntTreeMiner
 
filter(List<Instance>, Term, Metadata) - Static method in class net.sf.myra.antree.Util
Filters the specified list of instances according to the test represented by the term.

G

gain(Attribute) - Method in class net.sf.myra.antree.EntropyHelper
Returns the gain of the specified attribute.
gainRatio(Attribute) - Method in class net.sf.myra.antree.EntropyHelper
Returns the gain ratio of the specified attribute.
GainRatioHeuristic - Class in net.sf.myra.antree
 
GainRatioHeuristic(Dataset) - Constructor for class net.sf.myra.antree.GainRatioHeuristic
Default constructor.
gather(Dataset) - Method in class net.sf.myra.antree.representation.Tree
Computes the nodes statistics.
get(int) - Method in class net.sf.myra.antree.representation.Tree
Returns a node of the tree specified by its index.
getAttribute() - Method in class net.sf.myra.antree.Graph.Vertex
Returns the attribute represented by this vertex.
getAttribute() - Method in class net.sf.myra.antree.representation.Node
Returns the attribute that this node represents.
getBestTree() - Method in class net.sf.myra.antree.Ant
Returns the best created tree.
getBranch(int) - Method in class net.sf.myra.antree.representation.Node
Returns the branch given the specified index.
getBranch(Node) - Method in class net.sf.myra.antree.representation.Node
Returns the branch that leads to the specified node.
getBranch(double) - Method in class net.sf.myra.antree.representation.Node
Returns the branch that corresponds to the specified value.
getBranch(Node) - Method in class net.sf.myra.antree.representation.Tree
Returns the branch leading to the specified node.
getBranches() - Method in class net.sf.myra.antree.representation.Node
Returns the branches originating from this node.
getCode() - Method in class net.sf.myra.antree.representation.Branch
Returns the code of this branch.
getDistribution(Node) - Method in class net.sf.myra.antree.representation.Statistics
Returns the class distribution of the specified node.
getEntry(Branch) - Method in class net.sf.myra.antree.Graph
Returns a correspondent Entry object for the specified branch.
getErrors(Node, Label) - Method in class net.sf.myra.antree.representation.Statistics
Returns the error rate at the specified node given a prediction.
getEvaporationFactor() - Method in class net.sf.myra.antree.MaxMinGraph
Returns the evaporation factor.
getFrom() - Method in class net.sf.myra.antree.representation.Branch
Returns the node where this branch originates.
getGatherer() - Method in class net.sf.myra.antree.representation.Tree
 
getHeuristic() - Method in class net.sf.myra.antree.Graph.Vertex
Returns the heuristic information associated with this vertex.
getIndex() - Method in class net.sf.myra.antree.Graph.Entry
Returns the index of this entry in the pheromone matrix.
getIndex(Node) - Method in class net.sf.myra.antree.representation.Tree
Returns the index of the specified node.
getInstance() - Static method in class net.sf.myra.antree.ErrorBasedMetric
Returns the singleton instance.
getLevel() - Method in class net.sf.myra.antree.representation.Node
Returns the level of this node.
getMajority() - Method in class net.sf.myra.antree.representation.Statistics
Returns the majority class label.
getMajorityLabel(Node) - Method in class net.sf.myra.antree.representation.Statistics
Returns the majority class label for the specified node.
getNumber() - Method in class net.sf.myra.antree.Iteration
Returns the iteration number.
getParent() - Method in class net.sf.myra.antree.representation.Node
Returns the parent node of this node.
getPheromone() - Method in class net.sf.myra.antree.Graph.Vertex
Returns the pheromone associated with this vertex.
getPrediction() - Method in class net.sf.myra.antree.representation.InternalNode
 
getPrediction() - Method in class net.sf.myra.antree.representation.LeafNode
Returns the label predicted by the node.
getPrediction() - Method in class net.sf.myra.antree.representation.Node
Returns the label predicted by the node.
getQuality() - Method in class net.sf.myra.antree.representation.Tree
Returns the quality of the tree.
getRoot() - Method in class net.sf.myra.antree.representation.Tree
Returns the root of the tree.
getTerm() - Method in class net.sf.myra.antree.representation.Branch
Returns the term represented by this branch.
getTMax() - Method in class net.sf.myra.antree.MaxMinGraph
Returns the maximum pheromone value allowed.
getTMin() - Method in class net.sf.myra.antree.MaxMinGraph
Returns the minimum pheromone value allowed.
getTo() - Method in class net.sf.myra.antree.representation.Branch
Returns the node that this branch leads to.
getTotal(Node) - Method in class net.sf.myra.antree.representation.Statistics
Returns the total number of instances reaching the specified node.
getTree() - Method in class net.sf.myra.antree.Ant
Returns the current created tree.
getTree() - Method in class net.sf.myra.antree.Iteration
Returns the best tree of the iteration.
getVertices(Branch) - Method in class net.sf.myra.antree.Graph
Returns the collection of vertices for the specified branch.
getVertices(Branch, Collection<Attribute>) - Method in class net.sf.myra.antree.Graph
Returns the collection of vertices for the specified branch.
GRAPH - Static variable in class net.sf.myra.antree.AntTreeMiner
The property key under which the construction graph implementation class name is stored.
Graph - Class in net.sf.myra.antree
 
Graph(Metadata, Heuristic) - Constructor for class net.sf.myra.antree.Graph
Creates a new Graph instance.
Graph.Entry - Class in net.sf.myra.antree
This class is used as the key of an entry in the pheromone matrix.
Graph.Vertex - Class in net.sf.myra.antree
Struct-like class that represents a vertex of the construction graph.

H

hasConverged(Graph, Iteration) - Method in interface net.sf.myra.antree.ConvergenceTest
Tests if the algorithm has converged.
hasConverged(Graph, Iteration) - Method in class net.sf.myra.antree.IterationTest
 
hasConverged(Graph, Iteration) - Method in class net.sf.myra.antree.MaxMinStagnationTest
 
hasConverged(Graph, Iteration) - Method in class net.sf.myra.antree.StagnationTest
 
hashCode() - Method in class net.sf.myra.antree.representation.Node
 
HEURISTIC - Static variable in class net.sf.myra.antree.AntTreeMiner
The property key under which the heuristic information implementation class name is stored.
heuristic - Variable in class net.sf.myra.antree.Graph
The heuristic information.
Heuristic - Interface in net.sf.myra.antree
 
hits() - Method in class net.sf.myra.antree.Graph.Entry
Returns the number of times that this id was used.

I

increment() - Method in class net.sf.myra.antree.Graph.Entry
Increments the number of hits by one.
indexes(Class<? extends Node>) - Method in class net.sf.myra.antree.representation.Tree
Returns the indexes of nodes.
INITIAL - Static variable in class net.sf.myra.antree.MaxMinGraph
The initial pheromone value (this is an arbitrary 'big' value).
INITIAL_LEVEL - Static variable in class net.sf.myra.antree.representation.Node
The first level of the tree (the level of the root node).
Initialiser - Class in net.sf.myra.antree
This class is reponsible for creating the initial tree (using a similar approach as the C4.5 algorithm) that will be used to deposit the initial pheromone.
Initialiser(Dataset) - Constructor for class net.sf.myra.antree.Initialiser
Default constructor.
Initialiser(Dataset, C45Heuristic) - Constructor for class net.sf.myra.antree.Initialiser
Default constructor.
InternalNode - Class in net.sf.myra.antree.representation
 
InternalNode(int, Attribute, Branch[]) - Constructor for class net.sf.myra.antree.representation.InternalNode
Creates a new internal node.
isLeaf() - Method in class net.sf.myra.antree.representation.Node
Indicates if this node is a leaf node or not.
Iteration - Class in net.sf.myra.antree
 
Iteration(Tree, int) - Constructor for class net.sf.myra.antree.Iteration
Default constructor.
ITERATIONS - Static variable in class net.sf.myra.antree.StagnationTest
The property key under which the number of iterations to determine the stagnation of the search is stored.
IterationTest - Class in net.sf.myra.antree
 
IterationTest() - Constructor for class net.sf.myra.antree.IterationTest
Default constructor.

L

label() - Method in class net.sf.myra.antree.representation.InternalNode
 
label() - Method in class net.sf.myra.antree.representation.LeafNode
 
label() - Method in class net.sf.myra.antree.representation.Node
Returns a label representation of this node.
LeafAdjustedPruner - Class in net.sf.myra.antree
 
LeafAdjustedPruner() - Constructor for class net.sf.myra.antree.LeafAdjustedPruner
Default constructor.
LeafNode - Class in net.sf.myra.antree.representation
 
LeafNode(int, Metadata, Label) - Constructor for class net.sf.myra.antree.representation.LeafNode
Default constructor.
LeafNodePruner - Class in net.sf.myra.antree
 
LeafNodePruner() - Constructor for class net.sf.myra.antree.LeafNodePruner
Default constructor.
LeafNodePruner(Measure) - Constructor for class net.sf.myra.antree.LeafNodePruner
Creates a new LeafNodePruner instance.
leaves() - Method in class net.sf.myra.antree.representation.Tree
Returns the number of leaf nodes of the tree.
LevelBranchEncoder - Class in net.sf.myra.antree.representation
 
LevelBranchEncoder() - Constructor for class net.sf.myra.antree.representation.LevelBranchEncoder
 

M

main(String[]) - Static method in class net.sf.myra.antree.Initialiser
 
mapping - Variable in class net.sf.myra.antree.Graph
The mapping of attribute indexes.
matrix - Variable in class net.sf.myra.antree.Graph
The (dynamic) pheromone matrix.
maximum() - Method in class net.sf.myra.antree.EntropyHelper
Returns the maximum (worse) possible entropy value.
MAXIMUM_ITERATIONS - Static variable in class net.sf.myra.antree.IterationTest
The property key under which the colony size is stored.
MaxMinGraph - Class in net.sf.myra.antree
 
MaxMinGraph(Metadata, Heuristic) - Constructor for class net.sf.myra.antree.MaxMinGraph
Creates a new MaxMinGraph instance.
MaxMinStagnationTest - Class in net.sf.myra.antree
 
MaxMinStagnationTest() - Constructor for class net.sf.myra.antree.MaxMinStagnationTest
 
MEASURE - Static variable in class net.sf.myra.antree.AntTreeMiner
The property key under which the measure implementation class name is stored.
measure - Variable in class net.sf.myra.antree.LeafNodePruner
The measure used to evaluate the trees.
MINIMUM_INSTANCES - Static variable in class net.sf.myra.antree.Builder
The property key under which the minimum number of instances for each branch is stored.

N

net.sf.myra.antree - package net.sf.myra.antree
 
net.sf.myra.antree.representation - package net.sf.myra.antree.representation
 
Node - Class in net.sf.myra.antree.representation
 
Node(int, Attribute) - Constructor for class net.sf.myra.antree.representation.Node
Creates a new node.
Node(int, Attribute, Branch[]) - Constructor for class net.sf.myra.antree.representation.Node
Creates a new node.
NodeFactory - Class in net.sf.myra.antree.representation
 
NodeFactory() - Constructor for class net.sf.myra.antree.representation.NodeFactory
 
NoHeuristic - Class in net.sf.myra.antree
 
NoHeuristic(Dataset) - Constructor for class net.sf.myra.antree.NoHeuristic
 

P

P_BEST - Static variable in class net.sf.myra.antree.MaxMinGraph
The property key under which the p_best probability is stored.
ParentBranchEncoder - Class in net.sf.myra.antree.representation
Default branch encoder.
ParentBranchEncoder() - Constructor for class net.sf.myra.antree.representation.ParentBranchEncoder
 
precision(double) - Static method in class net.sf.myra.antree.Util
Returns the double value with up to four decimal digits.
prune(Tree, Dataset) - Method in class net.sf.myra.antree.AccuracyPruner
Prunes the tree based on the reduced-error pruning procedure of the C4.5 algorithm.
prune(Tree, Dataset) - Method in class net.sf.myra.antree.EntropyPruner
 
prune(Tree, Dataset) - Method in class net.sf.myra.antree.ErrorBasedPruner
Prunes the tree based on the reduced-error pruning procedure of the C4.5 algorithm.
prune(Tree, Dataset) - Method in class net.sf.myra.antree.LeafAdjustedPruner
 
prune(Tree, Dataset) - Method in class net.sf.myra.antree.LeafNodePruner
 
prune(Tree, Dataset) - Method in interface net.sf.myra.antree.Pruner
Prunes the specified tree.
PRUNER - Static variable in class net.sf.myra.antree.AntTreeMiner
The property key under which the pruner implementation class name is stored.
Pruner - Interface in net.sf.myra.antree
 

R

rawError(Node, Statistics) - Method in class net.sf.myra.antree.ErrorBasedMetric
Returns the (raw) error of the subtree represented by the specified node.
ROOT - Static variable in class net.sf.myra.antree.Graph.Entry
The Id instance representing the start of the graph.
run(Dataset) - Method in class net.sf.myra.antree.AntTreeMiner
 

S

set(Branch, double[]) - Method in class net.sf.myra.antree.C45Heuristic
 
setDistribution(Node, double[]) - Method in class net.sf.myra.antree.representation.Statistics
Sets the class distribution of the specified node.
setFrom(Node) - Method in class net.sf.myra.antree.representation.Branch
Sets the node where this branch originates.
setLevel(int) - Method in class net.sf.myra.antree.representation.Node
Sets the level of this node.
setMajority(Label) - Method in class net.sf.myra.antree.representation.Statistics
Sets the majority class label.
setPrediction(Label) - Method in class net.sf.myra.antree.representation.InternalNode
 
setPrediction(Label) - Method in class net.sf.myra.antree.representation.LeafNode
Sets the prediction of the node.
setPrediction(Label) - Method in class net.sf.myra.antree.representation.Node
Sets the prediction of the node.
setQuality(Unit<?>) - Method in class net.sf.myra.antree.representation.Tree
Sets the quality of the tree.
setRoot(Node) - Method in class net.sf.myra.antree.representation.Tree
Sets the root node of the tree.
setStatistics(Statistics) - Method in class net.sf.myra.antree.representation.Tree
Sets the nodes statistics to be used to deal with missing values.
setTo(Node) - Method in class net.sf.myra.antree.representation.Branch
Sets the node that this branch leads to.
size() - Method in class net.sf.myra.antree.representation.Tree
Returns the number of nodes of the tree.
split(List<Instance>, Term, Metadata) - Static method in class net.sf.myra.antree.Util
 
StagnationTest - Class in net.sf.myra.antree
 
StagnationTest() - Constructor for class net.sf.myra.antree.StagnationTest
Default constructor.
Statistics - Class in net.sf.myra.antree.representation
 
Statistics(Metadata) - Constructor for class net.sf.myra.antree.representation.Statistics
Default constructor.
stats() - Method in class net.sf.myra.antree.Graph
 
step(Dataset) - Method in class net.sf.myra.antree.Stepper
 
Stepper - Class in net.sf.myra.antree
 
Stepper(Builder, Pruner, Measure) - Constructor for class net.sf.myra.antree.Stepper
 
subset(List<Instance>, Term, Metadata) - Static method in class net.sf.myra.antree.Util
Returns the subset of instances according to the test represented by the term, not includung instances with missing values.

T

template - Variable in class net.sf.myra.antree.Graph
Template pheromone array.
ThresholdHelper - Class in net.sf.myra.antree
 
ThresholdHelper() - Constructor for class net.sf.myra.antree.ThresholdHelper
 
toRuleSet(Metadata) - Method in class net.sf.myra.antree.representation.Tree
Returns the tree represented as a set of rules.
toString() - Method in class net.sf.myra.antree.Graph.Vertex
 
toString() - Method in class net.sf.myra.antree.representation.Branch
 
toString() - Method in class net.sf.myra.antree.representation.Node
 
toString() - Method in class net.sf.myra.antree.representation.Tree.DefaultGatherer
 
toString() - Method in class net.sf.myra.antree.representation.Tree
 
toString(Statistics) - Method in class net.sf.myra.antree.representation.Tree
 
Tree - Class in net.sf.myra.antree.representation
 
Tree() - Constructor for class net.sf.myra.antree.representation.Tree
Default constructor.
Tree(Node) - Constructor for class net.sf.myra.antree.representation.Tree
Creates a new tree.
Tree.DefaultGatherer - Class in net.sf.myra.antree.representation
 
Tree.DefaultGatherer() - Constructor for class net.sf.myra.antree.representation.Tree.DefaultGatherer
 
TreeComparator - Class in net.sf.myra.antree
 
TreeComparator() - Constructor for class net.sf.myra.antree.TreeComparator
 

U

ucf(double, double) - Method in class net.sf.myra.antree.ErrorBasedMetric
Returns the estimate error rate value based on the upper confidence level.
update(Tree) - Method in class net.sf.myra.antree.Graph
Updates the pheromone values of the branches used in the specified tree.
update(Tree) - Method in class net.sf.myra.antree.MaxMinGraph
 
Util - Class in net.sf.myra.antree
 
Util() - Constructor for class net.sf.myra.antree.Util
 

V

validate() - Method in class net.sf.myra.antree.representation.Node
 
valueFor(Branch, Attribute) - Method in class net.sf.myra.antree.C45Heuristic
 
valueFor(Branch, Attribute) - Method in class net.sf.myra.antree.GainRatioHeuristic
 
valueFor(Branch, Attribute) - Method in interface net.sf.myra.antree.Heuristic
Returns the heuristic value for the specified attribute.
valueFor(Branch, Attribute) - Method in class net.sf.myra.antree.NoHeuristic
 
verify(Attribute) - Method in class net.sf.myra.antree.EntropyHelper
 
vertices - Variable in class net.sf.myra.antree.Graph
The attribute array representing the vertices.

W

walk(Dataset) - Method in class net.sf.myra.antree.Ant
Creates a new tree.
WORKERS - Static variable in class net.sf.myra.antree.AntTreeMiner
The property key under which the number of worker threads is stored.

A B C D E F G H I L M N P R S T U V W

Copyright © 2013. All Rights Reserved.