|
BlosSOM
Interactive dimensionality reduction on large datasets (EmbedSOM and FLOWER combined)
|
Storage of the transformed data. More...
#include <trans_data.h>


Public Member Functions | |
| size_t | dim () const |
| Returns dimension of the transformed data. More... | |
| void | touch_config () |
| Notifies Sweeper that the config has been modified and that the data has to be recomputed. More... | |
| void | update (const DataModel &dm, const RawDataStats &s, FrameStats &frame_stats) |
| Recomputes the data if any of the config has been touched. More... | |
| void | reset () |
| Resets configurations to their initial values. More... | |
Public Member Functions inherited from Sweeper | |
| 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... | |
Public Member Functions inherited from Cleaner | |
| 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 Member Functions inherited from Dirts | |
| Dirts (size_t n=0) | |
| Number of objects that should be cached. More... | |
Public Member Functions inherited from Dirt | |
| Dirt () | |
| void | touch () |
| Make the cache dirty. More... | |
Public Attributes | |
| std::vector< float > | data |
| Transformed data in the same format as DataModel::data. More... | |
| std::vector< float > | sums |
| Array representing sums for each dimension. More... | |
| std::vector< float > | sqsums |
| Array representing square sums for each dimension. More... | |
| std::vector< TransConfig > | config |
| Separate configurations for each dimension. More... | |
| BatchSizeGen | batch_size_gen |
| Cleaner | stat_watch |
Public Attributes inherited from Sweeper | |
| size_t | begin |
| size_t | dirts |
Public Attributes inherited from Cleaner | |
| int | cleaned |
Public Attributes inherited from Dirts | |
| size_t | n |
Public Attributes inherited from Dirt | |
| int | dirt |
Storage of the transformed data.
Definition at line 71 of file trans_data.h.
|
inline |
Returns dimension of the transformed data.
Definition at line 93 of file trans_data.h.

| void TransData::reset | ( | ) |
Resets configurations to their initial values.
Definition at line 128 of file trans_data.cpp.


|
inline |
Notifies Sweeper that the config has been modified and that the data has to be recomputed.
Definition at line 99 of file trans_data.h.


| void TransData::update | ( | const DataModel & | dm, |
| const RawDataStats & | s, | ||
| FrameStats & | frame_stats | ||
| ) |
Recomputes the data if any of the config has been touched.
| dm | Original data parsed from the input file. |
| s | Statistics from the untransformed dataset. |
Definition at line 53 of file trans_data.cpp.


| BatchSizeGen TransData::batch_size_gen |
Definition at line 86 of file trans_data.h.
| std::vector<TransConfig> TransData::config |
Separate configurations for each dimension.
Definition at line 84 of file trans_data.h.
| std::vector<float> TransData::data |
Transformed data in the same format as DataModel::data.
Definition at line 76 of file trans_data.h.
| std::vector<float> TransData::sqsums |
Array representing square sums for each dimension.
Definition at line 81 of file trans_data.h.
| Cleaner TransData::stat_watch |
Definition at line 101 of file trans_data.h.
| std::vector<float> TransData::sums |
Array representing sums for each dimension.
Definition at line 79 of file trans_data.h.