Fits PTL models to randomly sampled pairs of the dataset, to enable prediction of PTL model parameter values based on hyperparameter d
.
fitPTLmodel(x,nPairs=10000)
Numeric data input array, standardised to range (0,1)
Numeric value specifying the number of samplings of pairs of objects to use to obtain hyperparameter fits
List with the following components:
Object of class lm
, which can be used to predict an appropriate value of alpha
in the PTL distribution corresponding to a pair of objects in the dataset with a specified global dissimilarity
Object of class lm
, which can be used to predict an appropriate value of alpha
in the PTL distribution corresponding to a pair of objects in the dataset with a specified global dissimilarity
Object of class lm
, which can be used to predict an appropriate value of alpha
in the PTL distribution corresponding to a pair of objects in the dataset with a specified global dissimilarity
Evaluates parameters for PTL model fits to the distributions of feature-wise 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.