Clara uses the Euclidean distance.
Why you get different results can only be said if you provide a reproducible
code example for both what you did in clara and what you did "manually".
Best wishes,
Christian
*** --- ***
Christian Hennig
University College London, Department of Statistical
, Department of Statistical Science
Gower St., London WC1E 6BT, phone +44 207 679 1698
c.hen...@ucl.ac.uk, www.homepages.ucl.ac.uk/~ucakche
From: Jeff Newmiller jdnew...@dcn.davis.ca.us
Sent: 29 October 2013 15:12
To: Hennig, Christian; r-help-request Mailing List
Dear Katherine,
function flexmixedruns in package fpc may do what you want; it fits mixtures
with continuous and categorical variables, can use the BIC for giving you the
number of mixture components and also gives you posterior probabilities for
cases to belong to components.
Note that
Dear R-help list,
two issues regarding lda.
1) I'm puzzled by the fact that lda's in-build cross-validation gives results
different from the manual cross-validation routine that I run (of course mine
may be wrong, but I don't think so).
See here:
library(MASS)
set.seed(12345)
n - 50
p - 10 #
4 matches
Mail list logo