# 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)
```
Raw data
{
"_id": null,
"home_page": "https://github.com/SalehAhmad1/SwarmML",
"name": "SwarmML",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "feature selection,particle swarm optimization,PSO,machine learning,data science",
"author": "Saleh Ahmad",
"author_email": "salehahmad2106@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/44/2a/59a87c34c0b08ddcf53e7bee58add2f90825e5d97edc60ceec0568181e92/SwarmML-1.0.tar.gz",
"platform": null,
"description": "# SwarmML\n## A python package that utilizes Particle Swarm Optimization for Feature Selection\n\nSwarmML 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.\n\n## Features\n- Performs feature selection using Particle Swarm Optimization.\n- Supports both classification and regression tasks.\n- Provides customizable parameters for PSO algorithm.\n- Simple and easy to use package.\n\n## Installation\nYou can install SwarmML using pip:\n```\npip install SwarmML\n```\n\n## Examples\n\n### Example 1\n\n```\nimport SwarmML\nfrom sklearn.datasets import load_iris\n\nX,Y = load_iris(return_X_y=True)\n\nobj = SwarmML.FeatureSelection.Particle_Swarm_Optimization('Classification')\nBest_Features, Best_Score = obj.run(X, Y)\n```\n\n",
"bugtrack_url": null,
"license": "",
"summary": "Feature Selection with PSO",
"version": "1.0",
"project_urls": {
"Homepage": "https://github.com/SalehAhmad1/SwarmML"
},
"split_keywords": [
"feature selection",
"particle swarm optimization",
"pso",
"machine learning",
"data science"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "1e4ffc379262dc3559f0f2324469c865fa1180e6c95bc26ec4e760e02e986749",
"md5": "d1398e0962002e5b4dc94eca9d8d0d12",
"sha256": "2f4bdcf50deb07bdbc485bff0a7dc72ee66728ab5687b7a5c834ff16a7b1e504"
},
"downloads": -1,
"filename": "SwarmML-1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d1398e0962002e5b4dc94eca9d8d0d12",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 5508,
"upload_time": "2023-06-07T20:24:53",
"upload_time_iso_8601": "2023-06-07T20:24:53.771303Z",
"url": "https://files.pythonhosted.org/packages/1e/4f/fc379262dc3559f0f2324469c865fa1180e6c95bc26ec4e760e02e986749/SwarmML-1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "442a59a87c34c0b08ddcf53e7bee58add2f90825e5d97edc60ceec0568181e92",
"md5": "680c0f08c12ae58a5d8cfb7c3d691c27",
"sha256": "afcb8b09a6f14377cc1b1057d900ff079d00c57417be0f682ae76f1505b145a5"
},
"downloads": -1,
"filename": "SwarmML-1.0.tar.gz",
"has_sig": false,
"md5_digest": "680c0f08c12ae58a5d8cfb7c3d691c27",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4870,
"upload_time": "2023-06-07T20:24:55",
"upload_time_iso_8601": "2023-06-07T20:24:55.671228Z",
"url": "https://files.pythonhosted.org/packages/44/2a/59a87c34c0b08ddcf53e7bee58add2f90825e5d97edc60ceec0568181e92/SwarmML-1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-06-07 20:24:55",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "SalehAhmad1",
"github_project": "SwarmML",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "swarmml"
}