statcpp
C++17 Header-Only Statistics Library
Loading...
Searching...
No Matches
Public Attributes | List of all members
statcpp::label_encoding_result< T > Struct Template Reference

Label encoding result. More...

#include <data_wrangling.hpp>

Public Attributes

std::vector< std::size_t > encoded
 Encoded values.
 
std::map< T, std::size_t > mapping
 Mapping from original values to encoded values.
 
std::vector< T > classes
 List of classes.
 

Detailed Description

template<typename T>
struct statcpp::label_encoding_result< T >

Label encoding result.

Template Parameters
TData type

Definition at line 956 of file data_wrangling.hpp.

Member Data Documentation

◆ classes

template<typename T >
std::vector<T> statcpp::label_encoding_result< T >::classes

List of classes.

Definition at line 959 of file data_wrangling.hpp.

◆ encoded

template<typename T >
std::vector<std::size_t> statcpp::label_encoding_result< T >::encoded

Encoded values.

Definition at line 957 of file data_wrangling.hpp.

◆ mapping

template<typename T >
std::map<T, std::size_t> statcpp::label_encoding_result< T >::mapping

Mapping from original values to encoded values.

Definition at line 958 of file data_wrangling.hpp.


The documentation for this struct was generated from the following file: