BlosSOM
Interactive dimensionality reduction on large datasets (EmbedSOM and FLOWER combined)
|
Model of the two-dimensional data points. More...
#include <scatter_model.h>
Public Member Functions | |
void | update (const ScaledData &d, const LandmarkModel &lm, const TrainingConfig &tc, FrameStats &frame_stats) |
Recomputes the coordinates if any of the the parameters of the embedsom algorithm has changed. More... | |
void | touch_config () |
Notifies Sweeper that the parameters of the embedsom algorithm has been modified and that the coordinates has to be recomputed. More... | |
![]() | |
Sweeper () | |
void | refresh (const Dirts &d) |
Force-refresh the whole range. More... | |
void | refresh (size_t n_dirts) |
std::tuple< size_t, size_t > | dirty_range (const Dirts &d) |
Find the range to refresh. More... | |
void | clean_range (const Dirts &d, size_t n) |
Clean a range of the cache. More... | |
![]() | |
Cleaner () | |
bool | dirty (const Dirt &d) |
Returns true if the cache needs to be refreshed. More... | |
void | clean (const Dirt &d) |
Call this when the cache is refreshed. More... | |
Public Attributes | |
std::vector< glm::vec2 > | points |
Coordinates of the two-dimensional data points. More... | |
Cleaner | lm_watch |
BatchSizeGen | batch_size_gen |
![]() | |
size_t | begin |
size_t | dirts |
![]() | |
int | cleaned |
Model of the two-dimensional data points.
Definition at line 41 of file scatter_model.h.
|
inline |
Notifies Sweeper that the parameters of the embedsom algorithm has been modified and that the coordinates has to be recomputed.
Definition at line 73 of file scatter_model.h.
void ScatterModel::update | ( | const ScaledData & | d, |
const LandmarkModel & | lm, | ||
const TrainingConfig & | tc, | ||
FrameStats & | frame_stats | ||
) |
Recomputes the coordinates if any of the the parameters of the embedsom algorithm has changed.
d | Scaled data used for recomputation. |
lm | Landmark model used for recomputation. |
tc | Dynamic parameters of the algorithms set in the GUI. |
Definition at line 28 of file scatter_model.cpp.
BatchSizeGen ScatterModel::batch_size_gen |
Definition at line 52 of file scatter_model.h.
Cleaner ScatterModel::lm_watch |
Definition at line 50 of file scatter_model.h.
std::vector<glm::vec2> ScatterModel::points |
Coordinates of the two-dimensional data points.
Definition at line 44 of file scatter_model.h.