Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code:   DatasetGenerationError
Exception:    ValueError
Message:      Invalid string class label RCL-Lymphnode-Cancer-Biopsy-100K@a032851f77adef039f58c83243d1e4bf0999f428
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1537, in _prepare_split_single
                  example = self.info.features.encode_example(record) if self.info.features is not None else record
                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 2162, in encode_example
                  return encode_nested_example(self, example)
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1446, in encode_nested_example
                  {k: encode_nested_example(schema[k], obj.get(k), level=level + 1) for k in schema}
                      ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1469, in encode_nested_example
                  return schema.encode_example(obj) if obj is not None else None
                         ~~~~~~~~~~~~~~~~~~~~~^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1144, in encode_example
                  example_data = self.str2int(example_data)
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1081, in str2int
                  output = [self._strval2int(value) for value in values]
                            ~~~~~~~~~~~~~~~~^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1102, in _strval2int
                  raise ValueError(f"Invalid string class label {value}")
              ValueError: Invalid string class label RCL-Lymphnode-Cancer-Biopsy-100K@a032851f77adef039f58c83243d1e4bf0999f428
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      builder, max_dataset_size_bytes=max_dataset_size_bytes
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                  ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1382, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~^
                      gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ):
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1560, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

image
image
label
class label
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
0begnin
End of preview.

Lymphnode Cancer Biopsy Dataset (100k)

Overview

This dataset contains biopsy images of lymphnode cancer tissues, divided into two classes: benign and malignant. Each sample is stored in a separate image file, organized into respective class folders. The dataset is structured to be compatible with Lumina AI's Random Contrast Learning (RCL) algorithm via the PrismRCL application.

Dataset Structure

The dataset is organized into the following structure:

{dataset_folder_name}/
    train_data/
        benign/
            sample_0.png
            sample_1.png
            ...
        malignant/
            sample_0.png
            sample_1.png
            ...
    test_data/
        benign/
            sample_0.png
            sample_1.png
            ...
        malignant/
            sample_0.png
            sample_1.png
            ...

Note: All image file names must be unique across all class folders.

Features

  • Image Data: Each file contains a biopsy image of lymphnode cancer tissue.
  • Classes: There are two classes, each represented by a separate folder based on the type of tissue (benign or malignant).

Usage (not pre-split)

Here is an example of how to load the dataset using PrismRCL:

C:\PrismRCL\PrismRCL.exe chisquared rclticks=10 boxdown=0 data=C:\path\to\Lymphnode_Cancer_Biopsy_100k testsize=0.1 savemodel=C:\path\to\models\mymodel.classify log=C:\path\to\log_files stopwhendone

Explanation of Command:

  • C:\PrismRCL\PrismRCL.exe: Path to the PrismRCL executable for classification
  • chisquared: Specifies Chi-squared as the training evaluation method
  • rclticks=10: Sets the number of RCL iterations during training to 10
  • boxdown=0: Configuration parameter for training behavior
  • data=C:\path\to\Lymphnode_Cancer_Biopsy_100k: Path to the complete dataset for Lymphnode Cancer Biopsy classification
  • testsize=0.1: Specifies that 10% of the data should be used for testing
  • savemodel=C:\path\to\models\mymodel.classify: Path to save the resulting trained model
  • log=C:\path\to\log_files: Directory path for storing log files of the training process
  • stopwhendone: Instructs PrismRCL to end the session once training is complete

License

This dataset is licensed under the Creative Commons Attribution 4.0 International License. See the LICENSE file for more details.

Original Source

This dataset was originally sourced from the GitHub Repository. Please cite the original source if you use this dataset in your research or applications.

Additional Information

The data values have been prepared to ensure compatibility with PrismRCL. No normalization is required as of version 2.4.0.

Citations

If you use this dataset in your research, please cite the following papers:

  1. Veeling, B. S., Linmans, J., Winkens, J., Cohen, T., & Welling, M. (2018). Rotation Equivariant CNNs for Digital Pathology. arXiv preprint arXiv:1806.03962.

  2. Ehteshami Bejnordi, B., Veta, M., Johannes van Diest, P., van Ginneken, B., Karssemeijer, N., Litjens, G., ... & the CAMELYON16 Consortium. (2017). Diagnostic Assessment of Deep Learning Algorithms for Detection of Lymph Node Metastases in Women With Breast Cancer. JAMA, 318(22), 2199–2210. https://doi.org/10.1001/jama.2017.14585

Downloads last month
48

Paper for LuminaAI/RCL-Lymphnode-Cancer-Biopsy-100K