Marsyas  0.5.0-beta1
Public Member Functions
WekaData Class Reference

#include <WekaData.h>

Inherits vector< T >.

Inherited by WekaFoldData.

Public Member Functions

void Append (const realvec &in)
void Append (std::vector< mrs_real > *)
void AppendFilename (mrs_string)
void Clear ()
void Create (mrs_natural cols)
void Dump (const std::string &filename, const std::vector< std::string > &classNames) const
mrs_natural GetClass (mrs_natural row) const
mrs_natural getCols () const
mrs_string GetFilename (mrs_natural row) const
mrs_realvec GetMaximums () const
mrs_realvec GetMinimums () const
mrs_natural getRows () const
void NormMaxMin ()
void NormMaxMinRow (realvec &in)
void setFold (bool)
void Shuffle ()
void Sort (mrs_natural attIndex)
 WekaData ()
virtual ~WekaData ()

Detailed Description

Definition at line 21 of file WekaData.h.

Constructor & Destructor Documentation

WekaData ( )

Definition at line 14 of file WekaData.cpp.

~WekaData ( ) [virtual]

Definition at line 18 of file WekaData.cpp.

Member Function Documentation

void Append ( const realvec in)

Definition at line 212 of file WekaData.cpp.

void Append ( std::vector< mrs_real > *  data)

Definition at line 233 of file WekaData.cpp.

void AppendFilename ( mrs_string  fname)

Definition at line 243 of file WekaData.cpp.

void Clear ( )

Definition at line 48 of file WekaData.cpp.

void Create ( mrs_natural  cols)

Definition at line 38 of file WekaData.cpp.

void Dump ( const std::string &  filename,
const std::vector< std::string > &  classNames 
) const

Definition at line 261 of file WekaData.cpp.

mrs_natural GetClass ( mrs_natural  row) const

Definition at line 255 of file WekaData.cpp.

mrs_natural getCols ( ) const [inline]

Definition at line 52 of file WekaData.h.

mrs_string GetFilename ( mrs_natural  row) const

Definition at line 248 of file WekaData.cpp.

mrs_realvec GetMaximums ( ) const

Definition at line 121 of file WekaData.cpp.

mrs_realvec GetMinimums ( ) const

Definition at line 116 of file WekaData.cpp.

mrs_natural getRows ( ) const [inline]

Definition at line 53 of file WekaData.h.

void NormMaxMin ( )

Definition at line 74 of file WekaData.cpp.

void NormMaxMinRow ( realvec in)

Definition at line 64 of file WekaData.cpp.

void setFold ( bool  isFold)

Definition at line 31 of file WekaData.cpp.

void Shuffle ( )

Definition at line 129 of file WekaData.cpp.

void Sort ( mrs_natural  attIndex)

Definition at line 205 of file WekaData.cpp.

The documentation for this class was generated from the following files: