Brush C++ API
A flexible interpretable machine learning framework
|
Stores time series data and implements operators over it. More...
#include <timeseries.h>
Public Types | |
using | Scalar = T |
using | EntryType = Eigen::Array<T,Dynamic,1> |
using | ValType = std::vector<EntryType> |
using | TimeType = std::vector<Eigen::ArrayXi> |
Public Attributes | |
TimeType | time |
ValType | value |
Static Public Attributes | |
static const size_t | NumDimensions =2 |
Stores time series data and implements operators over it.
TimeSeries
contains two members: time
and value
, that have the same shape. Both are std::vectors of eigen arrays.
Each element of the vector is intended to represent one person / sample. The values in that element (an Eigen array) are observations of value
at time t
.
T | the scalar type of the underlying values. |
Definition at line 25 of file timeseries.h.
using Brush::Data::TimeSeries< T >::EntryType = Eigen::Array<T,Dynamic,1> |
Definition at line 29 of file timeseries.h.
using Brush::Data::TimeSeries< T >::Scalar = T |
Definition at line 27 of file timeseries.h.
using Brush::Data::TimeSeries< T >::TimeType = std::vector<Eigen::ArrayXi> |
Definition at line 31 of file timeseries.h.
using Brush::Data::TimeSeries< T >::ValType = std::vector<EntryType> |
Definition at line 30 of file timeseries.h.
|
default |
|
inline |
Definition at line 40 of file timeseries.h.
|
inline |
|
inline |
|
inline |
Definition at line 156 of file timeseries.h.
|
inline |
|
inline |
|
inline |
Definition at line 150 of file timeseries.h.
|
inline |
Definition at line 60 of file timeseries.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 66 of file timeseries.h.
|
inline |
Definition at line 67 of file timeseries.h.
|
inline |
Definition at line 162 of file timeseries.h.
|
inline |
Definition at line 61 of file timeseries.h.
|
inline |
|
inline |
|
inline |
Definition at line 112 of file timeseries.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
return a slice of the data using indices idx
Definition at line 45 of file timeseries.h.
|
inline |
|
inline |
|
inline |
Print the time series.
output | ostream object |
ts | time series object |
Definition at line 168 of file timeseries.h.
|
inline |
|
inline |
Definition at line 90 of file timeseries.h.
|
inline |
Definition at line 53 of file timeseries.h.
|
inline |
|
inline |
|
inline |
Definition at line 52 of file timeseries.h.
|
inline |
Definition at line 127 of file timeseries.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 64 of file timeseries.h.
|
inline |
Definition at line 65 of file timeseries.h.
|
inline |
Definition at line 78 of file timeseries.h.
|
static |
Definition at line 28 of file timeseries.h.
TimeType Brush::Data::TimeSeries< T >::time |
Definition at line 37 of file timeseries.h.
ValType Brush::Data::TimeSeries< T >::value |
Definition at line 38 of file timeseries.h.