13 #include <shogun/lib/tapkee/tapkee_shogun.hpp> 30 return "KernelLocallyLinearEmbedding";
45 SG_ERROR(
"Number of neighbors (%d) should be less than number of objects (%d).\n",
59 TAPKEE_PARAMETERS_FOR_SHOGUN parameters;
60 parameters.n_neighbors =
m_k;
62 parameters.method = SHOGUN_KERNEL_LOCALLY_LINEAR_EMBEDDING;
64 parameters.kernel = kernel;
virtual bool init(CFeatures *lhs, CFeatures *rhs)
CKernelLocallyLinearEmbedding()
virtual CFeatures * apply(CFeatures *features)
virtual int32_t get_num_vectors() const =0
void set_kernel(CKernel *kernel)
virtual ~CKernelLocallyLinearEmbedding()
class LocallyLinearEmbedding used to embed data using Locally Linear Embedding algorithm described in...
CDenseFeatures< float64_t > * embed_kernel(CKernel *kernel)
all of classes and functions are contained in the shogun namespace
The class Features is the base class of all feature objects.
virtual const char * get_name() const
float64_t m_nullspace_shift