All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Pages
Classes | Namespaces | Functions
read_svm.hpp File Reference
#include "paal/utils/assign_updates.hpp"
#include "paal/utils/functors.hpp"
#include "paal/utils/parse_file.hpp"
#include "paal/utils/type_functions.hpp"
#include <algorithm>
#include <cassert>
#include <istream>
#include <ios>
#include <string>
#include <sstream>
#include <utility>
#include <vector>

Go to the source code of this file.

Classes

class  paal::detail::svm_row< CoordinatesType, ResultType, FeatureIdType >
 class that can read single svm row More...
 

Namespaces

 paal
 global namespace of project.
 
 paal::detail
 Detail namespace.
 

Functions

template<typename RowsRange , typename RowRefExtractor >
void paal::detail::resize_rows (RowsRange &&rows, RowRefExtractor row_ref_extractor, std::size_t new_size)
 resize rows to have equal sizes More...
 
template<typename RowType , typename ResultType = int, typename ShouldIgnoreBadRow = utils::always_false>
void paal::read_svm (std::istream &input_stream, std::size_t &max_dimensions, std::vector< std::tuple< RowType, ResultType >> &points, std::size_t max_points_to_read, ShouldIgnoreBadRow &&should_ignore_bad_row=ShouldIgnoreBadRow{})
 detail More...
 
template<typename RowType , typename ResultType = int>
auto paal::read_svm (std::istream &input_stream)
 Function parses svm stream of format: More...
 

Detailed Description

Author
Andrzej Pacuk
Version
1.0
Date
2014-10-22

Definition in file read_svm.hpp.