create_clustering_problem: Create a random clustering problem

Description Usage Arguments Examples

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)

Example output

Loading required package: Matrix
Loading required package: igraph

Attaching package: 'igraph'

The following objects are masked from 'package:stats':

    decompose, spectrum

The following object is masked from 'package:base':

    union

cvxclustr documentation built on May 2, 2019, 3:44 p.m.