Interface DataSetFetcher

    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      int cursor()
      Deprecated.
      Direct access to a number represenative of iterating through a dataset
      void fetch​(int numExamples)
      Deprecated.
      Fetches the next dataset.
      boolean hasMore()
      Deprecated.
      Whether the dataset has more to load
      int inputColumns()
      Deprecated.
      The length of a feature vector for an individual example
      DataSet next()
      Deprecated.
      Returns the next data applyTransformToDestination
      void reset()
      Deprecated.
      Returns the fetcher back to the beginning of the dataset
      int totalExamples()
      Deprecated.
      The total number of examples
      int totalOutcomes()
      Deprecated.
      The number of labels for a dataset
    • Method Detail

      • hasMore

        boolean hasMore()
        Deprecated.
        Whether the dataset has more to load
        Returns:
        whether the data applyTransformToDestination has more to load
      • next

        DataSet next()
        Deprecated.
        Returns the next data applyTransformToDestination
        Returns:
        the next dataset
      • fetch

        void fetch​(int numExamples)
        Deprecated.
        Fetches the next dataset. You need to call this to get a new dataset, otherwise next() just returns the last data applyTransformToDestination fetch
        Parameters:
        numExamples - the number of examples to fetch
      • totalOutcomes

        int totalOutcomes()
        Deprecated.
        The number of labels for a dataset
        Returns:
        the number of labels for a dataset
      • inputColumns

        int inputColumns()
        Deprecated.
        The length of a feature vector for an individual example
        Returns:
        the length of a feature vector for an individual example
      • totalExamples

        int totalExamples()
        Deprecated.
        The total number of examples
        Returns:
        the total number of examples
      • reset

        void reset()
        Deprecated.
        Returns the fetcher back to the beginning of the dataset
      • cursor

        int cursor()
        Deprecated.
        Direct access to a number represenative of iterating through a dataset
        Returns:
        a cursor similar to an index