Learn R Programming

rtemis (version 1.4.3)

setup_NeuralGas: Setup NeuralGasConfig

Description

Setup NeuralGasConfig

Usage

setup_NeuralGas(k = 3L, dist = "euclidean", features = NULL)

Value

NeuralGasConfig object.

Arguments

k

Integer [1, Inf): Number of clusters.

dist

Character {"euclidean", "manhattan"}: Distance measure to use.

features

Optional Character vector: Names of at least 2 distinct feature columns to cluster on. NULL clusters on all numeric features.

Author

EDG

Examples

Run this code
neuralgas_config <- setup_NeuralGas(k = 4L, dist = "euclidean")
neuralgas_config

Run the code above in your browser using DataLab