What is the purpose of feature engineering in data preprocessing?

To make data more complex
To extract meaningful features
To perform data cleaning
To visualize data

The correct answer is: B. To extract meaningful features.

Feature engineering is the process of using domain knowledge to extract features from raw data that make it more suitable for machine learning. The goal of feature engineering is to create features that are more relevant to the target variable and that can be used to train a more accurate model.

Option A is incorrect because the purpose of feature engineering is to make data more relevant, not more complex.

Option C is incorrect because data cleaning is the process of removing errors and inconsistencies from data.

Option D is incorrect because data visualization is the process of representing data in a graphical form.