cal_metrics: Calculate 3 metrics and these methods are exported in C...

Description Usage Arguments Value

View source: R/Cluster_Evaluation.R

Description

Calculate 3 metrics and these methods are exported in C codes. flag = 1 — Rand index, flag = 2 — Fowlkes and Mallows's index, flag = 3 — Jaccard index

Usage

1
cal_metrics(cl1, cl2, randMethod = c("Rand", "FM", "Jaccard"))

Arguments

cl1

a vector

cl2

a vector

randMethod

a string chosen from "Rand", "FM", or "Jaccard"

Value

a numeric vector including three values


suke18/FEAST documentation built on Sept. 14, 2021, 12:22 a.m.