BaşlayınÜcretsiz Başlayın

Univariate case with flexmix

Recall that mix_example dataset is formed by three clusters distributed as univariate Gaussian distributions. The aim of this exercise is to apply the flexmix() function to fit the model.

Bu egzersiz

Mixture Models in R

kursunun bir parçasıdır
Kursu Görüntüle

Egzersiz talimatları

Find the cluster model for the variable x. Remember to model the univariate Gaussian with FLXMCnorm1() and the number of clusters equal 3.

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

set.seed(1515)
fit_mix_example <- flexmix(x ~ ___, 
               data = ___, 
               k = ___,
               model = ___,
               control = list(tolerance = 1e-15, verbose = 1, iter = 1e4))
Kodu Düzenle ve Çalıştır