ふるい1m
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
ユークリッド距離を使用した近似最近傍検索用の事前トレーニングされた埋め込み。このデータセットは 2 つの分割で構成されています。
- 「データベース」: 1,000,000 個のデータ ポイントで構成され、それぞれに「埋め込み」 (128 浮動小数点)、「インデックス」 (int64)、「近傍」 (空のリスト) の機能があります。
- 「テスト」: 10,000 個のデータ ポイントで構成され、それぞれに次の機能があります。「埋め込み」(128 浮動小数点)、「インデックス」(int64)、「近傍」(データベース内の最も近い近傍の「インデックス」と「距離」のリスト)。 )
スプリット | 例 |
---|
'database' | 1,000,000 |
'test' | 10,000 |
FeaturesDict({
'embedding': Tensor(shape=(128,), dtype=float32),
'index': Scalar(shape=(), dtype=int64, description=Index within the split.),
'neighbors': Sequence({
'distance': Scalar(shape=(), dtype=float32, description=Neighbor distance.),
'index': Scalar(shape=(), dtype=int64, description=Neighbor index.),
}),
})
特徴 | クラス | 形 | Dタイプ | 説明 |
---|
| 特徴辞書 | | | |
埋め込み | テンソル | (128,) | float32 | |
索引 | スカラー | | int64 | スプリット内のインデックス。 |
隣人 | 順序 | | | 計算された近傍。テスト分割でのみ使用できます。 |
隣人/距離 | スカラー | | float32 | 隣人の距離。 |
近隣/インデックス | スカラー | | int64 | 近隣インデックス。 |
@article{jegou2010product,
title={Product quantization for nearest neighbor search},
author={Jegou, Herve and Douze, Matthijs and Schmid, Cordelia},
journal={IEEE transactions on pattern analysis and machine intelligence},
volume={33},
number={1},
pages={117--128},
year={2010},
publisher={IEEE}
}
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-09-04 UTC。
[null,null,["最終更新日 2024-09-04 UTC。"],[],[],null,["# sift1m\n\n\u003cbr /\u003e\n\n- **Description**:\n\nPre-trained embeddings for approximate nearest neighbor search using the\nEuclidean distance. This dataset consists of two splits:\n\n1. 'database': consists of 1,000,000 data points, each has features: 'embedding' (128 floats), 'index' (int64), 'neighbors' (empty list).\n2. 'test': consists of 10,000 data points, each has features: 'embedding' (128 floats), 'index' (int64), 'neighbors' (list of 'index' and 'distance' of the nearest neighbors in the database.)\n\n- **Homepage** :\n \u003chttp://corpus-texmex.irisa.fr/\u003e\n\n- **Source code** :\n [`tfds.datasets.sift1m.Builder`](https://github.com/tensorflow/datasets/tree/master/tensorflow_datasets/datasets/sift1m/sift1m_dataset_builder.py)\n\n- **Versions**:\n\n - **`1.0.0`** (default): Initial release.\n- **Download size** : `500.80 MiB`\n\n- **Dataset size** : `589.49 MiB`\n\n- **Auto-cached**\n ([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):\n No\n\n- **Splits**:\n\n| Split | Examples |\n|--------------|-----------|\n| `'database'` | 1,000,000 |\n| `'test'` | 10,000 |\n\n- **Feature structure**:\n\n FeaturesDict({\n 'embedding': Tensor(shape=(128,), dtype=float32),\n 'index': Scalar(shape=(), dtype=int64, description=Index within the split.),\n 'neighbors': Sequence({\n 'distance': Scalar(shape=(), dtype=float32, description=Neighbor distance.),\n 'index': Scalar(shape=(), dtype=int64, description=Neighbor index.),\n }),\n })\n\n- **Feature documentation**:\n\n| Feature | Class | Shape | Dtype | Description |\n|--------------------|--------------|--------|---------|---------------------------------------------------------------------|\n| | FeaturesDict | | | |\n| embedding | Tensor | (128,) | float32 | |\n| index | Scalar | | int64 | Index within the split. |\n| neighbors | Sequence | | | The computed neighbors, which is only available for the test split. |\n| neighbors/distance | Scalar | | float32 | Neighbor distance. |\n| neighbors/index | Scalar | | int64 | Neighbor index. |\n\n- **Supervised keys** (See\n [`as_supervised` doc](https://www.tensorflow.org/datasets/api_docs/python/tfds/load#args)):\n `None`\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 @article{jegou2010product,\n title={Product quantization for nearest neighbor search},\n author={Jegou, Herve and Douze, Matthijs and Schmid, Cordelia},\n journal={IEEE transactions on pattern analysis and machine intelligence},\n volume={33},\n number={1},\n pages={117--128},\n year={2010},\n publisher={IEEE}\n }"]]