From sklearn.model_selection import train_test_split
时间: 2023-10-06 13:04:07 浏览: 101
数据集分割train和test程序
This is a Python code that imports the train_test_split function from the sklearn library's model_selection module. This function is commonly used in machine learning to split a dataset into training and testing sets for model evaluation.
阅读全文