Mar-02-2018, 02:56 PM
Hi,
I am using random forest method for regression,
I sue below comment:
X_train,X_test,Y_train,Y_test=train_split(x,y,test_size=0.3,random_state=0)
With above comment, it is splitting randomly, but I want take first 70% as train test, and next 30% as test ,
How to do this,
I am using random forest method for regression,
I sue below comment:
X_train,X_test,Y_train,Y_test=train_split(x,y,test_size=0.3,random_state=0)
With above comment, it is splitting randomly, but I want take first 70% as train test, and next 30% as test ,
How to do this,