create_clustering_problem {cvxclustr}R Documentation

Create a random clustering problem

Description

create_clustering_problem makes a random clustering problem for testing purposes.

Usage

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

p <- 10
n <- 20
seed <- 12345
rnd_problem_admm <- create_clustering_problem(p,n,seed)

[Package cvxclustr version 1.1.1 Index]