def initialize(self, init_type = ema_init_type.KMEANS_INITIALIZATION):
if init_type == ema_init_type.KMEANS_INITIALIZATION:<EOL><INDENT>return self.__initialize_kmeans()<EOL><DEDENT>elif init_type == ema_init_type.RANDOM_INITIALIZATION:<EOL><INDENT>return self.__initialize_random()<EOL><DEDENT>raise NameError("<STR_LIT>")<EOL>
!
        @brief Calculates initial parameters for EM algorithm: means and covariances using
                specified strategy.

        @param[in] init_type (ema_init_type): Strategy for initialization.

        @return (float|list, float|numpy.array) Initial means and variance (covariance matrix in case multi-dimensional data).