MCPcopy Create free account
hub / github.com/antmachineintelligence/mtgbmcode / CSVParser

Method CSVParser

src/io/parser.hpp:20–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18class CSVParser: public Parser {
19 public:
20 explicit CSVParser(int label_idx, int total_columns)
21 :label_idx_(label_idx), total_columns_(total_columns) {
22 }
23 inline void ParseOneLine(const char* str,
24 std::vector<std::pair<int, double>>* out_features, double* out_label) const override {
25 int idx = 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected