WeightedLowess
A C++ library for LOWESS with various weighting schemes
|
Interpolate from the fitted trend. More...
#include <vector>
#include <cstddef>
#include <utility>
#include "sanisizer/sanisizer.hpp"
#include "window.hpp"
#include "utils.hpp"
Go to the source code of this file.
Classes | |
struct | WeightedLowess::AssignedSegments |
Assigned segments. More... | |
Namespaces | |
namespace | WeightedLowess |
Namespace for LOWESS functions. | |
Functions | |
template<typename Data_ > | |
AssignedSegments | WeightedLowess::assign_to_segments (const Data_ *const x_fit, const PrecomputedWindows< Data_ > &windows_fit, const std::size_t num_points_out, const Data_ *const x_out) |
std::pair< std::size_t, std::size_t > | WeightedLowess::get_interpolation_boundaries (const AssignedSegments &assigned_out) |
template<typename Data_ > | |
void | WeightedLowess::interpolate (const Data_ *const x_fit, const PrecomputedWindows< Data_ > &windows_fit, const Data_ *const fitted_fit, const Data_ *const x_out, const AssignedSegments &assigned_out, Data_ *const fitted_out, int num_threads) |
template<typename Data_ > | |
std::pair< std::size_t, std::size_t > | WeightedLowess::interpolate (const Data_ *const x_fit, const PrecomputedWindows< Data_ > &windows_fit, const Data_ *const fitted_fit, const std::size_t num_points_out, const Data_ *const x_out, Data_ *const fitted_out, int num_threads) |
Interpolate from the fitted trend.