GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • triplot
  • DrWhy.AI
  • MI^2 DataLab
  • Reference
  • Articles
  • Triplot overview
  • Usecase with FIFA 20 dataset
  • Description of predict_aspects method
  • Changelog

This view

  • Original page
  • New address

GeezerVison is showing modeloriented.github.io — Helper function that combines clustering variables and creating aspect list — group_variables

Helper function that combines clustering variables and creating aspect list

Source: R/group_variables.R
group_variables.Rd

Divides correlated features into groups, called aspects. Division is based on correlation cutoff level.

group_variables(x, h, clust_method = "complete", cor_method = "spearman")

Arguments

x

hclust object

h

correlation value for tree cutting

clust_method

the agglomeration method to be used see hclust methods

cor_method

the correlation method to be used see cor methods

Value

list with aspect

Examples

library("DALEX")
dragons_data <- dragons[,c(2,3,4,7,8)]
group_variables(dragons_data, h = 0.5, clust_method = "complete")

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.