Dependencies
Make sure you have install the sklearn
sklearn version == 1.0.1
Feature Selection using Bregman divergence & Itakura Saito
What is Bregman Divergence & Itakura Saito
In statistics, divergence is a function that finds and measures differences using the distance between two probability distributions. Bregman divergence is one of many divergences. It can be calculated with the squared Euclidean distance:
###Steps to apply auto_feat_selection
#import
from auto_feat_select_rupakbob import auto_feat_selection
#grid_feat_search(dataframe,'taget_column_name', max_divergence(default = 0,max = 10)accepted divergence with the target column)
index 0 = BregmanDivergenceSelector, index 1 = ItakuraSaitoSelector
cols_BregmanDivergenceSelector = auto_feat_selection.grid_feat_search(df,'target',5)[0]
cols_ItakuraSaitoSelector = auto_feat_selection.grid_feat_search(df,'target',5)[1]
Evaluate if the selected features improves the model
###Currently supports Logistic Regression base model with goal to evaluate feature performance
#evaluate_grid_feat_search(dataframe,'taget_column_name')
auto_feat_selection.evaluate_grid_feat_search(df,cols_BregmanDivergenceSelector,target ='target')
auto_feat_selection.evaluate_grid_feat_search(df,cols_ItakuraSaitoSelector,target ='target')
Metadata
Release files for auto-feat-selection 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| auto_feat_selection-0.0.8.tar.gz | 3.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| auto_feat_selection-0.0.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.3 kB
Release files / auto_feat_selection-0.0.8.tar.gz
| Download URL | auto_feat_selection-0.0.8.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b6ea1bfba30b61170f77593bb89c9a4db54884c917ef9800a5dde8b5489dec14
|
|
BLAKE2b-256 checksum How to use checksums |
97ab63c2494246c027df8bc9f519a3c91ba6e9f6af6b66418f7c7676b6f6a18d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.3
|
Release files / auto_feat_selection-0.0.8-py3-none-any.whl
| Download URL | auto_feat_selection-0.0.8-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bcd023207f96e9413f0723036b5e840544be4be8fd8a71b715dfd529f196c6a0
|
|
BLAKE2b-256 checksum How to use checksums |
0ef9258bae42ecb85157835f77cd67af0a9103b95b9e812936da66c71808be31
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.3
|
Security for auto-feat-selection 0.0.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.