|
Tapkee
|
#include <chain_interface.hpp>
Public Member Functions | |
| ParametersInitializedState (const ParametersSet &that) | |
| ParametersInitializedState (const ParametersInitializedState &) | |
| ParametersInitializedState & | operator= (const ParametersInitializedState &) |
| template<class KernelCallback > | |
| KernelFirstInitializedState < KernelCallback > | withKernel (const KernelCallback &callback) const |
| template<class DistanceCallback > | |
| DistanceFirstInitializedState < DistanceCallback > | withDistance (const DistanceCallback &callback) const |
| template<class FeaturesCallback > | |
| FeaturesFirstInitializedState < FeaturesCallback > | withFeatures (const FeaturesCallback &callback) const |
| TapkeeOutput | embedUsing (const DenseMatrix &matrix) const |
Private Attributes | |
| ParametersSet | parameters |
Definition at line 377 of file chain_interface.hpp.
| ParametersInitializedState | ( | const ParametersSet & | that | ) |
Definition at line 380 of file chain_interface.hpp.
| ParametersInitializedState | ( | const ParametersInitializedState & | ) |
| TapkeeOutput embedUsing | ( | const DenseMatrix & | matrix | ) | const |
Constructs an embedding using the data represented by the feature matrix. Uses linear kernel (dot product) and euclidean distance.
| matrix | matrix that contains feature vectors column-wise |
Definition at line 423 of file chain_interface.hpp.
| ParametersInitializedState& operator= | ( | const ParametersInitializedState & | ) |
| DistanceFirstInitializedState<DistanceCallback> withDistance | ( | const DistanceCallback & | callback | ) | const |
Sets distance callback.
| callback | a callback that implements the |
Definition at line 403 of file chain_interface.hpp.
| FeaturesFirstInitializedState<FeaturesCallback> withFeatures | ( | const FeaturesCallback & | callback | ) | const |
Sets features callback.
| callback | a callback that implements the vector(const RandomAccessIterator::value_type&, DenseVector&)
|
Definition at line 414 of file chain_interface.hpp.
| KernelFirstInitializedState<KernelCallback> 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 392 of file chain_interface.hpp.
|
private |
Definition at line 433 of file chain_interface.hpp.