frane-0.1.0
توضیحات
Unsupervised Feature Ranking via Attribute Networks
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX :: Linux |
| نام فایل | frane-0.1.0 |
| نام | frane |
| نسخه کتابخانه | 0.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Blaž Šrklj, Urh Primožič, Matej Petkovič |
| ایمیل نویسنده | urh.primozic@student.fmf.uni-lj.si |
| آدرس صفحه اصلی | https://github.com/FRANe-team/FRANe |
| آدرس اینترنتی | https://pypi.org/project/frane/ |
| مجوز | BSD 2-clause |
# FRANe
Unsupervised Feature Ranking via Attribute Networks (FRANe)
converts a dataset into a network (graph) with
- nodes that correspond to the features in the data,
- undirected edges whose weights are proportional to the similarity
between the two corresponding features.
PageRank algorithm is than used to compute the centrality of the nodes
(features) and the computed scores are interpreted as feature importance
scores.

# Examplary Code Snippet
The FRANe method is implemented in Python3.
The implementation requires some standard scientific libraries
(e.g., numpy and scipy) that make the implementation efficient.
The method is easy to use:
```
import frane
import numpy as np
x = np.random.random((100,1000))
r = frane.FRANe()
r.fit(x)
scores = r.feature_importances_
print(scores)
```
See `examples` for more examples. To run tests, please try `pytest ./tests/*`
# Data
The data in the directory `data` was taken from [sk-feature](https://github.com/jundongl/scikit-feature) repository.
نحوه نصب
نصب پکیج whl frane-0.1.0:
pip install frane-0.1.0.whl
نصب پکیج tar.gz frane-0.1.0:
pip install frane-0.1.0.tar.gz