Final answer:
To train a model, the fit() function requires both input data and target output.
Step-by-step explanation:
The answer to the question 'What is true about training a model?' is option 1) Use the fit() function and input both X and y data. In machine learning, to train a model, you need to provide the model with both the input data (X) and the corresponding target output (y). The fit() function is used to train the model by adjusting its internal parameters based on the input data and the target output.