Skip to main content
Version: 0.5.x

AISP - API

Welcome to the AISP (Artificial Immune System Package) api. This documentation demonstrates the package public API.

Core Modules (aisp.base)

Fundamental abstractions and base classes that define core interfaces of package.

ClassDescription
BaseClassifierAbstract base class for classification algorithms.
BaseClustererAbstract base class for clustering algorithms.
BaseOptimizerAbstract base class for optimization algorithms.

Immune Domain components (aisp.base.immune)

Core structures and support utilities for implementations immune.

ModuleDescription
cellRepresentation of immune system cells.
mutationFunctions to generate mutated clones and simulate clonal expansion.
populationsProvide utility functions for generating antibody populations in immunological algorithms.

Algorithms

Negative Selection Algorithms (aisp.nsa)

supervised learning algorithms based on negative selection, the immune systems process of distinguishing self from not-self.

ClassDescription
RNSAA supervised learning algorithm for classification that uses real-valued detectors.
BNSAA supervised learning algorithm for classification that uses binary detectors.

Clonal Selection Algorithms (aisp.csa)

Algorithms inspired by the process of antibody proliferation to detecting an antigen.

ClassDescription
AIRSA supervised learning algorithm for classification tasks based on the clonal selection principle.
ClonalgImplementation of the clonal selection algorithm for optimization, adapted for both minimization and maximization of cost functions in binary, continuous, and permutation problems.

Immune Network Algorithms (aisp.ina)

Algorithms based on Network Theory Algorithms proposed by Jerne.

ClassDescription
AiNetAn unsupervised learning algorithm for clustering, based on the theory of immune networks.

Utils (aisp.utils)

Utility functions and helpers for development.

ModuleDescription
displayUtility functions for displaying algorithm information.
distanceUtility functions for distance between arrays with numba decorators.
metricsUtility functions for measuring accuracy and performance.
multiclassUtility functions for handling classes with multiple categories.
sanitizersUtility functions for validation and treatment of parameters.
typesDefines type aliases used throughout the project to improve readability.
validationContains functions responsible for validating data types.

Exceptions (aisp.exceptions)

Custom warnings and errors.