diff options
author | Calvin <calvin@EESI> | 2013-03-25 16:19:06 -0400 |
---|---|---|
committer | Calvin <calvin@EESI> | 2013-03-25 16:19:06 -0400 |
commit | 0a0fadb1281df594452ac239d5d8362a9e0c5e66 (patch) | |
tree | ee7a3230e1173b2f47b9760d51025f28887b0803 /python/demo_feast_wrapper.py | |
parent | cc8970858d15f4596f3f0726d92b494b1e34bd42 (diff) |
added all FS functions
Diffstat (limited to 'python/demo_feast_wrapper.py')
-rw-r--r-- | python/demo_feast_wrapper.py | 4 |
1 files changed, 3 insertions, 1 deletions
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 |