# トレーニングデータにアクセス

## 手順

1. tFileInputDelimitedコンポーネントをワークスペースに追加します。
2. [Property Type] (プロパティタイプ)を[Repository] (リポジトリー)に設定した後に、HDFS:MarketingCampaignDataを選択します。
3. [Folder/File] (フォルダー/ファイル)の右にある[...]ボタンをクリックし、HDFS内のトレーニングデータセットに移動します。

   この例では、 /user/puccini/machinelearning/marketing/marketing\_campaign\_train.csvです。
4. [OK]をクリックします。

   ![](https://help.qlik.com/talend/ja-JP/components/8.0/Resources/images/developing_a_machine_learning_routine_with_talend_and_spark_09.png)
5. [Schema] (スキーマ)は、Repositoryを選択して、事前に作成したスキーマを選択します。

   ![](https://help.qlik.com/talend/ja-JP/components/8.0/Resources/images/developing_a_machine_learning_routine_with_talend_and_spark_10.png)