Tapkee
|
#include <chain_interface.hpp>
Public Member Functions | |
KernelAndDistanceInitializedState (const ParametersSet ¶ms, const KernelCallback &k, const DistanceCallback &d) | |
template<class FeaturesCallback > | |
CallbacksInitializedState < KernelCallback, DistanceCallback, FeaturesCallback > | withFeatures (const FeaturesCallback &features) const |
template<class RandomAccessIterator > | |
TapkeeOutput | embedRange (RandomAccessIterator begin, RandomAccessIterator end) const |
template<class Container > | |
TapkeeOutput | embedUsing (const Container &container) const |
Private Attributes | |
ParametersSet | parameters |
KernelCallback | kernel |
DistanceCallback | distance |
Definition at line 58 of file chain_interface.hpp.
KernelAndDistanceInitializedState | ( | const ParametersSet & | params, |
const KernelCallback & | k, | ||
const DistanceCallback & | d | ||
) |
Definition at line 61 of file chain_interface.hpp.
TapkeeOutput embedRange | ( | RandomAccessIterator | begin, |
RandomAccessIterator | end | ||
) | const |
Constructs an embedding using the data represented by the begin and end iterators.
begin | an iterator that points to the beginning of data container |
end | an iterator that points to the end of data container |
Definition at line 82 of file chain_interface.hpp.
TapkeeOutput embedUsing | ( | const Container & | container | ) | const |
Constructs an embedding using the data represented by the container.
container | a container that supports begin() and end() methods to get corresponding iterators |
Definition at line 94 of file chain_interface.hpp.
CallbacksInitializedState<KernelCallback,DistanceCallback,FeaturesCallback> withFeatures | ( | const FeaturesCallback & | features | ) | const |
Sets features callback.
callback | a callback that implements the vector(const RandomAccessIterator::value_type&, DenseVector&)
|
Definition at line 72 of file chain_interface.hpp.
|
private |
Definition at line 101 of file chain_interface.hpp.
|
private |
Definition at line 100 of file chain_interface.hpp.
|
private |
Definition at line 99 of file chain_interface.hpp.