aboutsummaryrefslogtreecommitdiff
path: root/FEAST/FSToolbox/MIM.m
diff options
context:
space:
mode:
Diffstat (limited to 'FEAST/FSToolbox/MIM.m')
-rw-r--r--FEAST/FSToolbox/MIM.m17
1 files changed, 0 insertions, 17 deletions
diff --git a/FEAST/FSToolbox/MIM.m b/FEAST/FSToolbox/MIM.m
deleted file mode 100644
index 31695e4..0000000
--- a/FEAST/FSToolbox/MIM.m
+++ /dev/null
@@ -1,17 +0,0 @@
-function [selectedFeatures scoreVector] = MIM(k, data, labels)
-%function [selectedFeatures scoreVector] = MIM(k, data, labels)
-%
-%Mutual information Maximisation
-%
-% The license is in the license.txt provided.
-
-numf = size(data,2);
-classMI = zeros(numf,1);
-
-for n = 1 : numf
- classMI(n) = mi(data(:,n),labels);
-end
-
-[scoreVector index] = sort(classMI,'descend');
-
-selectedFeatures = index(1:k);