gka_mutation {UAHDataScienceUC}R Documentation

Mutation method

Description

Mutation method

Usage

gka_mutation(chromosome, prob, k, mut_probability)

Arguments

chromosome

a vector of size n with the cluster assignments for each observation.

prob

a matrix of size n by k with the probability of each allele mutating to a specific cluster.

k

the number of clusters.

mut_probability

the probability of a mutation occurring.

Value

a vector of size n with the cluster assignments for each observation i.e. a new chromosome.

Author(s)

Eduardo Ruiz Sabajanes, eduardo.ruizs@edu.uah.es


[Package UAHDataScienceUC version 1.0.1 Index]