Skip to main content

Python framework for building classifiers using nature-inspired algorithms

Project description


PyPI Version PyPI - Python Version PyPI - Downloads GitHub license GitHub commit activity Average time to resolve an issue Percentage of issues still open GitHub contributors

NiaClass is a framework for solving classification tasks using nature-inspired algorithms. The framework is written fully in Python. Its goal is to find the best possible set of classification rules for the input data using the NiaPy framework, which is a popular Python collection of nature-inspired algorithms. The NiaClass classifier supports numerical and categorical features.




Install NiaClass with pip3:

pip3 install niaclass

In case you would like to try out the latest pre-release version of the framework, install it using:

pip3 install niaclass --pre

Fedora Linux

To install NiaClass on Fedora, use:

$ dnf install python-niaclass


  • Binary classification,
  • Multi-class classification,
  • Support for numerical and categorical features.


Usage examples can be found here.

Reference Papers (software is based on ideas from):

[1] Iztok Fister Jr., Iztok Fister, Dušan Fister, Grega Vrbančič, Vili Podgorelec. On the potential of the nature-inspired algorithms for pure binary classification. In. Computational science - ICCS 2020 : 20th International Conference, Proceedings. Part V. Cham: Springer, pp. 18-28. Lecture notes in computer science, 12141, 2020


This package is distributed under the MIT License. This license can be found online at


This framework is provided as-is, and there are no guarantees that it fits your purposes or that it is bug-free. Use it at your own risk!

Cite us

Pečnik L., Fister I., Fister Jr. I. (2021) NiaClass: Building Rule-Based Classification Models Using Nature-Inspired Algorithms. In: Tan Y., Shi Y. (eds) Advances in Swarm Intelligence. ICSI 2021. Lecture Notes in Computer Science, vol 12690. Springer, Cham.

Project details

Download files

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

Source Distribution

niaclass-0.1.4.tar.gz (9.1 kB view hashes)

Uploaded source

Built Distribution

niaclass-0.1.4-py3-none-any.whl (8.8 kB view hashes)

Uploaded py3

Supported by

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