|
AlgorithmsThis page documents library components that are all basically just implementations of mathematical functions or algorithms without any really significant data structures associated with them. So this includes things like checksums, cryptographic hashes, machine learning algorithms, sorting, etc... |
|
bigint_kernel_1:
This implementation is done using an array of unsigned shorts. It is also reference counted. For further details see the above link. Also note that kernel_2 should be faster in almost every case so you should really just use that version of the bigint object.
kernel_1ais a typedef for bigint_kernel_1 kernel_1a_cis a typedef for kernel_1a that checks its preconditions.
bigint_kernel_2:
This implementation is basically the same as kernel_1 except it uses the Fast Fourier Transform to perform multiplcations much faster.
kernel_2ais a typedef for bigint_kernel_2 kernel_2a_cis a typedef for kernel_2a that checks its preconditions.
crc32_kernel_1:
This implementation uses the polynomial 0xedb88320.
kernel_1ais a typedef for crc32_kernel_1
The long and short of this algorithm is that it is an online kernel based regression algorithm. You give it samples (x,y) and it learns the function f(x) == y. For a detailed description of the algorithm read the above paper.
mlp_kernel_1:
This is implemented in the obvious way.
kernel_1ais a typedef for mlp_kernel_1 kernel_1a_cis a typedef for kernel_1a that checks its preconditions.
rand_kernel_1:
This implementation is done using the Mersenne Twister algorithm.
kernel_1ais a typedef for rand_kernel_1
rand_float_1:
The implementation is obvious. Click on the link if you want to see.
float_1ais a typedef for rand_kernel_1a extended by rand_float_1
Trains a nu support vector classifier and outputs a decision_function.
The implementation of the nu-svm training algorithm used by this library is based on the following excellent papers:Trains a nu support vector classifier and outputs a probabilistic_decision_function.
This function uses the svm_nu_train function and creates the probability model using the technique described in the paper:Probabilistic Outputs for Support Vector Machines and Comparisons to Regularized Likelihood Methods by John C. Platt. Match 26, 1999