Cal_NMI {M2SMJF}R Documentation

calculate the normalized mutual information.

Description

calculate the normalized mutual information of two vectors x and y.

Usage

Cal_NMI(x, y)

Arguments

x

A vector

y

A vector as long as x

Value

A number between 0 and 1 indicating the normalized mutual information

Author(s)

Xiaoyao Yin

Examples


x <- c(0.1,0.2,0.3,0.4)
y <- c(0.1,0.2,0.3,0.4)
NMI <- Cal_NMI(x,y)

[Package M2SMJF version 1.0 Index]