Algorithms, functions, classes, regular expressions, iterators, generators, OOP, exceptions, NumPy, pandas, scikit-learn
https://telega.in/c/python_tasks
Questions — @dina_ladnyuk
Post #3061
630
Что выведет код?
from sklearn.model_selection import train_test_split
X = [1, 2, 3, 4, 5]
y = [10, 20, 30, 40, 50]
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.4, random_state=1)
print(len(X_test))