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 details)
Built Distribution
PyIFS-0.0.3-py3-none-any.whl
(4.2 kB
view details)
File details
Details for the file PyIFS-0.0.3.tar.gz
.
File metadata
- Download URL: PyIFS-0.0.3.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9134871e127db10f14d7116fdf86e4f884cb3b28f81933a6ce94c6d1cc2d33f |
|
MD5 | 9628606c98425ed3eaa83f10eab09402 |
|
BLAKE2b-256 | a722acc4031d12369d6d6a1f0f5455bd99a12474a9093ddc7b60748752d9584b |
File details
Details for the file PyIFS-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: PyIFS-0.0.3-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4e0b0983c924b80fcbb21eb79587eddb511e4c997e28fec55a3ce2ca7a9e5c9 |
|
MD5 | 8e2f90b4a18997634db2de386c5bb59a |
|
BLAKE2b-256 | 49e669d2173a88443419c26c3606054095ffb184315b10405fcce0d8a607eb6f |