From 6da67a32e56c101b9334d2c6f33bd5238d082330 Mon Sep 17 00:00:00 2001 From: Samuel Fadel Date: Fri, 24 Jul 2015 13:01:16 -0300 Subject: Color mapping in Scatterplot and initial measures. - Scatterplot: can now map any floating point data to colors; - Scatterplot: somewhat optimized geometry/material updates; - Removed anything related to labels where it was not necessary; - Added observers to implement distortion (via measures) visualization; - Added skeleton implementations of NP and silhouette. --- interactionhandler.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'interactionhandler.cpp') diff --git a/interactionhandler.cpp b/interactionhandler.cpp index 50d0653..b79fdd8 100644 --- a/interactionhandler.cpp +++ b/interactionhandler.cpp @@ -3,15 +3,12 @@ #include "mp.h" InteractionHandler::InteractionHandler(const arma::mat &X, - const arma::vec &labels, const arma::uvec &sampleIndices) : m_X(X) - , m_Y(X.n_rows, 3) - , m_labels(labels) + , m_Y(X.n_rows, 2) , m_sampleIndices(sampleIndices) , m_technique(TECHNIQUE_LAMP) { - m_Y.col(2) = m_labels; } void InteractionHandler::setSubsample(const arma::mat &Ys) -- cgit v1.2.3