Skip to main content

Feature Selection with PSO

Project description

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)

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

SwarmML-1.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

SwarmML-1.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file SwarmML-1.0.tar.gz.

File metadata

  • Download URL: SwarmML-1.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for SwarmML-1.0.tar.gz
Algorithm Hash digest
SHA256 afcb8b09a6f14377cc1b1057d900ff079d00c57417be0f682ae76f1505b145a5
MD5 680c0f08c12ae58a5d8cfb7c3d691c27
BLAKE2b-256 442a59a87c34c0b08ddcf53e7bee58add2f90825e5d97edc60ceec0568181e92

See more details on using hashes here.

File details

Details for the file SwarmML-1.0-py3-none-any.whl.

File metadata

  • Download URL: SwarmML-1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for SwarmML-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2f4bdcf50deb07bdbc485bff0a7dc72ee66728ab5687b7a5c834ff16a7b1e504
MD5 d1398e0962002e5b4dc94eca9d8d0d12
BLAKE2b-256 1e4ffc379262dc3559f0f2324469c865fa1180e6c95bc26ec4e760e02e986749

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page