Skip to content

This is an open source Python package that provides an implementation of techniques inspired by the artificial immune system, enabling the easy and intuitive use of algorithms based on immunology.

License

Notifications You must be signed in to change notification settings

AIS-Package/aisp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Artificial Immune Systems Package.


Select the language / Selecione o Idioma:

Package documentation / Documentação do pacote:


English

Summary:

  1. Introduction.
  2. Installation.
    1. Dependencies
    2. User installation
    3. How to import the Techniques
  3. Examples.

Introduction

The AISP is a python package that implements artificial immune systems techniques, distributed under the GNU Lesser General Public License v3.0 (LGPLv3).

The package started in 2022 as a research package at the Federal Institute of Northern Minas Gerais - Salinas campus (IFNMG - Salinas).

Artificial Immune Systems (AIS) are inspired by the vertebrate immune system, creating metaphors that apply the ability to detect and catalog pathogens, among other features of this system.

Algorithms implemented:

Installation

The module requires installation of python 3.8.10 or higher.

Dependencies:
Packages Version
numpy ≥ 1.22.4
scipy ≥ 1.8.1
tqdm ≥ 4.64.1
User installation

The simplest way to install AISP is using pip:

pip install aisp
How to import the Techniques
from aisp.NSA import RNSA

nsa = RNSA(N=300, r=0.05)

Examples:


Example using the negative selection technique (nsa):

In the example present in this notebook, 500 random samples were generated, arranged in two groups, one for each class.

Below are some examples that use a database for classification with the Jupyter notebook tool.

Negative Selection:


Português

Sumário:

  1. Introdução.
  2. Instalação.
    1. Dependências
    2. Instalação do usuário
    3. Como importar as Tecnicas
  3. Exemplos.

Introdução

O AISP é um pacote python que implementa as técnicas dos sistemas imunológicos artificiais, distribuído sob a licença GNU Lesser General Public License v3.0 (LGPLv3).

O pacote teve início no ano de 2022 como um pacote de pesquisa no instituto federal do norte de minas gerais - campus salinas (IFNMG - Salinas).

Os sistemas imunológicos artificiais (SIA) inspiram-se no sistema imunológico dos vertebrados, criando metáforas que aplicam a capacidade de reconhecer e catalogar os patógenos, entre outras características desse sistema.

Algoritmos implementados:

Instalação

O módulo requer a instalação do python 3.8.10 ou superior.

Dependências:
Pacotes Versão
numpy ≥ 1.22.4
scipy ≥ 1.8.1
tqdm ≥ 4.64.1
Instalação do usuário

A maneira mais simples de instalação do AISP é utilizando o pip:

pip install aisp
Como importar as Tecnicas
from aisp.NSA import RNSA

nsa = RNSA(N=300, r=0.05)

Exemplos:


Exemplo utilizando a técnica de seleção negativa (nsa):

No exemplo presente nesse notebook, gerando 500 amostras aleatórias dispostas em dois grupos um para cada classe.

A seguir alguns exemplos que utiliza-se de base de dados para classificação com a ferramenta Jupyter notebook.

Seleção Negativa:


About

This is an open source Python package that provides an implementation of techniques inspired by the artificial immune system, enabling the easy and intuitive use of algorithms based on immunology.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages