24 std::set<types::Response>
const groups;
43 std::set<types::Response>
const&
groups,
63 :
x(
types::FeatureMatrix())
Statistical infrastructure for training and evaluation.
Definition ConfusionMatrix.hpp:11
std::set< types::Response > unique(types::ResponseVector const &column)
Unique values of a response vector.
Core numeric type aliases for the ppforest2 library.
Definition Types.hpp:12
Eigen::Matrix< Feature, Eigen::Dynamic, Eigen::Dynamic > FeatureMatrix
Dynamic-size matrix of feature values.
Definition Types.hpp:24
Eigen::Matrix< T, Eigen::Dynamic, 1 > Vector
Generic dynamic-size column vector.
Definition Types.hpp:35
types::Vector< types::Response > const y
Response vector (n).
Definition DataPacket.hpp:22
DataPacket()
Definition DataPacket.hpp:62
std::vector< std::string > const feature_names
Original feature column names from the CSV header.
Definition DataPacket.hpp:39
std::vector< std::string > const group_names
Original group label names, indexed by integer code.
Definition DataPacket.hpp:32
std::set< types::Response > const groups
Set of distinct group labels.
Definition DataPacket.hpp:24
types::FeatureMatrix const x
Feature matrix (n × p).
Definition DataPacket.hpp:20
DataPacket(types::FeatureMatrix const &x, types::Vector< types::Response > const &y, std::set< types::Response > const &groups, std::vector< std::string > const &group_names={}, std::vector< std::string > const &feature_names={})
Definition DataPacket.hpp:41
DataPacket(types::FeatureMatrix const &x, types::Vector< types::Response > const &y, std::vector< std::string > const &group_names={}, std::vector< std::string > const &feature_names={})
Definition DataPacket.hpp:52