Changelog
This changelog includes end-user changes only. For internal development notes, see the repository changelog.
[5.1.0]
Changed
- Breaking change:
OnlineLowesswithmissing = "drop"now returns:droppedfor non-finite points instead ofnothing, so drops are distinguishable from a still-filling window. - Online fits sort the sliding window by
xbefore each update so non-monotonic streams stay correct. process_chunkrejects chunks that are not non-decreasing inxwhen merged with the previous overlap; feed ascending chunks or pre-sort the series.append!onLowessResultnow rejects results that includecv_scores,diagnostics, orpredict_model; only streaming-style per-point fields can be concatenated.
Fixed
- Streaming no longer panics when derivatives were requested but missing; it throws instead.
- Extend/Zero boundary pads use unit spacing when leading/trailing
xties would otherwise stack pads. - Fixed retained-model
predict_handleownership so error paths no longer leak the handle and successful conversion no longer risks double-free. - Free native result buffers with
try/finally, and clear finalizer-owned handles after free. - Fixed FFI length fields truncating on 64-bit Windows by using pointer-sized sizes instead of
Culong.
[5.0.0]
Added
- Enabled the optional wgpu DirectX 12 backend for GPU-enabled Windows builds. DXC is loaded dynamically with an FXC fallback, avoiding eager imports of
dxcompiler.dllanddxil.dll. - Added GLES for Android GPU builds with a target-scoped
wgpufeature; Windows continues to omit the GLES-only loader imports. - Added grouped
outputsandcvkeywords forLowess, grouped outputs for Streaming and Online constructors, and retained-model prediction. - Added a grouped
intervalskeyword with residual-bootstrap intervals forLowess,StreamingLowess, full-updateOnlineLowess, andpredict. - Added an "Alternative Software" guide comparing
FastLOWESS.jlwith the general-purpose LOESS implementation inLoess.jl.
Changed
- Clarified that Batch
residual_sdis1.4826 * MAD, while Streaming reports the cumulative sample standard deviation of emitted residuals. - Breaking change: replaced individual
return_*output keywords withoutputs=[...]for Batch, Streaming, Online, and prediction. - Breaking change: replaced flat interval keywords and
predict's interval levels withintervals=(confidence=..., prediction=..., bootstrap=...), and replaced flat CV keywords and the nestedcvseed withcv=(method=..., k=..., fractions=...)plus one outerseedshared by CV and bootstrap.predicthas its ownseed;seed=0is a valid seed. - Represent unavailable diagnostic metrics as
nothinginstead ofNaNsentinels.
Fixed
- Fixed CPU Gaussian standard errors for fitted and queried values to use the full unbounded kernel support.
- Made even-sample medians and mean-absolute residual scaling overflow-resistant for large finite values, and centered Batch/Streaming R-squared accumulation to preserve one-ULP response variation at large offsets.
- Made Batch RMSE, MAE, and R-squared reductions scale-safe for large finite values, preserved bisquare downweighting when tuned scales exceed the numeric range, and normalized custom weights before summation in local and all-tied fits.
- Kept AIC finite when raw residual-square sums overflow, and made local/all-tied WLS invariant to common scaling of large finite case weights.
- Fixed global OLS fits treating predictor values with a large offset as degenerate; translated inputs now retain their fitted slope.
- Fixed fraction-1 global fits ignoring custom weights, including when Batch sorts observations by x.
- Fixed Batch
missing = "drop"accepting custom weights with a length different from the original input; weights are validated before rows are dropped. - Fixed standard errors for global weighted fits to account for observation weights and weighted prediction leverage.
- Fixed local Batch and retained-model prediction standard errors ignoring
custom_weights; local SE moments now include the per-observation case weights. - Fixed global fits with all-zero custom weights to honor the configured zero-weight fallback policy.
- Fixed fraction-1 global fits ignoring configured robustness iterations; they now reweight observations and report iterations used.
- Fixed Batch cross-validation candidate fits ignoring
custom_weights; K-fold CV now rejects more folds than observations instead of returning zero scores. - Fixed Streaming and Online accepting invalid
auto_convergetolerances; Online also rejects invalid explicitdeltavalues while retaining NaN as its default sentinel. - Fixed GPU Batch fits misaligning fitted values with unsorted inputs; results now preserve input and requested sorted order.
- Fixed GPU Batch silently ignoring
custom_weights; GPU fit and CV candidate kernels now apply them directly. - Reduced GPU adapter buffer requirements from 30 storage/32 total buffer bindings to 7 storage/8 total per shader stage by using per-compute-pipeline resource layouts.
- Fixed Online incremental mode accepting positive
deltaandauto_convergesettings it cannot use; unsupported combinations now error. - Fixed grouped intervals discarding distinct confidence and prediction levels; each requested coverage is now applied independently.
- Fixed the default
boundary_policy("extend") letting synthetic boundary points bias the shared robustness scale estimate used to reweight every point, compounding across robustness iterations. - Improved agreement with R/Cleveland on sparse, asymmetric, and high-iteration fits by aligning robustness stopping, local-linear degeneracy handling, neighborhood traversal, delta interpolation, and weighted accumulation.
- Fixed zero-radius neighborhoods dropping tied observations or accumulating normalized weights in a different order under robust fits.
- Fixed Gaussian fits clipping the unbounded kernel to the neighbor window and flooring far-tail weights; all observations now contribute under the standard Gaussian formula.
- Fixed Julia model handles being finalized during native calls, concurrent Streaming/Online access, result appends with mismatched optional fields, unsafe GPU installer path handling and unsupported targets, and constructor errors hiding native validation details.
4.1.0
Added
- Added musl release binaries for Julia.
- Added
retain_modelandpredict(model, new_x; kwargs...)for out-of-sample prediction. - Added
return_derivativetoLowess,StreamingLowess, andOnlineLowess. - Added standard errors and confidence/prediction intervals to
StreamingLowessandOnlineLowess; online intervals requireupdate_mode = "full".
Fixed
- Changed the
OnlineLowessdefaultiterationsfrom3to0, matching non-robust incremental updates; robustness iterations requireupdate_mode = "full".
4.0.0
Added
- Added a
return_sortedoption toLowess. - Added a
missingoption toLowess,StreamingLowess, andOnlineLowessto control non-finite input handling. - Added GPU installer support for a local prebuilt artifact and a prebuilt Linux AArch64 GPU library.
Changed
- Breaking change: removed
return_diagnostics,return_residuals, andparallelfromOnlineLowess; these options were accepted but had no effect in online mode. - Breaking change:
StreamingLowess'soverlapdefault now resolves dynamically tochunk_size / 10instead of a fixed500. - Improved the Julia API documentation, including the dynamic overlap default.
Fixed
- Clarified that installing the GPU library requires restarting Julia before the GPU backend can be used.
3.2.1
Changed
- Clarified that results are returned in input order, even though the algorithm sorts internally.
Fixed
- Corrected
OnlineLowessdefaults tomin_points = 2andupdate_mode = "incremental". - Fixed Windows local library discovery to resolve the native library at runtime instead of reusing a stale precompiled path.
3.2.0
Changed
- Expanded and reorganized the Julia documentation with setup guidance, parameter explanations, and standardized examples.
Fixed
- Corrected the Handling Outliers example to use a fraction that downweights the injected outlier.
- Shortened confidence-interval and standard-error examples to display the first five values instead of all 100.
3.1.0
Changed
- Moved Julia documentation to GitHub Pages with executable Documenter.jl examples and updated the README with package-specific guidance.
3.0.0
Added
- Added an opt-in GPU backend through the
gpuCargo feature and abackendoption onLowess;install_gpu()downloads a prebuilt library. - Added cross-reference links in the Julia API documentation to the corresponding user guides.
Changed
- Breaking change: renamed
OnlineOutputfieldssmoothedandstd_errortoyandstandard_error. - Organized Streaming and Online API documentation and tutorials into dedicated user-guide pages.
Fixed
- Fixed
LowessResult.iterations_usedreturning the raw FFI sentinel-1instead ofnothingwhen robustness iterations are not applicable.
2.0.0
Added
- Added the
custom_weightskeyword to batchfitfor non-negative per-observation weights.
Changed
- Breaking change: replaced
add_points(online, x, y)withadd_point(online, x, y), which processes one point and returns its smoothed value ornothinguntil enough points are available.
1.3.0
Fixed
- Fixed Windows local Julia runs to load the native library at runtime, avoiding stale library paths from precompiled packages.
1.2.0
Changed
- Updated the GPU backend's
wgpudependency from v26.0 to v27.0.
1.1.2
- Under-the-hood maintenance; no changes to the public API or runtime behavior.
1.1.1
Fixed
- Fixed GPU configuration and initialization problems, and improved recovery after missing hardware/drivers or earlier GPU execution errors.
1.1.0
Added
- Expanded GPU fitting support to selectable kernels, robustness and scaling methods, boundary policies, automatic convergence, prediction, and cross-validation.
Fixed
- Fixed the
Extendboundary policy not being applied and improved numerical precision through coordinate centering. - Fixed GPU integer overflow, initialization failures, and resource exhaustion.
1.0.0
Added
- Added the
meanscaling method (Mean Absolute Deviation).
Fixed
- Caught Rust panics at the FFI boundary and reported them as Julia errors rather than unwinding across the language boundary.
0.99.9
Added
- Registered the package in JuliaRegistries.
Changed
- Introduced class-based builders for streaming and online processing.
0.99.8
- Initial implementation of
FastLOWESS.jl.