| OpenMS 2.5.0

Public Member Functions | Public Attributes | List of all members
SVMData Struct Reference

Data structure used in SVMWrapper. More...

`#include <OpenMS/ANALYSIS/SVM/SVMWrapper.h>`

## Public Member Functions

| SVMData ()
| SVMData (std::vector< std::vector< std::pair< Int, double > > > &seqs, std::vector< double > &lbls)
bool | operator== (const SVMData &rhs) const
bool | store (const String &filename) const
bool | load (const String &filename)

## Public Attributes

std::vector< std::vector< std::pair< Int, double > > > | sequences
std::vector< double > | labels

## Detailed Description

Data structure used in SVMWrapper.

## Constructor & Destructor Documentation

## ◆ SVMData() [1/2]

SVMData | ( |  | ) |

## ◆ SVMData() [2/2]

SVMData | ( | std::vector< std::vector< std::pair< Int, double > > > & | seqs,
|  | std::vector< double > & | lbls
| ) |  |

## Member Function Documentation

## ◆ load()

bool load | ( | const String & | filename | ) |

## ◆ operator==()

bool operator== | ( | const SVMData & | rhs | ) | const

## ◆ store()

bool store | ( | const String & | filename | ) | const

## Member Data Documentation

## ◆ labels

std::vector<double> labels

## ◆ sequences

std::vector<std::vector<std::pair<Int, double> > > sequences