Question 58
Given below a y_train list which consists of coffee order's preference by the customers in a cafe.
MultiLabelBinarizer from sklearn library has been used to convert the y_train into numbers, so which of the following option matches with the output of the following code ?
[[1 0 1 0],[1 0 0 1],[0 1 0 1],[0 1 1 0]]
[[0 0],[1 0],[0 1],[1 1],[1 0],[0 0],[0 0],[0 0]]
[[1 0 1 0 0 1 0 0],[1 0 0 1 1 0 0 0]]
[[1 0][1 0],[1 0] [0 1],[0 1] [0 1],[0 1][1 0]]