1. 学习
  2. /
  3. 课程
  4. /
  5. Mixture Models in R

Connected

练习

Handwritten digits with `flexmix`

The digits_sample_2 is a data frame that has 478 observations, each of them representing a binary image of a handwritten digit formed by 16x16 pixels. The aims of this exercise are (1) to explore these data, (2) to fit a Bernoulli mixture model using flexmix and (3) to analyze the resulting clusters.

说明 1 / 共 3 个

undefined XP
    1
    2
    3
  • Transform the data frame digits_sample_2 into a matrix.
  • Check the dimensions of the matrix.
  • Using show_digit, inspect the first and last row of the matrix.