Parameter “stratify” from method “train_test_split” (scikit Learn)
Scikit-Learn is just telling you it doesn’t recognise the argument “stratify”, not that you’re using it incorrectly. This is because the parameter was added in version 0.17 as indicated in the documentation you quoted. So you just need to update Scikit-Learn.