20 #include <shogun/lib/tapkee/tapkee_shogun.hpp>
40 "the number of landmarks for approximation",
MS_AVAILABLE);
55 SG_ERROR(
"Number of landmarks should be greater than 3 to make triangulation possible while %d given.",
77 return "MultidimensionalScaling";
82 TAPKEE_PARAMETERS_FOR_SHOGUN parameters;
85 parameters.method = SHOGUN_LANDMARK_MULTIDIMENSIONAL_SCALING;
87 if (parameters.landmark_ratio > 1.0) {
89 parameters.landmark_ratio = 1.0;
94 parameters.method = SHOGUN_MULTIDIMENSIONAL_SCALING;
float distance(CJLCoverTreePoint p1, CJLCoverTreePoint p2, float64_t upper_bound)
const char * get_name() const
void set_landmark(bool landmark)
Class Distance, a base class for all the distances used in the Shogun toolbox.
virtual int32_t get_num_vec_lhs()
class EmbeddingConverter (part of the Efficient Dimensionality Reduction Toolkit) used to construct e...
virtual CDenseFeatures< float64_t > * embed_distance(CDistance *distance)
CMultidimensionalScaling()
void set_landmark_number(int32_t num)
virtual ~CMultidimensionalScaling()
virtual void remove_lhs_and_rhs()
virtual CFeatures * apply(CFeatures *features)
int32_t m_landmark_number
virtual void init()
HELPERS.
SGVector< float64_t > get_eigenvalues() const
bool get_landmark() const
all of classes and functions are contained in the shogun namespace
The class Features is the base class of all feature objects.
virtual bool init(CFeatures *lhs, CFeatures *rhs)
SGVector< float64_t > m_eigenvalues
FIELDS.
int32_t get_landmark_number() const