Description Usage Arguments Value Author(s) Examples
View source: R/machinelearning-functions-knntl.R
The possible weights to be considered is a sequence from 0 (favour
auxiliary data) to 1 (favour primary data). Each possible
combination of weights for nclass
classes must be
tested. The thetas
function produces a weight matrix
for nclass
columns (one for each class) with all possible
weight combinations (number of rows).
1 |
nclass |
Number of marker classes |
by |
The increment of the weights. One of |
length.out |
The desired length of the weight sequence. |
verbose |
A |
A matrix with all possible theta weight combinations.
Lisa Breckels
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.