KernelAndDistanceInitializedState< KernelCallback, DistanceCallback > Class Template Reference

#include <chain_interface.hpp>

List of all members.

Public Member Functions

 KernelAndDistanceInitializedState (const ParametersSet &params, const KernelCallback &k, const DistanceCallback &d)
template<class FeaturesCallback >
< KernelCallback,
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

Detailed Description

template<class KernelCallback, class DistanceCallback>
class tapkee::tapkee_internal::KernelAndDistanceInitializedState< KernelCallback, DistanceCallback >

Definition at line 58 of file chain_interface.hpp.

Constructor & Destructor Documentation

KernelAndDistanceInitializedState ( const ParametersSet params,
const KernelCallback &  k,
const DistanceCallback &  d 

Definition at line 61 of file chain_interface.hpp.

Member Function Documentation

TapkeeOutput embedRange ( RandomAccessIterator  begin,
RandomAccessIterator  end 
) const

Constructs an embedding using the data represented by the begin and end iterators.

beginan iterator that points to the beginning of data container
endan 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.

containera 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.

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 72 of file chain_interface.hpp.

Member Data Documentation

DistanceCallback distance [private]

Definition at line 101 of file chain_interface.hpp.

KernelCallback kernel [private]

Definition at line 100 of file chain_interface.hpp.

Definition at line 99 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