# Accessing training data

## Procedure

1. Add a tFileDelimitedInput component to the palette.
2. Set the Property Type to Repository, then choose HDFS:MarketingCampaignData.
3. Click the ellipsis to the right of Folder/File and navigate to the training dataset in HDFS, in this case it is located at /user/puccini/machinelearning/marketing/marketing\_campaign\_train.csv.
4. Click OK.

   ![](https://help.qlik.com/talend/en-US/components/7.3/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/7.3/Resources/images/developing_a_machine_learning_routine_with_talend_and_spark_10.png)