View source: R/gdm.calculate.deviance.R
calculate.gdm.deviance | R Documentation |
Calculate GDM deviance for observed & predicted dissimilarities. Can be used for assessing cross-validation data. Translated from the c++ function CalcGDMDevianceDouble() in the file NNLS_Double.cpp from the GDM R package.
calculate.gdm.deviance(predDiss, obsDiss)
predDiss |
(float) A vector of predicted dissimilarity values, of same length as obsDiss. |
obsDiss |
(float) A vector of observed dissimilarity values, of same length as predDiss. |
A single value (float) being the deviance.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.