![]() |
Ultra 0.9.4
|
#include <dataframe.h>
Public Member Functions | |
| bool | operator== (const example &) const noexcept=default |
Public Attributes | |
| value_t | output {} |
| std::vector< value_t > | input {} |
Stores a single processed element (row) of the dataset.
The example struct consists of an input vector (input) and an output value (output). Depending on the task, output holds:
| std::vector<value_t> ultra::src::example::input {} |
The instance we want to make a prediction about. Each element in the vector represents a feature.
| value_t ultra::src::example::output {} |
The expected output for the prediction task: either the predicted value or the correct label from training data.