generate_split_data {nonparametric.bayes}R Documentation

Generates a dataset used to exemplify clustering The cluster centers are set relatively far away to see how well the algorithm performs in simple scenarios

Description

Generates a dataset used to exemplify clustering The cluster centers are set relatively far away to see how well the algorithm performs in simple scenarios

Usage

generate_split_data(n, sd)

Arguments

n

Number of datapoints to generate

sd

Standard deviation from the cluster center

Value

Returns the datapoints and the cluster assignments. The cluster assignments can be used to calculate the performance of the clustering.


[Package nonparametric.bayes version 0.0.1 Index]