--- title: dataset keywords: fastai sidebar: home_sidebar summary: "dataset that integrates image and tabular data" description: "dataset that integrates image and tabular data" ---
{% raw %}
{% endraw %} {% raw %}
{% endraw %} {% raw %}
{% endraw %} {% raw %}

class ImageTabDataset[source]

ImageTabDataset(images, tabs) :: Dataset

An abstract class representing a :class:Dataset.

All datasets that represent a map from keys to data samples should subclass it. All subclasses should overwrite :meth:__getitem__, supporting fetching a data sample for a given key. Subclasses could also optionally overwrite :meth:__len__, which is expected to return the size of the dataset by many :class:~torch.utils.data.Sampler implementations and the default options of :class:~torch.utils.data.DataLoader.

.. note:: :class:~torch.utils.data.DataLoader by default constructs a index sampler that yields integral indices. To make it work with a map-style dataset with non-integral indices/keys, a custom sampler must be provided.

{% endraw %} {% raw %}
{% endraw %} {% raw %}

get_imagetabdatasets[source]

get_imagetabdatasets(image_data, tabular_data)

Helper function to construct train, valid, and optional test imagetabdatasets.

:param image_data: a fastai Labellists that contains image train, valid, and optional test Labellists :param tabular_data: a fastai Labellists that contains tabular train, valid, and optional test Labellists

{% endraw %} {% raw %}
from nbdev.export import *
notebook2script()
Converted 00_core.ipynb.
Converted 01_dataset.ipynb.
Converted 02_model.ipynb.
Converted 03_metric.ipynb.
Converted index.ipynb.
Converted siim_isic_image_only.ipynb.
Converted siim_isic_integrated_model.ipynb.
Converted siim_isic_tabular_only.ipynb.
{% endraw %}