You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

548 B

The exercice is validated is all questions of the exercice are validated
The question 1 is validated if X_train, y_train, X_test, y_test match the output below. The proportion of class 1 is 0.125 in the train set and 1. in the test set.
X_train:  
 [[ 1  2]
 [ 3  4]
 [ 5  6]
 [ 7  8]
 [ 9 10]
 [11 12]
 [13 14]
 [15 16]]


y_train:  
 [0. 0. 0. 0. 0. 0. 0. 1.]


X_test:  
 [[17 18]
 [19 20]]


y_test:  
 [1. 1.]
The question 2 is validated if the proportion of class 1 is 0.3 for both sets.