From 0a0fadb1281df594452ac239d5d8362a9e0c5e66 Mon Sep 17 00:00:00 2001 From: Calvin Date: Mon, 25 Mar 2013 16:19:06 -0400 Subject: added all FS functions --- python/demo_feast_wrapper.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'python/demo_feast_wrapper.py') diff --git a/python/demo_feast_wrapper.py b/python/demo_feast_wrapper.py index 4c965e3..813c2f5 100644 --- a/python/demo_feast_wrapper.py +++ b/python/demo_feast_wrapper.py @@ -14,6 +14,7 @@ if data_source == 'uniform': elif data_source == 'digits': data, labels = import_data.read_digits('digit.txt') +print data n_observations = len(data) # number of samples in the data set @@ -28,5 +29,6 @@ print ' :n_features - ' + str(n_features) print ' :n_select - ' + str(n_select) print ' :algorithm - ' + str(method) -selected_features = feast.select(data, labels, n_observations, n_features, n_select, method) +selected_features = feast.JMI(data, labels, n_select) +print selected_features -- cgit v1.2.3