Create precision object for classification
create.precision.classification.Rd
Use this function to create a precision
object for classification tasks.
This object will contain raw training and two sets of test data,
along with their labels.
Usage
create.precision.classification(
traindata,
testdata1,
testdata2,
trainlabel,
testlabel1,
testlabel2
)
Arguments
- traindata
Training data matrix, (
p
byn
), wherep
is the number of features andn
is the number of samples.- testdata1
First test data matrix, (
p
byn
), wherep
is the number of features andn
is the number of samples.- testdata2
Second test data matrix, (
p
byn
), wherep
is the number of features andn
is the number of samples.- trainlabel
Training data labels, a vector of length
n
(number of samples).- testlabel1
First test data labels, a vector of length
n
(number of samples).- testlabel2
Second test data labels, a vector of length
n
(number of samples).