#include <toolkits/ml_data_2/statistics/column_statistics.hpp>
Uses the factory model for saving and loading.
Definition at line 19 of file column_statistics.hpp.
◆ create_cleared_copy()
virtual std::shared_ptr<column_statistics> turi::v2::ml_data_internal::column_statistics::create_cleared_copy |
( |
| ) |
const |
|
pure virtual |
Create a copy with the index cleared.
◆ factory_create()
static std::shared_ptr<column_statistics> turi::v2::ml_data_internal::column_statistics::factory_create |
( |
const std::map< std::string, variant_type > & |
creation_options | ) |
|
|
static |
The factory method for loading and instantiating the proper class
◆ finalize()
virtual void turi::v2::ml_data_internal::column_statistics::finalize |
( |
| ) |
|
|
pure virtual |
◆ get_version()
virtual size_t turi::v2::ml_data_internal::column_statistics::get_version |
( |
| ) |
const |
|
pure virtual |
Returns the current version used for the serialization.
◆ is_equal()
virtual bool turi::v2::ml_data_internal::column_statistics::is_equal |
( |
const column_statistics * |
other | ) |
const |
|
pure virtual |
Equality testing in subclass – slow! Use for debugging/testing. Upcast this to superclass to do full testing.
◆ load_version()
virtual void turi::v2::ml_data_internal::column_statistics::load_version |
( |
turi::iarchive & |
iarc, |
|
|
size_t |
version |
|
) |
| |
|
pure virtual |
◆ num_observations()
virtual size_t turi::v2::ml_data_internal::column_statistics::num_observations |
( |
| ) |
const |
|
inlinevirtual |
◆ operator!=()
bool turi::v2::ml_data_internal::column_statistics::operator!= |
( |
const column_statistics & |
other | ) |
const |
Inequality testing – slow! Use for debugging/testing
◆ operator==()
bool turi::v2::ml_data_internal::column_statistics::operator== |
( |
const column_statistics & |
other | ) |
const |
Equality testing – slow! Use for debugging/testing
◆ save_impl()
virtual void turi::v2::ml_data_internal::column_statistics::save_impl |
( |
turi::oarchive & |
oarc | ) |
const |
|
pure virtual |
Serialize the object (save).
◆ set_data()
virtual void turi::v2::ml_data_internal::column_statistics::set_data |
( |
const std::map< std::string, variant_type > & |
params | ) |
|
|
inlinevirtual |
One way to set the statistics. Used by the serialization converters.
Definition at line 122 of file column_statistics.hpp.
The documentation for this class was generated from the following file: