Turi Create  4.0
turi::rolling_aggregate Namespace Reference

Functions

std::shared_ptr< sarray< flexible_type > > rolling_apply (const sarray< flexible_type > &input, std::shared_ptr< group_aggregate_value > agg_op, ssize_t window_start, ssize_t window_end, size_t min_observations)
 
template<typename Iterator >
flexible_type full_window_aggregate (std::shared_ptr< group_aggregate_value > agg_op, Iterator first, Iterator last)
 Aggregate functions.
 
template<typename Iterator >
bool has_min_observations (size_t min_observations, Iterator first, Iterator last)
 

Detailed Description

Rolling window aggregators