Tapkee
|
#include <chain_interface.hpp>
Public Member Functions | |
DistanceFirstInitializedState (const ParametersSet ¶ms, const DistanceCallback &callback) | |
template<class KernelCallback > | |
KernelAndDistanceInitializedState < KernelCallback, DistanceCallback > | withKernel (const KernelCallback &callback) const |
template<class FeaturesCallback > | |
DistanceAndFeaturesInitializedState < DistanceCallback, FeaturesCallback > | withFeatures (const FeaturesCallback &callback) const |
template<class RandomAccessIterator > | |
TapkeeOutput | embedRange (RandomAccessIterator begin, RandomAccessIterator end) const |
template<class Container > | |
TapkeeOutput | embedUsing (const Container &container) const |
Private Attributes | |
ParametersSet | parameters |
DistanceCallback | distance |
Definition at line 262 of file chain_interface.hpp.
DistanceFirstInitializedState | ( | const ParametersSet & | params, |
const DistanceCallback & | callback | ||
) |
Definition at line 265 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 297 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 310 of file chain_interface.hpp.
DistanceAndFeaturesInitializedState<DistanceCallback,FeaturesCallback> withFeatures | ( | const FeaturesCallback & | callback | ) | const |
Sets features callback.
callback | a callback that implements the vector(const RandomAccessIterator::value_type&, DenseVector&)
|
Definition at line 287 of file chain_interface.hpp.
KernelAndDistanceInitializedState<KernelCallback,DistanceCallback> withKernel | ( | const KernelCallback & | callback | ) | const |
Sets kernel callback.
callback | a callback that implements the kernel(const RandomAccessIterator::value_type&, const RandomAccessIterator::value_type&)
|
Definition at line 276 of file chain_interface.hpp.
|
private |
Definition at line 316 of file chain_interface.hpp.
|
private |
Definition at line 315 of file chain_interface.hpp.