map_stats: A collection of measures for evaluating Self-Organizing Maps...

Description Usage Arguments Value

View source: R/map_stats.R

Description

map_stats calculates common measures of model stats for a SOM model

Usage

1
map_stats(map_obj)

Arguments

map_obj

an object with class 'kohonen'

Value

a data.frame of values

TSS The total sum of squares

WCSS The within-class sum of squares

TOTWCSS The total within-class sum of squares

BCSS The between-class sum of squares, i.e. TSS-TOTWCSS

R2 The total variance explained by the SOM classes (BCSS/TSS)

ADJ_R2 The total variance explained by the SOM classes adjusted for class number

MAE The mean absolute error (MAE) derived from the mean class assignment distance, i.e., quantization error

RMSE The root-mean-square-error derived from class assignment distances, i.e., quantization error


johnlpearce/ECM documentation built on Dec. 21, 2021, 2:13 a.m.