# pet_finder

<br />

- **Description**:

Dataset with images from 5 classes (see config name for information on the
specific class)

- **Homepage** :
  <https://www.kaggle.com/c/petfinder-adoption-prediction/data>

- **Source code** :
  [`tfds.datasets.pet_finder.Builder`](https://github.com/tensorflow/datasets/tree/master/tensorflow_datasets/datasets/pet_finder/pet_finder_dataset_builder.py)

- **Versions**:

  - **`1.0.0`** (default): No release notes.
- **Download size** : `1.94 GiB`

- **Dataset size** : `1.90 GiB`

- **Auto-cached**
  ([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):
  No

- **Splits**:

| Split | Examples |
|---|---|
| `'test'` | 14,465 |
| `'train'` | 58,311 |

- **Feature structure**:

    FeaturesDict({
        'PetID': Text(shape=(), dtype=string),
        'attributes': FeaturesDict({
            'Age': int64,
            'Breed1': int64,
            'Breed2': int64,
            'Color1': int64,
            'Color2': int64,
            'Color3': int64,
            'Dewormed': int64,
            'Fee': int64,
            'FurLength': int64,
            'Gender': int64,
            'Health': int64,
            'MaturitySize': int64,
            'Quantity': int64,
            'State': int64,
            'Sterilized': int64,
            'Type': int64,
            'Vaccinated': int64,
            'VideoAmt': int64,
        }),
        'image': Image(shape=(None, None, 3), dtype=uint8),
        'image/filename': Text(shape=(), dtype=string),
        'label': ClassLabel(shape=(), dtype=int64, num_classes=5),
    })

- **Feature documentation**:

| Feature | Class | Shape | Dtype | Description |
|---|---|---|---|---|
|   | FeaturesDict |   |   |   |
| PetID | Text |   | string |   |
| attributes | FeaturesDict |   |   |   |
| attributes/Age | Tensor |   | int64 |   |
| attributes/Breed1 | Tensor |   | int64 |   |
| attributes/Breed2 | Tensor |   | int64 |   |
| attributes/Color1 | Tensor |   | int64 |   |
| attributes/Color2 | Tensor |   | int64 |   |
| attributes/Color3 | Tensor |   | int64 |   |
| attributes/Dewormed | Tensor |   | int64 |   |
| attributes/Fee | Tensor |   | int64 |   |
| attributes/FurLength | Tensor |   | int64 |   |
| attributes/Gender | Tensor |   | int64 |   |
| attributes/Health | Tensor |   | int64 |   |
| attributes/MaturitySize | Tensor |   | int64 |   |
| attributes/Quantity | Tensor |   | int64 |   |
| attributes/State | Tensor |   | int64 |   |
| attributes/Sterilized | Tensor |   | int64 |   |
| attributes/Type | Tensor |   | int64 |   |
| attributes/Vaccinated | Tensor |   | int64 |   |
| attributes/VideoAmt | Tensor |   | int64 |   |
| image | Image | (None, None, 3) | uint8 |   |
| image/filename | Text |   | string |   |
| label | ClassLabel |   | int64 |   |

- **Supervised keys** (See
  [`as_supervised` doc](https://www.tensorflow.org/datasets/api_docs/python/tfds/load#args)):
  `('attributes', 'label')`

- **Figure**
  ([tfds.show_examples](https://www.tensorflow.org/datasets/api_docs/python/tfds/visualization/show_examples)):

![Visualization](https://storage.googleapis.com/tfds-data/visualization/fig/pet_finder-1.0.0.png)

- **Examples** ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):

<button id="displaydataframe">Display examples...</button>

- **Citation**:

    @ONLINE {kaggle-petfinder-adoption-prediction,
        author = "Kaggle and PetFinder.my",
        title  = "PetFinder.my Adoption Prediction",
        month  = "april",
        year   = "2019",
        url    = "https://www.kaggle.com/c/petfinder-adoption-prediction/data/"
    }