fdl.DatasetDataSource

Indicates the dataset to use as a source data for explainability computations.

Input ParameterTypeDefaultDescription
dataset_namestrNoneThe unique identifier for the dataset.
sourceOptional[str]NoneThe source file name. If not specified, using all sources from the dataset.
num_samplesOptional [int]NoneNumber of samples to select for computation.
DATASET_ID = 'example_dataset'

data_source = fdl.DatasetDataSource(
    dataset_name=DATASET_ID
  	source='baseline.csv',
  	num_samples=500,
)