|
CNum 0.2.1
CPU-optimized ML library for C++
|
#include "CNum/DataStructs/DataStructs.h"#include <string>#include <memory>#include <fstream>#include <sstream>#include <array>Go to the source code of this file.
Classes | |
| struct | CNum::Data::Bin |
| A bin for quantile and uniform binning. More... | |
| struct | CNum::Data::Shelf |
| Contains bins and the ranges of values they represent. More... | |
Namespaces | |
| namespace | CNum::Data |
| Tools used for gathering and grouping datasets. | |
| namespace | CNum |
| The umbrella namespace from which you can access all modules of CNum. | |
Functions | |
| std::array< CNum::DataStructs::Matrix< double >, 2 > | CNum::Data::get_data (std::string data_path, char seperator=',') |
| Get data from a _SV file with last column being the labels. | |
| void | CNum::Data::PCA (std::string input_path, std::string output_path) |
| Principle component analysis. | |
| std::shared_ptr< Shelf[]> | CNum::Data::uniform_bin (const CNum::DataStructs::Matrix< double > &data, size_t num_bins=256) |
| Uniform binning of data. | |
| std::shared_ptr< Shelf[]> | CNum::Data::quantile_bin (const CNum::DataStructs::Matrix< double > &data, size_t num_bins=256) |
| Quantile sketch not exact quantile bins. | |
| CNum::DataStructs::Matrix< int > | CNum::Data::apply_quantile (const CNum::DataStructs::Matrix< double > &data, std::shared_ptr< Shelf[]> shelves) |
| Construct data matrix of bin values. | |