ipfEstimate: Estimates the location of the test observations

Description Usage Arguments Value Examples

Description

Estimates the location of the test observations

Usage

1
ipfEstimate(ipfmodel, test_fgp, test_pos = NULL)

Arguments

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

Value

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

Examples

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)

ipft documentation built on May 2, 2019, 7:23 a.m.

Related to ipfEstimate in ipft...