Skip to main content

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 features
  • y is a column vector with class labels
  • alpha is the mixing parameter
  • supervision is a boolean variable (0 = unsupervised version, 1 = supervised version)
  • verbose is a boolean variable (0, 1)
OUTPUT:
  • RANKED are indices of columns in x ordered by attribute importance
  • WEIGHT are attribute weights with large positive weights assigned to important attributes

Project details


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)

Uploaded Source

Built Distribution

PyIFS-0.0.3-py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page