I wonder if someone could help with the function Classify with matrix,
If X is a 3X2 input matrix
x= ( 1 3; 4 7; 5 9) and y is a 3X1 output matrix Y = (0 ; 0; 1)
meaning
(1,3)->0
(4,7)->0
(5,9)->1
How can I train the function Classify in this case?
Thanks.
Hi Ivanildo,
x = {{1, 3}, {4, 7}, {5, 9}};
y = {0, 0, 1};
data = Thread[x -> y]
classifier = Classify[data]
Thanks
If I have a huge matrix X with 500 columns and 1000 lines as input anda an output matrix Y, how can I use them with this commmand?