No project description provided
Localized Feature Selection (LFS)
Localized feature selection (LFS) is an approach whereby each region of the sample space is associated with its own distinct optimized feature set, which may vary both in membership and size across the sample space. This allows the feature set to optimally adapt to local variations in the sample space.
This repository contains a python implementation of this method that is compatible with scikit-learn pipelines. For a Matlab version, refer to LINK
from LFS import LocalFeatureSelection from sklearn.pipeline import Pipeline lfs = LocalFeatureSelection() pipeline = Pipeline([('lfs', lfs)]) pipeline.fit(training_data, training_labels) predicted_labels = pipeline.predict(testing_data) total_error, class_error = pipeline.score(testing_data, testing_labels)
- Narges Armanfard
- Oliver Cook
- Kiret Dhindsa
- Areeb Khawajaby
- Ron Harwood
- Thomas Mudway
- N. Armanfard, JP. Reilly, and M. Komeili, "Local Feature Selection for Data Classification", IEEE Trans. on Pattern Analysis and Machine Intelligence, vol. 38, no. 6, pp. 1217-1227, 2016.
- N. Armanfard, JP. Reilly, and M. Komeili, "Logistic Localized Modeling of the Sample Space for Feature Selection and Classification", IEEE Transactions on Neural Networks and Learning Systems, vol. 29, no. 5, pp. 1396-1413, 2018.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size LFSpy-1.0.0-py3-none-any.whl (10.3 kB)||File type Wheel||Python version py3||Upload date||Hashes View hashes|
|Filename, size LFSpy-1.0.0.tar.gz (8.7 kB)||File type Source||Python version None||Upload date||Hashes View hashes|