ECFS
A Python implementation of the Ranking to Learn: Feature Ranking and Selection via Eigenvector Centrality paper.
Install / Use
/learn @OhadVolk/ECFSREADME
Feature Ranking and Selection via Eigenvector Centrality
ECFS is a Python implementation of the Feature Ranking and Selection via Eigenvector Centrality algorithm by Giorgio Roffo and Simone Melz. Please check the code for full references.
Installation
Windows users can run the following:
git clone https://github.com/OhadVolk/ECFS.git
cd ECFS
python setup.py install
Linux users can run the following:
git clone https://github.com/OhadVolk/ECFS.git
cd ECFS
sudo python setup.py install
Usage
Check the Example.ipynb notebook for more details.
from ec_feature_selection import ECFS
# Create an instance, select top 10 features
ecfs = ECFS(n_features=10)
# Fit and Transform the training data
X_train_reduced = ecfs.fit_transform(X=X_train, y=y_train, alpha=0.5, positive_class=1, negative_class=0)
# Transform the test data
X_test_reduced = ecfs.transform(X_test)
License
Related Skills
node-connect
351.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
