mRMRe (version 2.0.3)

solutions: Basic result of the mRMR procedure

Description

The 'solutions' method allows one to access the set of selected features resulting of the mRMR algorithm. More generally, the set of feature are identified by their indices in the inputed feature set (1 being the first feature (column)). At the network level, 'solutions' consists of the topology of the network, identifying which features is connected to others.

Usage

## S3 method for class 'mRMRe.Filter':
solutions(object, mi_threshold, causality_threshold)
## S3 method for class 'mRMRe.Network':
solutions(object)

Arguments

object
a mRMRe.Filter or mRMRe.Network object.
mi_threshold
a numeric value used in filtering the features based on their mRMR scores, features that do not pass the threshold will be set at NA.
causality_threshold
a numeric value used in filtering the features based on their causality scores, features that do not pass the threshold will be set at NA

Examples

Run this code
data(cgps)
feature_data <- mRMR.data(data =  data.frame(cgps.ge))

# Create an mRMR filter and obtain the indices of selected features
filter <- mRMR.classic("mRMRe.Filter", data = feature_data, target_indices = 3:5,
						feature_count = 2)
solutions(filter)

# Build an mRMR-based network and obtain feature connections (topology)
network <- new("mRMRe.Network", data = feature_data, target_indices = c(1, 2),
			levels = c(2, 1), layers = 1)
solutions(network)

Run the code above in your browser using DataLab