ARI: Calculate the adjusted rand index (ARI), including 5...

Description Usage Arguments Value Examples

View source: R/ARI.R

Description

This function is to calculate the performance of the algorithm by the adjusted Rand index (ARI).

Usage

1
ARI(ground_true_clusters, y, ...)

Arguments

ground_true_clusters

the ground-truth clusters

y

the results after running the SHARP function

...

other parameters like randMethod which is used to specify the rand measure method chosen from the aforementioned five metrics.

Value

The clustering metric, i.e., adjusted Rand index (ARI).

Examples

1
2
y = SHARP(scExp)
finalmetrics = ARI(ground_true_clusters, y)

shibiaowan/SHARP documentation built on April 28, 2021, 1:56 p.m.