co_occurrence_prob_single_parallel: Estimate co-occurence probability Pij of two data items x1...

Description Usage Arguments Value

Description

Estimate co-occurence probability Pij of two data items x1 and x2. The function is parallellized and utilizes (number-of-cores - 1) parallel computations.

Usage

1
2
co_occurrence_prob_single_parallel(x1, x2, data_function, cluster_function,
  iter = 1000)

Arguments

x1

Data item i.

x2

Data item j.

data_function

A function, such that data_function() returns n-2 resampled data points.

cluster_function

A clustering function that returns a set of cluster labels.

iter

The number of iterations. Optional. Default is 1000.

Value

The co-occurence probability of x1 and x2; i.e., the probability that data items x1 and x2 occur in the same cluster.


bwrc/corecluster-r documentation built on May 13, 2019, 9:12 a.m.