gbfs


Namegbfs JSON
Version 0.1.1 PyPI version JSON
download
home_pagehttps://github.com/davidlevinwork/gbfs/
SummaryGraph-Based Feature-Selection Algorithms
upload_time2024-03-19 09:09:07
maintainer
docs_urlNone
authorDavid Levin
requires_python>=3.10,<4.0
licenseMIT
keywords feature-selection automatic-feature-selection clustering dimensionality-reduction
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ## GB-FS

**gbfs** is a comprehensive repository dedicated to advancing Graph-Based Feature Selection methodologies in machine learning. Our project houses two significant contributions to the field: GB-AFS and GB-BC-FS, each developed to address the intricate challenges of feature selection with graph-based solutions.

[![Downloads](https://static.pepy.tech/badge/gbfs)](https://pepy.tech/project/gbfs) [![Downloads](https://static.pepy.tech/badge/gbfs/month)](https://pepy.tech/project/gbfs)

## Table of contents
- [Our Contributions](#our-contributions)
- [Installation](#installation)
- [Usage](#usage)
  - [GB-AFS](#GB-AFS)
    - [Initialization](#Initialization)
    - [Feature-Selection](#Feature-Selection)
    - [Visualization](#visualization)
  - [GB-BC-FS](#GB-BC-FS)
    - [Status](#status)
- [Documentation](#documentation)
- [Contribution](#contribution)
- [Citation](#citation)

## Our Contributions

- **GB-AFS (Graph-Based Automatic Feature Selection)**: A method that automates the process of feature selection for multi-class classification tasks, ensuring the minimal yet most effective set of features is utilized for model training.
  
- **GB-BC-FS (Graph-Based Budget-Constrained Feature Selection)**: Currently in development, this method seeks to enhance feature selection by integrating budget constraints, ensuring the cost of each feature is considered.

## Installation

`gbfs` has been tested with Python 3.10.

**pip**
```bash
$ pip install gbfs 
```

**Clone from GitHub**
```bash
$ git clone https://github.com/davidlevinwork/gbfs.git && cd gbfs
$ poetry install
$ poetry shell
```

## Usage

### GB-AFS

#### Initialization

To begin working with GB-AFS, the first step is to initialize the GB-AFS object:

``` py bash
from gbfs import GBAFS

gbafs = GBAFS(
    dataset_path="path/to/your/dataset.csv",
    separability_metric="your_separability_metric",
    dim_reducer_model="your_dimensionality_reduction_method",
    label_column="class",
)
```

#### Feature-Selection
After initializing the GB-AFS object, you can move forward with the process of selecting features:

``` py bash
selected_features = gbafs.select_features()

print("Selected Feature Indices:", selected_features)
```

#### Visualization
GB-AFS also incorporates a technique for visualizing the chosen features within the feature space, offering insights into their distribution and how distinct they are:

``` py bash
gbafs.plot_feature_space()
```

### GB-BC-FS

#### Status
Currently in development.

## Documentation
For more information on available commands and usage, refer to the [documentation](https://davidlevinwork.github.io/gbfs/).

## Contribution
Contributions to `gbfs` are welcome! If you encounter any issues or have suggestions for improvements, please open an issue.

## Citation
            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/davidlevinwork/gbfs/",
    "name": "gbfs",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10,<4.0",
    "maintainer_email": "",
    "keywords": "feature-selection,automatic-feature-selection,clustering,dimensionality-reduction",
    "author": "David Levin",
    "author_email": "davidlevin40@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/7f/ac/634722dba7c9d9b2fe48d6037d822e4e36017b95afa8f4fc9afbf4029282/gbfs-0.1.1.tar.gz",
    "platform": null,
    "description": "## GB-FS\n\n**gbfs** is a comprehensive repository dedicated to advancing Graph-Based Feature Selection methodologies in machine learning. Our project houses two significant contributions to the field: GB-AFS and GB-BC-FS, each developed to address the intricate challenges of feature selection with graph-based solutions.\n\n[![Downloads](https://static.pepy.tech/badge/gbfs)](https://pepy.tech/project/gbfs) [![Downloads](https://static.pepy.tech/badge/gbfs/month)](https://pepy.tech/project/gbfs)\n\n## Table of contents\n- [Our Contributions](#our-contributions)\n- [Installation](#installation)\n- [Usage](#usage)\n  - [GB-AFS](#GB-AFS)\n    - [Initialization](#Initialization)\n    - [Feature-Selection](#Feature-Selection)\n    - [Visualization](#visualization)\n  - [GB-BC-FS](#GB-BC-FS)\n    - [Status](#status)\n- [Documentation](#documentation)\n- [Contribution](#contribution)\n- [Citation](#citation)\n\n## Our Contributions\n\n- **GB-AFS (Graph-Based Automatic Feature Selection)**: A method that automates the process of feature selection for multi-class classification tasks, ensuring the minimal yet most effective set of features is utilized for model training.\n  \n- **GB-BC-FS (Graph-Based Budget-Constrained Feature Selection)**: Currently in development, this method seeks to enhance feature selection by integrating budget constraints, ensuring the cost of each feature is considered.\n\n## Installation\n\n`gbfs` has been tested with Python 3.10.\n\n**pip**\n```bash\n$ pip install gbfs \n```\n\n**Clone from GitHub**\n```bash\n$ git clone https://github.com/davidlevinwork/gbfs.git && cd gbfs\n$ poetry install\n$ poetry shell\n```\n\n## Usage\n\n### GB-AFS\n\n#### Initialization\n\nTo begin working with GB-AFS, the first step is to initialize the GB-AFS object:\n\n``` py bash\nfrom gbfs import GBAFS\n\ngbafs = GBAFS(\n    dataset_path=\"path/to/your/dataset.csv\",\n    separability_metric=\"your_separability_metric\",\n    dim_reducer_model=\"your_dimensionality_reduction_method\",\n    label_column=\"class\",\n)\n```\n\n#### Feature-Selection\nAfter initializing the GB-AFS object, you can move forward with the process of selecting features:\n\n``` py bash\nselected_features = gbafs.select_features()\n\nprint(\"Selected Feature Indices:\", selected_features)\n```\n\n#### Visualization\nGB-AFS also incorporates a technique for visualizing the chosen features within the feature space, offering insights into their distribution and how distinct they are:\n\n``` py bash\ngbafs.plot_feature_space()\n```\n\n### GB-BC-FS\n\n#### Status\nCurrently in development.\n\n## Documentation\nFor more information on available commands and usage, refer to the [documentation](https://davidlevinwork.github.io/gbfs/).\n\n## Contribution\nContributions to `gbfs` are welcome! If you encounter any issues or have suggestions for improvements, please open an issue.\n\n## Citation",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Graph-Based Feature-Selection Algorithms",
    "version": "0.1.1",
    "project_urls": {
        "Documentation": "https://davidlevinwork.github.io/gbfs/",
        "Homepage": "https://github.com/davidlevinwork/gbfs/",
        "Repository": "https://github.com/davidlevinwork/gbfs/"
    },
    "split_keywords": [
        "feature-selection",
        "automatic-feature-selection",
        "clustering",
        "dimensionality-reduction"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "facd7d90eff9f65162e8f4775bcf18a37f392307dcb029e727b195d3fd1dcd83",
                "md5": "a5160a45ab6e6e7abbd39b1ec4b423db",
                "sha256": "21d0055f21ede61309633e82423ea65a55d678aea2677062391505d3dacf8c7f"
            },
            "downloads": -1,
            "filename": "gbfs-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a5160a45ab6e6e7abbd39b1ec4b423db",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10,<4.0",
            "size": 14414,
            "upload_time": "2024-03-19T09:09:05",
            "upload_time_iso_8601": "2024-03-19T09:09:05.439247Z",
            "url": "https://files.pythonhosted.org/packages/fa/cd/7d90eff9f65162e8f4775bcf18a37f392307dcb029e727b195d3fd1dcd83/gbfs-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7fac634722dba7c9d9b2fe48d6037d822e4e36017b95afa8f4fc9afbf4029282",
                "md5": "eb3b9f3bd5f2009e8cc1c00eaebd91fc",
                "sha256": "20357a1d3d34f5eae3405e31a0d5b10dfaff2031f8c4dc7ef604c1f0e1957a83"
            },
            "downloads": -1,
            "filename": "gbfs-0.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "eb3b9f3bd5f2009e8cc1c00eaebd91fc",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10,<4.0",
            "size": 11444,
            "upload_time": "2024-03-19T09:09:07",
            "upload_time_iso_8601": "2024-03-19T09:09:07.067418Z",
            "url": "https://files.pythonhosted.org/packages/7f/ac/634722dba7c9d9b2fe48d6037d822e4e36017b95afa8f4fc9afbf4029282/gbfs-0.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-19 09:09:07",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "davidlevinwork",
    "github_project": "gbfs",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "gbfs"
}
        
Elapsed time: 0.21542s