A python3 package for infinite feature selection
Project description
PyIFS
A python3 package for infinite feature selection
Installation
$ pip install PyIFS
How to use
import PyIFS
inf = PyIFS.InfFS()
[RANKED, WEIGHT] = inf.infFS(x, y, alpha, supervision, verbose)
INPUT:
x
is a T by n matrix, where T is the number of samples and n the number of featuresy
is a column vector with class labelsalpha
is the mixing parametersupervision
is a boolean variable (0 = unsupervised version, 1 = supervised version)verbose
is a boolean variable (0, 1)
OUTPUT:
RANKED
are indices of columns inx
ordered by attribute importanceWEIGHT
are attribute weights with large positive weights assigned to important attributes
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
PyIFS-0.0.3.tar.gz
(3.0 kB
view hashes)
Built Distribution
PyIFS-0.0.3-py3-none-any.whl
(4.2 kB
view hashes)