SwarmML
A python package that utilizes Particle Swarm Optimization for Feature Selection
SwarmML is a Python package that implements Particle Swarm Optimization (PSO) for feature selection. It can be used to improve the performance of classification and regression tasks by automatically selecting the most informative features from a given dataset.
Features
- Performs feature selection using Particle Swarm Optimization.
- Supports both classification and regression tasks.
- Provides customizable parameters for PSO algorithm.
- Simple and easy to use package.
Installation
You can install SwarmML using pip:
pip install SwarmML
Examples
Example 1
import SwarmML
from sklearn.datasets import load_iris
X,Y = load_iris(return_X_y=True)
obj = SwarmML.FeatureSelection.Particle_Swarm_Optimization('Classification')
Best_Features, Best_Score = obj.run(X, Y)
Release files for SwarmML 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| SwarmML-1.0.tar.gz | 4.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| SwarmML-1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.4 kB
Release files / SwarmML-1.0.tar.gz
| Download URL | SwarmML-1.0.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
afcb8b09a6f14377cc1b1057d900ff079d00c57417be0f682ae76f1505b145a5
|
|
BLAKE2b-256 checksum How to use checksums |
442a59a87c34c0b08ddcf53e7bee58add2f90825e5d97edc60ceec0568181e92
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Release files / SwarmML-1.0-py3-none-any.whl
| Download URL | SwarmML-1.0-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2f4bdcf50deb07bdbc485bff0a7dc72ee66728ab5687b7a5c834ff16a7b1e504
|
|
BLAKE2b-256 checksum How to use checksums |
1e4ffc379262dc3559f0f2324469c865fa1180e6c95bc26ec4e760e02e986749
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|