शुरू करेंमुफ़्त में शुरू करें

Feature selection with the combined filter

Now that you've created the zero-variance and missing values filters, put them to work to reduce the dimensionality of house_sales_df. You'll combine the filters and then use the combined filter to remove the low-information features from house_sales_df.

The zero_var_filter and na_filter objects are available for your use and the tidyverse package has been loaded for you.

यह अभ्यास पाठ्यक्रम का हिस्सा है

Dimensionality Reduction in R

पाठ्यक्रम देखें

अभ्यास निर्देश

  • Combine the zero_var_filter and na_filter into low_info_filter.
  • Apply low_info_filter to reduce the dimensionality of house_sales_df.
  • Display five rows of the reduced house_sales_df data set.

इंटरैक्टिव व्यावहारिक अभ्यास

इस अभ्यास को इस नमूना कोड को पूरा करके आज़माएँ।

# Combine the two filters
___ <- ___(___, ___)

# Apply the filter
house_sales_filtered_df <- ___ %>% 
  ___(-all_of(___))

# Display five rows of the reduced data set
house_sales_filtered_df %>%
  ___(___)
कोड संपादित करें और चलाएँ