Description Usage Arguments Value Examples
Estimates the location of the test observations
1 | ipfEstimate(ipfmodel, test_fgp, test_pos = NULL)
|
ipfmodel |
an ipfModel |
test_fgp |
a matrix or a data frame containing the fingerprints of the test set |
test_pos |
a matrix or a data frame containing the position of the test set fingerprints |
An S3 object of class ipfEstimation, with the following properties: location -> a matrix with the predicted locations errors -> a numeric vector with the errors neighbors -> a matrix with k columns and nrow(test) rows, with the k most similar training observation for each test observation weights -> a matrix with k columns and nrow(test) rows, with the weights
1 2 3 4 5 6 7 8 | model <- ipfKnn(ipftrain[, 1:168], ipftrain[, 169:170])
estimation <- ipfEstimate(model, ipftest[, 1:168], ipftest[, 169:170])
## Not run:
model <- ipfProbabilistic(ipftrain[, 1:168], ipftrain[, 169:170], k = 9, delta = 10)
estimation <- ipfEstimate(model, ipftest[, 1:170], ipftest[, 169:170])
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.