fcbf
Categorical feature selection based on information theoretical considerations
Science Score: 18.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
○codemeta.json file
-
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (7.3%) to scientific vocabulary
Keywords
Repository
Categorical feature selection based on information theoretical considerations
Basic Info
Statistics
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
- Releases: 2
Topics
Metadata Files
README.md
Fast Correlation-Based Filter
A categorical feature selection approach based on information theoretical considerations.
Implementation of the fast correlation-based filter (FCBF) proposed by Yu and Liu:
bibtex
@inproceedings{inproceedings,
author = {Yu, Lei and Liu, Huan},
year = {2003},
month = {01},
pages = {856-863},
title = {Feature Selection for High-Dimensional Data: A Fast Correlation-Based Filter Solution},
volume = {2},
journal = {Proceedings, Twentieth International Conference on Machine Learning}
}
Data for testing is taken from the UCI Machine Learning Repository. See also notes on the contained lung cancer dataset.
Example
```py from fcbf import fcbf, data
dataset = data.lung_cancer X = dataset.loc[:, [dataset.columns[0]] + dataset.columns[2:].tolist()] y = dataset[dataset.columns[1]].astype(int) print(X) print(y)
relevantfeatures, irrelevantfeatures, correlations = fcbf(X, y, suthreshold=0.1, base=2) print('relevantfeatures:', relevantfeatures, '(count:', len(relevantfeatures), ')') print('irrelevantfeatures:', irrelevantfeatures, '(count:', len(irrelevant_features), ')') print('correlations:', correlations) ```
Setup
Using pip, execute the following
sh
pip install fcbf
Development
TODO
Contributing
TODO
License
Code is released under the MIT License. All dependencies are copyright to the respective authors and released under the respective licenses.
Owner
- Name: MartinJ
- Login: m-martin-j
- Kind: user
- Location: Karlsruhe
- Company: @fzi-forschungszentrum-informatik
- Website: https://www.fzi.de/team/martin-trat
- Repositories: 3
- Profile: https://github.com/m-martin-j
Research Scientist and Machine Learning Engineer | Working on solutions for continuously maintaining productively employed artificial intelligence
Citation (CITATION.bib)
@inproceedings{inproceedings,
author = {Yu, Lei and Liu, Huan},
year = {2003},
month = {01},
pages = {856-863},
title = {Feature Selection for High-Dimensional Data: A Fast Correlation-Based Filter Solution},
volume = {2},
journal = {Proceedings, Twentieth International Conference on Machine Learning}
}
GitHub Events
Total
Last Year
Committers
Last synced: almost 3 years ago
All Time
- Total Commits: 4
- Total Committers: 1
- Avg Commits per committer: 4.0
- Development Distribution Score (DDS): 0.0
Top Committers
| Name | Commits | |
|---|---|---|
| Martin Trat | m****t@g****m | 4 |
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 29 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 3
- Total maintainers: 1
pypi.org: fcbf
Categorical feature selection based on information theoretical considerations
- Homepage: https://github.com/m-martin-j/fcbf
- Documentation: https://fcbf.readthedocs.io/
- License: MIT
-
Latest release: 0.1.2
published almost 2 years ago
Rankings
Maintainers (1)
Dependencies
- numpy *
- pandas *
- python ^3.7
- scipy *
- numpy 1.26.4
- pandas 2.2.2
- python-dateutil 2.9.0.post0
- pytz 2024.1
- scipy 1.13.0
- six 1.16.0
- tzdata 2024.1