create_clustering_problem: Create a random clustering problem

Description Usage Arguments Examples

View source: R/util.r

Description

create_clustering_problem makes a random clustering problem for testing purposes.

Usage

1
create_clustering_problem(p, n, seed = 12345, nnn = 3, method = "ama")

Arguments

p

Dimension of space of points to be clustered

n

Number of points

seed

Random number seed

nnn

Number of nearest neighbors

method

'ama' or 'admm'

Examples

1
2
3
4
p <- 10
n <- 20
seed <- 12345
rnd_problem_admm <- create_clustering_problem(p,n,seed)

scvxclustr documentation built on May 29, 2017, 9:08 a.m.