Fits PTL models to randomly sampled pairs of the dataset, to enable prediction of PTL model parameter values based on hyperparameter d
.
1  fitPTLmodel(x,nPairs=10000)

x 
Numeric data input array, standardised to range (0,1) 
nPairs 
Numeric value specifying the number of samplings of pairs of objects to use to obtain hyperparameter fits 
Evaluates parameters for PTL model fits to the distributions of featurewise differences between each of a specified (large) number of pairs of objects represented in dataset x
. Obtains subsequent model fits explaining the individual PTL parameters alpha
,beta
,gamma
in terms of the global (Euclidean) distances between the corresponding pairs of objects.
List with the following components:
alpha 
Object of class 
beta 
Object of class 
gamma 
Object of class 
Ed Curry e.curry@imperial.ac.uk
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.