Skip to main content

Table 2 Parameters used in the classifiers

From: A web tool for the global identification of pig breeds

Classifier

Tuned parameters

Default parameters

KNN

K = 3

l = 0

NSC

threshold = 30

PLS-DA

ncomp = 150

probMethod = "softmax"

RF

ntree = 500, mtry = sqrt(p),

SVMp

degree = 3, scale = true, gamma = 1/p, cost = 1

SVMr

scale = true, gamma = 1/p, cost = 1

  1. p is the number of SNPs