somFitStats: Standard Model Fit Statistics applied to Self-Organizing Maps...

Description Usage Arguments Value

View source: R/somfitstats.R

Description

somFitStats calculates common measures of model fit for a SOM model

Usage

1
somFitStats(som_obj)

Arguments

som_obj

an object with class 'sommix'

Value

a dataframe 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/sommix documentation built on Jan. 7, 2021, 11:38 p.m.