lets say we have a vector A with 1000 values A = [1000 values] and a matrix B which is MxN : B = MxN
how can I select only those values from B which appear in A and make a matrix which is of M rows and equal number of colums?
Also: this is a question about classification using the mutual information. 'A' contains mutual information and 'B' contains the test dataset
EDIT: the values in A are derived from mutual information algorithm from another dataset which is of size 500x 1001. Where 500 is the number of samples and 1000 is the feature vector size. first column is the class of each sample. Matrix B consists of only the test samples with feature vectors and no class.