ダイヤモンド
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
この古典的なデータセットには、53940 個のダイヤモンドの物理的属性と価格が含まれています。
属性:
FeaturesDict({
'features': FeaturesDict({
'carat': float32,
'clarity': ClassLabel(shape=(), dtype=int64, num_classes=8),
'color': ClassLabel(shape=(), dtype=int64, num_classes=7),
'cut': ClassLabel(shape=(), dtype=int64, num_classes=5),
'depth': float32,
'table': float32,
'x': float32,
'y': float32,
'z': float32,
}),
'price': float32,
})
特徴 | クラス | 形 | Dtype | 説明 |
---|
| 特徴辞書 | | | |
特徴 | 特徴辞書 | | | |
特徴/カラット | テンソル | | float32 | |
特徴/明瞭さ | クラスラベル | | int64 | |
特徴・色 | クラスラベル | | int64 | |
特徴/カット | クラスラベル | | int64 | |
機能/深さ | テンソル | | float32 | |
特徴/表 | テンソル | | float32 | |
機能/x | テンソル | | float32 | |
特徴/年 | テンソル | | float32 | |
機能/z | テンソル | | float32 | |
価格 | テンソル | | float32 | |
@Book{,
author = {Hadley Wickham},
title = {ggplot2: Elegant Graphics for Data Analysis},
publisher = {Springer-Verlag New York},
year = {2016},
isbn = {978-3-319-24277-4},
url = {https://ggplot2.tidyverse.org},
}
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2022-11-23 UTC。
[null,null,["最終更新日 2022-11-23 UTC。"],[],[],null,["# diamonds\n\n\u003cbr /\u003e\n\n- **Description**:\n\nThis classic dataset contains physical attributes and prices of 53940 diamonds.\n\nAttributes:\n\n- price: Price in US dollars.\n- carat: Weight of the diamond.\n- cut: Cut quality (ordered worst to best).\n- color: Color of the diamond (ordered best to worst).\n- clarity: Clarity of the diamond (ordered worst to best).\n- x: Length in mm.\n- y: Width in mm.\n- z: Depth in mm.\n- depth: Total depth percentage: 100 \\* z / mean(x, y)\n- table: Width of the top of the diamond relative to the widest point.\n\n- **Homepage** :\n \u003chttps://ggplot2.tidyverse.org/reference/diamonds.html\u003e\n\n- **Source code** :\n [`tfds.structured.diamonds.Diamonds`](https://github.com/tensorflow/datasets/tree/master/tensorflow_datasets/structured/diamonds/diamonds.py)\n\n- **Versions**:\n\n - **`1.0.0`** (default): Initial release.\n- **Download size** : `2.64 MiB`\n\n- **Dataset size** : `13.01 MiB`\n\n- **Auto-cached**\n ([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):\n Yes\n\n- **Splits**:\n\n| Split | Examples |\n|-----------|----------|\n| `'train'` | 53,940 |\n\n- **Feature structure**:\n\n FeaturesDict({\n 'features': FeaturesDict({\n 'carat': float32,\n 'clarity': ClassLabel(shape=(), dtype=int64, num_classes=8),\n 'color': ClassLabel(shape=(), dtype=int64, num_classes=7),\n 'cut': ClassLabel(shape=(), dtype=int64, num_classes=5),\n 'depth': float32,\n 'table': float32,\n 'x': float32,\n 'y': float32,\n 'z': float32,\n }),\n 'price': float32,\n })\n\n- **Feature documentation**:\n\n| Feature | Class | Shape | Dtype | Description |\n|------------------|--------------|-------|---------|-------------|\n| | FeaturesDict | | | |\n| features | FeaturesDict | | | |\n| features/carat | Tensor | | float32 | |\n| features/clarity | ClassLabel | | int64 | |\n| features/color | ClassLabel | | int64 | |\n| features/cut | ClassLabel | | int64 | |\n| features/depth | Tensor | | float32 | |\n| features/table | Tensor | | float32 | |\n| features/x | Tensor | | float32 | |\n| features/y | Tensor | | float32 | |\n| features/z | Tensor | | float32 | |\n| price | Tensor | | float32 | |\n\n- **Supervised keys** (See\n [`as_supervised` doc](https://www.tensorflow.org/datasets/api_docs/python/tfds/load#args)):\n `('features', 'price')`\n\n- **Figure**\n ([tfds.show_examples](https://www.tensorflow.org/datasets/api_docs/python/tfds/visualization/show_examples)):\n Not supported.\n\n- **Examples**\n ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):\n\nDisplay examples... \n\n- **Citation**:\n\n @Book{,\n author = {Hadley Wickham},\n title = {ggplot2: Elegant Graphics for Data Analysis},\n publisher = {Springer-Verlag New York},\n year = {2016},\n isbn = {978-3-319-24277-4},\n url = {https://ggplot2.tidyverse.org},\n }"]]