Tapkee
ParametersInitializedState Class Reference

#include <chain_interface.hpp>

List of all members.

Public Member Functions

 ParametersInitializedState (const ParametersSet &that)
 ParametersInitializedState (const ParametersInitializedState &)
ParametersInitializedStateoperator= (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

Detailed Description

Definition at line 377 of file chain_interface.hpp.


Constructor & Destructor Documentation

Definition at line 380 of file chain_interface.hpp.


Member Function Documentation

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.

Parameters:
matrixmatrix that contains feature vectors column-wise

Definition at line 423 of file chain_interface.hpp.

DistanceFirstInitializedState<DistanceCallback> withDistance ( const DistanceCallback &  callback) const

Sets distance callback.

Parameters:
callbacka callback that implements the
 distance(const RandomAccessIterator::value_type&, const RandomAccessIterator::value_type&) 
member function which is used to compute distance (dissimilarity) between two objects pointed by the first and the second arguments.

Definition at line 403 of file chain_interface.hpp.

FeaturesFirstInitializedState<FeaturesCallback> withFeatures ( const FeaturesCallback &  callback) const

Sets features callback.

Parameters:
callbacka callback that implements the
 vector(const RandomAccessIterator::value_type&, DenseVector&) 
member function which is used to obtain the feature vector pointed by the first argument.

Definition at line 414 of file chain_interface.hpp.

KernelFirstInitializedState<KernelCallback> withKernel ( const KernelCallback &  callback) const

Sets kernel callback.

Parameters:
callbacka 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 392 of file chain_interface.hpp.


Member Data Documentation

Definition at line 433 of file chain_interface.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines