Package LBJ2.parse

Here, a couple of general purpose data structures and parsers that instantiate them are defined, as well as the Parser interface, which is central to the LBJ learning classifier syntax.

See:
          Description

Interface Summary
Parser Any parser that extends this interface can be sent to a Learner for batch training.
 

Class Summary
ChildrenFromVectors Use this parser in conjunction with another parser that returns LinkedVectors, and this parser will return their LinkedChildren.
FeatureVectorParser This parser returns FeatureVectors deserialized out of the first file passed to the constructor.
FoldParser Useful when performing k-fold cross validation, this parser filters the examples coming from another parser.
FoldParser.SplitStrategy Immutable type representing the way in which examples are partitioned into folds.
FoldSeparator This is a dummy class which is only used to signify the separation between folds for use in the cross validation method.
LineByLine This abstract Parser does not define the next() method, but it does define a constructor that opens the specified file and a readLine() method that fetches the next line of text from that file, taking care of exception handling.
LinkedChild A LinkedChild is the child of a LinkedVector.
LinkedVector A LinkedVector is used to store a vector of LinkedChildren which all maintain links between each other and the parent LinkedVector.
 

Package LBJ2.parse Description

Here, a couple of general purpose data structures and parsers that instantiate them are defined, as well as the Parser interface, which is central to the LBJ learning classifier syntax.