# 2021-NYCU-ML-HW5 — Data

来源：https://www.kaggle.com/competitions/2021-nycu-ml-hw5/data

采集时间：2026-10-19T19:15:15Z

In the dataset, we include the recipe id, the type of cuisine, and the list of ingredients of each recipe (of variable length). The data is stored in JSON format.

An example of a recipe node in `train.json`:

```
 {  
 "id": 24717,  
 "cuisine": "indian",  
 "ingredients": [  
     "tumeric",  
     "vegetable stock",  
     "tomatoes",  
     "garam masala",  
     "naan",  
     "red lentils",  
     "red chili peppers",  
     "onions",  
     "spinach",  
     "sweet potatoes"  
 ]  
 }
```

In the test file `test.json`, the format of a recipe is the same as `train.json`, only the cuisine type is removed, as it is the target variable you are going to predict.