I got 2 csv named train.csv and test.csv.
Both files have the same structure, and I want to use train.csv as train data and test.csv as test data.
The thing is, I can't find anywhere how to use scikit-learn linear regression without using split, every tutorial/documentation I find uses the function train_test_split(), but if I understand correctly it's used to split one file (let's sey data.csv) as both train and test data.
Is it even possible ? If no, what alternative can I use ?
Thanks.
https://stackoverflow.com/questions/67378662/how-to-use-scikit-learn-linear-regression-without-using-split May 04, 2021 at 12:05PM
没有评论:
发表评论