正解:B
https://docs.microsoft.com/en-us/azure/machine-learning/algorithm-module-reference/split-data The correct answer is B. Randomly split the data into rows for training and rows for evaluation.
According to the Microsoft Azure AI Fundamentals (AI-900) official study guide and the Microsoft Learn module "Describe fundamental principles of machine learning on Azure", the process of developing a machine learning model involves dividing the available dataset into two or more parts-commonly training data and evaluation (or testing) data. The goal is to ensure that the model can learn patterns from one subset of the data (training set) and then be objectively tested on unseen data (evaluation set) to measure how well it generalizes to new situations.
The training dataset contains both features (the measurable inputs) and labels (the target outputs). The model learns from the patterns and relationships between these features and labels. The evaluation dataset also contains features and labels, but it is kept separate during the training phase. Once the model has been trained, it is tested on this unseen evaluation data to calculate metrics like accuracy, precision, recall, or F1 score.
Microsoft emphasizes that the data split should be random and based on rows, not columns. Each row represents a complete observation (for example, one customer record, one transaction, or one image).
Randomly splitting ensures that both subsets represent the same distribution of data, avoiding bias. Splitting by columns would separate features themselves, which would make the model training invalid.
The AI-900 materials often illustrate this using Azure Machine Learning's data preparation workflow, where data is randomly divided (commonly 70% for training and 30% for testing). This ensures the model learns from diverse examples and is fairly evaluated.
Therefore, the verified and correct approach, as per Microsoft's official guidance, is B. Randomly split the data into rows for training and rows for evaluation.