W1_parallel {chickn}R Documentation

Wasserstein-1 distance

Description

Wasserstein-1 distance

Usage

W1_parallel(X, C, set_c)

Arguments

X

A Filebacked Big Matrix n x N.

C

A Filebacked Big Matrix N x l, which stores the Wasserstein distances.

set_c

Column index vector. The data vector indices for which the Wasserstein distances are computed.

Details

The Wasserstein-1 distances are computed between the data vectors from set_c and all columns of X.


[Package chickn version 1.2.3 Index]