Vita
Public Member Functions | Public Attributes | List of all members
vita::dataframe::params Class Reference

Public Member Functions

paramsheader ()
 
paramsno_header ()
 
paramsno_output ()
 
paramsoutput (std::size_t o)
 

Public Attributes

pocket_csv::dialect dialect = {}
 
filter_hook_t filter = nullptr
 A filter and transform function applied when reading data. More...
 
std::optional< std::size_t > output_index = 0
 Index of the column containing the output value (label). More...
 

Detailed Description

Definition at line 237 of file dataframe.h.

Member Function Documentation

◆ header()

params & vita::dataframe::params::header ( )
inline

Definition at line 240 of file dataframe.h.

◆ no_header()

params & vita::dataframe::params::no_header ( )
inline

Definition at line 242 of file dataframe.h.

◆ no_output()

params & vita::dataframe::params::no_output ( )
inline

Definition at line 246 of file dataframe.h.

◆ output()

params & vita::dataframe::params::output ( std::size_t  o)
inline

Definition at line 245 of file dataframe.h.

Member Data Documentation

◆ dialect

pocket_csv::dialect vita::dataframe::params::dialect = {}
Remarks
Used only when reading CSV files.

Definition at line 249 of file dataframe.h.

◆ filter

filter_hook_t vita::dataframe::params::filter = nullptr

A filter and transform function applied when reading data.

Definition at line 252 of file dataframe.h.

◆ output_index

std::optional<std::size_t> vita::dataframe::params::output_index = 0

Index of the column containing the output value (label).

Remarks
Used only when reading CSV files.

Definition at line 256 of file dataframe.h.


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