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 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.

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.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.