Session Ready
Exercise

Visualizing the output of GLRM

A GLRM model generates the X and Y matrixes. In this exercise, we are going to visualize the obtained low-dimensional representation of the input records in the new K-dimensional space. The output of the X matrix from the previous GLRM model has been loaded with the name X_matrix. This matrix has been obtained by calling:

X <- as.data.table(h2o.getFrame([email protected]$representation_name))

The ggplot2 package and fashion_mnist data have been loaded

Instructions
100 XP
  • Observe the dimensions of X_matrix.
  • Show the first records of X_matrix.
  • Plot the records in the new obtained two-dimensional space using the label of fashion_mnist for the color and text.