compress_space {shattering}R Documentation

Function to compress the space based on the equivalence relations.

Description

This function compresses the input space according to the equivalence relations, i.e., it compresses whenever an example has other elements inside its open ball but having the same class label as the ball-centered instance.

Usage

compress_space(M, Y)

Arguments

M

sparse matrix representing all equivalence relations

Y

numerical vector indentifying the output space of variables

Value

A list containing sparse vectors (from package slam) identifying the equivalence relations


[Package shattering version 1.0.7 Index]