clara() is a version of pam() adapted to use large datasets.

pam() uses the entire dataset, and should give results identical to
your manual procedure, or nearly so. clara() works on subsets of the
data, so it may give a slightly different result each time you run it.

The default parameters for clara() are very small, so you can get
substantially different results from run to run on a large dataset if
you don't change them.

Sarah

On Fri, Feb 19, 2016 at 6:30 AM, ABABAEI, Behnam
<behnam.abab...@limagrain.com> wrote:
> Hi,
>
>
> I am using CLARA (in 'cluster' package). This method is supposed to assign 
> each observation to the closest 'medoid'. But when I calculate the distance 
> of medoids and observations manually and assign them manually, the results 
> are slightly different (1-2 percent of occurrence probability). Does anyone 
> know how clara calculates dissimilarities and why I get different clustering 
> results?
>
>
> Behnam.

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to