parse.label.header: Parse label header

Description Usage Arguments Value

View source: R/read_label.r

Description

This function parses the header of a label file

Usage

1
parse.label.header(label.header)

Arguments

label.header

- string in the format: #<TYPE>:<L1>=<class1>; <L2>=<class2>[;<L3>=<class3>] where <TYPE> is a string specifying the type of label variable such as BINARY (for binary classification), CATEGORICAL (for multi-class classification), or CONTINUOUS (for regression) <L1> is a short numeric label for the first class with description <class1> (similarly for the other classes)

Value

a list with tow items


SIAMCAT documentation built on Nov. 8, 2020, 5:14 p.m.