1. Learn
  2. /
  3. Courses
  4. /
  5. Feature Engineering in R

Connected

Exercise

Visualizing the hashing

It is often helpful to look at a visual representation of your data. The baked tibble is loaded with the hash indexes representing the EducationField factor. You can explore all or a portion of this dataset as a matrix to identify patterns or detect potential errors.

The plot.matrix package has already been loaded for you.

Instructions

100 XP
  • Convert the baked tibble to a matrix.
  • Plot the attrition_hash matrix.