from sklearn.model_selection import train_test_split |
X = df ['fibre_diameter','pore_diameter', 'contact_angle','youngs_modulus'] |
Y = df ['nb_cells’] |
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size = 0.2, |
random_state = 0) |
from sklearn.model_selection import train_test_split |
X = df ['fibre_diameter','pore_diameter', 'contact_angle','youngs_modulus'] |
Y = df ['nb_cells’] |
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size = 0.2, |
random_state = 0) |