Documentation of 'org.neuroph.util.io.InputStreamAdapter' Java class
InputStreamAdapter
org.neuroph.util.io

Class InputStreamAdapter

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void close()
      Close data source after reading is finnished.
      double[] readInput()
      Reads input from data source and returns input for neural network as array of doubles.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InputStreamAdapter

        public InputStreamAdapter(java.io.InputStream inputStream)
      • InputStreamAdapter

        public InputStreamAdapter(java.io.BufferedReader bufferedReader)
    • Method Detail

      • readInput

        public double[] readInput()
        Description copied from interface: InputAdapter
        Reads input from data source and returns input for neural network as array of doubles.
        Specified by:
        readInput in interface InputAdapter
        Returns:
        neural network input as array of doubles
      • close

        public void close()
        Description copied from interface: InputAdapter
        Close data source after reading is finnished. Free resources and perform cleanup.
        Specified by:
        close in interface InputAdapter

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.