# サスペクトペアを計算し、サンプルをTalend Data Stewardshipに書き込む

このシナリオは、サブスクリプションベースのビッグデータ対応のTalendプラットフォーム製品およびTalend Data Fabricにのみ適用されます。

大量のデータを処理する場合、重複レコードの発見は困難で時間がかかる作業となります。この例では、tMatchPairingでブロッキングキーを使用し、10種類のさまざまなソースに由来するシカゴの幼児教育センターの長いリストから重複が疑われるペアを計算します。

また、重複が疑われるサンプルを計算し、タスクの形式でTalend Data Stewardshipの[Grouping] (グルーピング)キャンペーンに書き込みます。次に、権限のあるデータスチュワードが実際にデータサンプルを見て、本当に重複しているかどうかを判断します。

次に、ラベル付きサンプルを使用して、マッチングモデルを計算し、Sparkの機械学習のコンテキストで重複が疑われるペアすべてに適用します。

以下に示すサンプルをレプリケートするには、[tmatchpairing_load_suspect_pairs_in_tds.zip](https://help.qlik.com/talend/ja-JP/data-matching/8.0/Content/Resources/attachments/tmatchpairing_load_suspect_pairs_in_tds.zip)ファイルをダウンロードします。

ジョブを設定する前に、次のことをご確認ください：

* Talend Administration Centerで[Campaign Owner] (キャンペーン所有者)のロールに割り当てられ、サーバーのキャンペーンへのアクセス権限が付与されていること。

* Talend Data Stewardshipの[Grouping] (グルーピング)キャンペーンが作成され、教育センターファイルのストラクチャーに対応するスキーマが定義されていること。

### このセクション内

* [ジョブの作成](https://help.qlik.com/talend/ja-JP/data-matching/8.0/computing-suspect-pairs-writing-sample-in-stewardship-creating-job)
* [Sparkモードの選択](https://help.qlik.com/talend/ja-JP/data-matching/8.0/selecting-spark-mode-spark-batch?id=102)
* [Sparkが使用するファイルシステムに接続を設定](https://help.qlik.com/talend/ja-JP/data-matching/8.0/configuring-connection-to-file-system-to-be-used-by-spark?id=103)
* [データの読み取りと次のコンポーネントへのフィールドの送信](https://help.qlik.com/talend/ja-JP/data-matching/8.0/reading-data-and-sending-fields-to-next-component)
* [疑わしいペアを計算してグルーピングキャンペーンにサンプルを書き込む](https://help.qlik.com/talend/ja-JP/data-matching/8.0/computing-suspect-pairs-writing-sample-in-grouping-campaign)
* [疑わしいペア、一意の行および正確な重複を書き込むように出力コンポーネントを構成](https://help.qlik.com/talend/ja-JP/data-matching/8.0/configuring-output-components-to-write-suspect-pairs-unique-rows-exact-duplicates)
* [グルーピングキャンペーンにタスクを書き込むためのジョブの実行](https://help.qlik.com/talend/ja-JP/data-matching/8.0/executing-job-to-write-tasks-into-grouping-campaign)