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

Class JDBCInputAdapter

  • All Implemented Interfaces:
    InputAdapter


    public class JDBCInputAdapter
    extends java.lang.Object
    implements InputAdapter
    Implementation of InputAdapter interface for reading neural network inputs from database.
    See Also:
    InputAdapter
    • Constructor Summary

      Constructors 
      Constructor and Description
      JDBCInputAdapter(java.sql.Connection connection, java.lang.String sql) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void close()
      Closes result set used as data source.
      double[] readInput()
      Reads next row from result set 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

      • JDBCInputAdapter

        public JDBCInputAdapter(java.sql.Connection connection,
                                java.lang.String sql)
    • Method Detail

      • readInput

        public double[] readInput()
        Reads next row from result set 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()
        Closes result set used as data source.
        Specified by:
        close in interface InputAdapter

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.