Skip to main content

A Biobjective Feature Selection neural network for High Dimensions, Low Sample data

Project description

Biobjective gradient descent for Feature Selection (BFS)

Code for BFS, a biobjective gradient descent feature selection method based on network sparsification.

Installation

To install BFS from git, clone the project using the following command:

::

git clone https://forge.ibisc.univ-evry.fr/tissa/BFS/tree/master/BFS.git

To reproduce the conda environment with the required packages and appropriate versions, use the following command:

For Mac users: ::

conda env create -f BFS_mac.yml

For Linux users: ::

conda env create -f BFS_linux.yml

To install BFS using pip:

::

pip install BGFS

Usage

If downloaded using git, before using BFS, first go to the source files' directory using the following command:

::

cd BFS/source

From there or when downloaded with pip, BFS can be loaded in a python script as any other module using the import command. BFS can be used with the following commands:

::

from BGFS.BFS import BFS

model = BFS(n_attr, pref_vector1, pref_vector2, n_hidden, n_output)
model.compile(init_optimizer, train_optimizer, init_learning_rate, train_learning_rate, metrics)
model.fit(X_train, y_train, validation_data=(X_val, y_val))

Documentation

BFS documentation can be found on: https://bfss.readthedocs.io/

License

BFS was created by Tina Issa. It is licensed under the terms of the MIT license.

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

BGFS-1.1.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

BGFS-1.1-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file BGFS-1.1.tar.gz.

File metadata

  • Download URL: BGFS-1.1.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.2

File hashes

Hashes for BGFS-1.1.tar.gz
Algorithm Hash digest
SHA256 4fd9cb61af7827401d0fefaee10eec5efabca568dc91806f1f81dc0bed8136c0
MD5 3a74c1ce8cb981d62491eaf53882ecd7
BLAKE2b-256 b471360e3b46b742448c1e601d87da892c6d6cdf660b626705f7cd99f23b51ae

See more details on using hashes here.

File details

Details for the file BGFS-1.1-py3-none-any.whl.

File metadata

  • Download URL: BGFS-1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.2

File hashes

Hashes for BGFS-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 257da83871c22ba9a09bbd19ca6669663f3c96b60fa261b5c2b4e39d5b252782
MD5 788237189a97516c86593d11c70d2abf
BLAKE2b-256 d237067b4fef6a362cc17aab6e77817741f6d7b387e5f7bb324f52a8ef2954ab

See more details on using hashes here.

Supported by

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