File: cmm_init_vector_kmeans.Rd

package info (click to toggle)
r-cran-mixturefitting 0.6.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 448 kB
  • sloc: ansic: 518; makefile: 2
file content (31 lines) | stat: -rw-r--r-- 1,287 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
\name{cmm_init_vector_kmeans}
\alias{cmm_init_vector_kmeans}
\docType{methods}
\title{Estimate Cauchy Mixture parameters using Expectation Maximization.}
\description{
    Estimate an initialization vector for Cauchy mixture fitting using k-means.
    R implementation of k-means in kmeans() is used to find data point assignment to clusters.
    Then several iterations of Cauchy mixture fitting (per Nahy 2006) is used to derive mixture parameters.
}
\usage{
    cmm_init_vector_kmeans( x, m, iter.cauchy = 20 )
}
\arguments{
    \item{x}{data vector}
    \item{m}{number of mixture components}
    \item{iter.cauchy}{number of iterations to fit a single Cauchy component.}
}
\value{
    Parameter vector of 3*\emph{n} parameters, where \emph{n} is
    number of mixture components. Structure of p vector is
    p = c( A1, A2, ..., A\emph{n}, mu1, mu2, ..., mu\emph{n}, gamma1, gamma2, ..., gamma\emph{n} ),
    where A\emph{i} is the proportion of \emph{i}-th component,
    mu\emph{i} is the center of \emph{i}-th component and
    gamma\emph{i} is the Cauchy scale of \emph{i}-th component.
}
\references{
    Ferenc Nahy. Parameter Estimation of the Cauchy Distribution in
    Information Theory Approach (2006).
    Journal of Universal Computer Science
}
\author{Andrius Merkys}