Description Usage Arguments Details Value Examples

View source: R/hypervolume_importance.R

Assesses the contribution of each variable to the total hypervolume as a rough metric of variable importance.

1 |

`hv` |
A hypervolume for which the importance of each variable should be calculated. |

The algorithm proceeds by comparing the n-dimensional input hypervolume's volume to all possible n-1 dimensional hypervolumes where each variable of interest has been deleted. The importance score reported is the ratio of the n-dimensional hypervolume relative to each of the n-1 dimensional hypervolumes. Larger values indicate that a variable makes a proportionally higher contribution to the overall volume.

This function is currently experimental. Other definitions of variable importance may also be possible. The algorithm currently cannot be used on set operations hypervolumes because the variable deletion process is not well defined for objects that are not associated with a particular set of observations.

A named vector with importance scores for each axis. Note that these scores are not dimensionless but rather have linear units.

1 2 3 4 5 | ```
data(iris)
hv1 = hypervolume(subset(iris, Species=="setosa")[,1:4],reps=1000,bandwidth=0.2)
imp = hypervolume_importance(hv1)
print(imp)
``` |

hypervolume documentation built on May 29, 2017, 7:23 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.