Class PerceptronModelReader

  • Direct Known Subclasses:
    BinaryPerceptronModelReader

    public class PerceptronModelReader
    extends AbstractModelReader
    The base class for readers of models. It assumes that models are saved in the following sequence:
    Perceptron (model type identifier)
    1. # of parameters (int)
    2. # of outcomes (int)
    * list of outcome names (String)
    3. # of different types of outcome patterns (int)
    * list of (int int[])
    [# of predicates for which outcome pattern is true] [outcome pattern]
    4. # of predicates (int)
    * list of predicate names (String)
    See Also:
    PerceptronModel, AbstractModelReader