This parameter decides the size of the data that hastobesplitas the test dataset. This is given asa fraction. For example, if you pass 0.5as the value, the dataset will besplit50% as the test dataset. If you’re specifying this parameter, you can ignore the next parameter.
You have to specify this parameter onlyif you’re not specifying the test_size. This is the same as test_size, but instead you tell the class what percent of the dataset you want to split as the training set.