class_docstr: A csv data provider.
docstr: Returns keras input as explained in data.py module.
code: def get_keras_input(self, batch_size):
      """Returns keras input as explained in data.py module."""
      del batch_size
      dataset = pd.read_csv(self._filename)
      labels = dataset.pop(dataset.columns.values[self._label_index])
      labels = np.array(labels)
      features = np.array(dataset)
  
      validation_features = None
      validation_labels = None
      if self._validation_filename:
          validation_data = pd.read_csv(self._validation_filename)
          validation_labels = validation_data.pop(
              validation_data.columns.values[self._label_index]
          )
          validation_labels = np.array(validation_labels)
          validation_features = np.array(validation_data)
  
      return features, labels, (validation_features, validation_labels)
  
file_path: model_search/model_search/data/csv_data.py
imports: from model_search.data import data
  import numpy
  import pandas
  import tensorflow.compat.v2
label_desc: Use image node_id 6 for calling the Provider obj's underlying member method code with example usage: obj.get_keras_input(batch_size) and returns: features,  labels,  validation_features,  validation_labels