Class BinaryPerceptronModelReader

    • Constructor Detail

      • BinaryPerceptronModelReader

        public BinaryPerceptronModelReader​(java.io.DataInputStream dis)
        Constructor which directly instantiates the DataInputStream containing the model contents.
        Parameters:
        dis - The DataInputStream containing the model information.
      • BinaryPerceptronModelReader

        public BinaryPerceptronModelReader​(java.io.File f)
                                    throws java.io.IOException
        Constructor which takes a File and creates a reader for it. Detects whether the file is gzipped or not based on whether the suffix contains ".gz"
        Parameters:
        f - The File in which the model is stored.
        Throws:
        java.io.IOException