InterpolationAverageLinearIterator
public InterpolationAverageLinearIterator(TsIterator input_iterator,
TsIterator[] interpolationIterators,
double[][] intercepts,
double[][] slopes,
java.lang.String[] interpolationSchema,
double[][] weights)
Creates interpolation iterator.
- Parameters:
input_iterator
- source data entry of which missing data should be filled.
interpolationIterators
- Array of reference iterators.
intercepts
- Array of intercepts to reference iterators from linear regression for each column in interpolationSchema.
intercept == intercepts[interpolationIteratorNo][interpolationSchemaNo]
slopes
- Array of slopes to reference iterators from linear regression for each column in interpolationSchema.
slope == slopes[interpolationIteratorNo][interpolationSchemaNo]
interpolationSchema
- Array of column names that should be interpolated.
weights
-