13 #include <shogun/lib/tapkee/tapkee_shogun.hpp>
34 return "KernelLocallyLinearEmbedding";
49 SG_ERROR(
"Number of neighbors (%d) should be less than number of objects (%d).\n",
63 TAPKEE_PARAMETERS_FOR_SHOGUN parameters;
64 parameters.n_neighbors =
m_k;
66 parameters.method = SHOGUN_KERNEL_LOCALLY_LINEAR_EMBEDDING;
68 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)
virtual const char * get_name() const
all of classes and functions are contained in the shogun namespace
The class Features is the base class of all feature objects.
float64_t m_nullspace_shift