Learn R Programming

timma (version 1.2.0)

getBinary: Binary set for multiclass data

Description

A function to get the supersets and subsets for multiclass data

Usage

getBinary(input, data)

Arguments

input
a vector of multiclass data
data
a matrix of multiclass data as training data

Value

  • a list of the following components:
  • supersetthe supersets of the input data from the training data
  • subsetthe subsets of the input data from the training data

Examples

Run this code
data(tyner_interaction_multiclass)
sets<-getBinary(tyner_interaction_multiclass[1,], tyner_interaction_multiclass)

Run the code above in your browser using DataLab