DatasetsSizeComparison.run_logic#

DatasetsSizeComparison.run_logic(context: Context) CheckResult[source]#

Run check.

Returns
CheckResult

with value of type pandas.DataFrame. Value contains two keys, ‘train’ - size of the train dataset and ‘test’ - size of the test dataset.

Raises
DeepchecksValueError

if not dataset instances were provided. if datasets are empty.