\hypertarget{dataset_8hpp_source}{}\doxysection{dataset.\+hpp} \label{dataset_8hpp_source}\index{src/dataset.hpp@{src/dataset.hpp}} \mbox{\hyperlink{dataset_8hpp}{Go to the documentation of this file.}} \begin{DoxyCode}{0} \DoxyCodeLine{1 \textcolor{preprocessor}{\#ifndef DATASET\_HPP}} \DoxyCodeLine{2 \textcolor{preprocessor}{\#define DATASET\_HPP}} \DoxyCodeLine{3 } \DoxyCodeLine{4 \textcolor{preprocessor}{\#include }} \DoxyCodeLine{5 \textcolor{preprocessor}{\#include "{}\mbox{\hyperlink{vector_8hpp}{vector.hpp}}"{}}} \DoxyCodeLine{6 } \DoxyCodeLine{7 \textcolor{keyword}{using namespace }std;} \DoxyCodeLine{8 } \DoxyCodeLine{9 \textcolor{keyword}{class }\mbox{\hyperlink{class_dataset}{Dataset}}\{} \DoxyCodeLine{10 \textcolor{keyword}{protected}:} \DoxyCodeLine{11 \textcolor{keywordtype}{size\_t} \mbox{\hyperlink{class_dataset_a694f77fcd998ee4b91dad75d57b5d2ab}{train\_size}};} \DoxyCodeLine{12 \textcolor{keywordtype}{size\_t} \mbox{\hyperlink{class_dataset_ab69cb524866ef5b2d14a8a6701f5aea2}{test\_size}};} \DoxyCodeLine{13 \textcolor{keywordtype}{size\_t} \mbox{\hyperlink{class_dataset_aefa53018e8b5bea1c4ad7d359c2e0169}{x\_size}};} \DoxyCodeLine{14 \textcolor{keywordtype}{size\_t} \mbox{\hyperlink{class_dataset_a6da12c43dcebc4375bd9ce33c4a48d79}{y\_size}};} \DoxyCodeLine{15 \textcolor{keyword}{public}:} \DoxyCodeLine{16 \mbox{\hyperlink{class_dataset_a2ef0a4a688a218d55ef061c6df659a4a}{Dataset}}();} \DoxyCodeLine{17 \textcolor{keywordtype}{size\_t} \mbox{\hyperlink{class_dataset_a32fa68b53895c6b9b85866cb20111863}{get\_train\_size}}() \textcolor{keyword}{const};} \DoxyCodeLine{18 \textcolor{keywordtype}{size\_t} \mbox{\hyperlink{class_dataset_a72fe64fb9ba5524d6b52e383190fcca6}{get\_test\_size}}() \textcolor{keyword}{const};} \DoxyCodeLine{19 \textcolor{keywordtype}{size\_t} \mbox{\hyperlink{class_dataset_a4e480d79a9827e5bc75340eaff998d2c}{get\_y\_size}}() \textcolor{keyword}{const};} \DoxyCodeLine{20 \textcolor{keyword}{virtual} pair \mbox{\hyperlink{class_dataset_ad82b7125619aa7c991abe7a230459502}{get\_train}}(\textcolor{keyword}{const} \textcolor{keywordtype}{size\_t} i) \textcolor{keyword}{const}=0;} \DoxyCodeLine{21 \textcolor{keyword}{virtual} pair \mbox{\hyperlink{class_dataset_a05408d54a3e72a15374e7216fa730098}{get\_test}}(\textcolor{keyword}{const} \textcolor{keywordtype}{size\_t} i) \textcolor{keyword}{const}=0;} \DoxyCodeLine{22 \};} \DoxyCodeLine{23 } \DoxyCodeLine{24 \textcolor{keyword}{inline}} \DoxyCodeLine{25 \mbox{\hyperlink{class_dataset_a2ef0a4a688a218d55ef061c6df659a4a}{Dataset::Dataset}}()\{} \DoxyCodeLine{26 \}} \DoxyCodeLine{27 } \DoxyCodeLine{28 \textcolor{keyword}{inline} \textcolor{keywordtype}{size\_t}} \DoxyCodeLine{29 \mbox{\hyperlink{class_dataset_a32fa68b53895c6b9b85866cb20111863}{Dataset::get\_train\_size}}()\textcolor{keyword}{ const}\{} \DoxyCodeLine{30 \textcolor{keywordflow}{return} \mbox{\hyperlink{class_dataset_a694f77fcd998ee4b91dad75d57b5d2ab}{train\_size}};} \DoxyCodeLine{31 \}} \DoxyCodeLine{32 } \DoxyCodeLine{33 \textcolor{keyword}{inline} \textcolor{keywordtype}{size\_t}} \DoxyCodeLine{34 \mbox{\hyperlink{class_dataset_a72fe64fb9ba5524d6b52e383190fcca6}{Dataset::get\_test\_size}}()\textcolor{keyword}{ const}\{} \DoxyCodeLine{35 \textcolor{keywordflow}{return} \mbox{\hyperlink{class_dataset_ab69cb524866ef5b2d14a8a6701f5aea2}{test\_size}};} \DoxyCodeLine{36 \}} \DoxyCodeLine{37 } \DoxyCodeLine{38 \textcolor{keyword}{inline} \textcolor{keywordtype}{size\_t}} \DoxyCodeLine{39 \mbox{\hyperlink{class_dataset_a4e480d79a9827e5bc75340eaff998d2c}{Dataset::get\_y\_size}}()\textcolor{keyword}{ const}\{} \DoxyCodeLine{40 \textcolor{keywordflow}{return} \mbox{\hyperlink{class_dataset_a6da12c43dcebc4375bd9ce33c4a48d79}{y\_size}};} \DoxyCodeLine{41 \}} \DoxyCodeLine{42 } \DoxyCodeLine{43 \textcolor{preprocessor}{\#endif}} \end{DoxyCode}