KernelAndFeaturesInitializedState< KernelCallback, FeaturesCallback > Class Template Reference

#include <chain_interface.hpp>

List of all members.

Public Member Functions

 KernelAndFeaturesInitializedState (const ParametersSet &params, const KernelCallback &k, const FeaturesCallback &f)
template<class DistanceCallback >
< KernelCallback,
FeaturesCallback > 
withDistance (const DistanceCallback &distance) 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
FeaturesCallback features

Detailed Description

template<class KernelCallback, class FeaturesCallback>
class tapkee::tapkee_internal::KernelAndFeaturesInitializedState< KernelCallback, FeaturesCallback >

Definition at line 105 of file chain_interface.hpp.

Constructor & Destructor Documentation

KernelAndFeaturesInitializedState ( const ParametersSet params,
const KernelCallback &  k,
const FeaturesCallback &  f 

Definition at line 108 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 129 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 141 of file chain_interface.hpp.

CallbacksInitializedState<KernelCallback,DistanceCallback,FeaturesCallback> withDistance ( const DistanceCallback &  distance) const

Sets distance callback.

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

Member Data Documentation

FeaturesCallback features [private]

Definition at line 148 of file chain_interface.hpp.

KernelCallback kernel [private]

Definition at line 147 of file chain_interface.hpp.

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