# Accessing training data

## Procedure

1. Add a tFileInputDelimited component to the workspace.
2. Set the Property Type to Repository, then choose HDFS:MarketingCampaignData.
3. Click the [...] button to the right of Folder/File and navigate to the training dataset in HDFS.

   In this example, /user/puccini/machinelearning/marketing/marketing\_campaign\_train.csv.
4. Click OK.

   ![](https://help.qlik.com/talend/en-US/components/8.0/Resources/images/developing_a_machine_learning_routine_with_talend_and_spark_09.png)
5. For Schema, choose Repository and select the schema you created earlier.

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