#include <chain_interface.hpp>
template<class DistanceCallback, class FeaturesCallback>
class tapkee::tapkee_internal::DistanceAndFeaturesInitializedState< DistanceCallback, FeaturesCallback >
Definition at line 157 of file chain_interface.hpp.
◆ DistanceAndFeaturesInitializedState()
◆ embedRange()
| TapkeeOutput embedRange |
( |
RandomAccessIterator |
begin, |
|
|
RandomAccessIterator |
end |
|
) |
| const |
Constructs an embedding using the data represented by the begin and end iterators.
- Parameters
-
| 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 181 of file chain_interface.hpp.
◆ embedUsing()
| TapkeeOutput embedUsing |
( |
const Container & |
container | ) |
const |
Constructs an embedding using the data represented by the container.
- Parameters
-
| container | a container that supports begin() and end() methods to get corresponding iterators |
Definition at line 193 of file chain_interface.hpp.
◆ withKernel()
| CallbacksInitializedState<KernelCallback,DistanceCallback,FeaturesCallback> withKernel |
( |
const KernelCallback & |
kernel | ) |
const |
Sets kernel callback.
- Parameters
-
| callback | a callback that implements the kernel(const RandomAccessIterator::value_type&, const RandomAccessIterator::value_type&) member function which is used to compute kernel value (similarity) between two objects pointed by the first and the second arguments. |
Definition at line 171 of file chain_interface.hpp.
◆ distance
| DistanceCallback distance |
|
private |
◆ features
| FeaturesCallback features |
|
private |
◆ parameters
The documentation for this class was generated from the following file: