Package: geosmooth 0.2.0

geosmooth: Geometric Methods for Nonparametric Regression and Density Estimation

Provides geometric methods for nonparametric regression and density estimation on data represented as coordinate matrices or weighted graphs. Methods include local polynomial smoothing, model-averaged local polynomial smoothing, local polynomial lifting trend filtering, synchronized local polynomial lifting trend filtering, graph low-pass filtering, and Hessian-energy regression. Methodological references include Gajer and Ravel (2025) "Adaptive Geometric Regression for High-Dimensional Structured Data" <doi:10.48550/arXiv.2511.03817>, Fan and Gijbels (1996, ISBN:9780412983214), Wang et al. (2016) "Trend Filtering on Graphs" <https://www.jmlr.org/papers/v17/15-147.html>, and Kim et al. (2009) "Semi-Supervised Regression Using Hessian Energy" <https://papers.nips.cc/paper/3741-semi-supervised-regression-using-hessian-energy-with-an-application-to-semi-supervised-dimensionality-reduction>.

Authors:Pawel Gajer [aut, cre], Gael Guennebaud [ctb], Benoit Jacob [ctb], Authors of Eigen [cph], Yixuan Qiu [ctb, cph], Contributors to Spectra [cph], Sunil Arya [ctb, cph], David M. Mount [ctb, cph], University of Maryland [cph]

geosmooth_0.2.0.tar.gz
geosmooth_0.2.0.zip(r-4.7-x86_64)geosmooth_0.2.0.zip(r-4.7-arm64)geosmooth_0.2.0.zip(r-4.6-x86_64)geosmooth_0.2.0.zip(r-4.6-arm64)geosmooth_0.2.0.zip(r-4.5-x86_64)
geosmooth_0.2.0.tgz(r-4.6-x86_64)geosmooth_0.2.0.tgz(r-4.6-arm64)geosmooth_0.2.0.tgz(r-4.5-x86_64)geosmooth_0.2.0.tgz(r-4.5-arm64)
geosmooth_0.2.0.tar.gz(r-4.7-arm64)geosmooth_0.2.0.tar.gz(r-4.7-x86_64)geosmooth_0.2.0.tar.gz(r-4.6-arm64)geosmooth_0.2.0.tar.gz(r-4.6-x86_64)
geosmooth_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
geosmooth/json (API)

# Install 'geosmooth' in R:
install.packages('geosmooth', repos = c('https://pgajer.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/pgajer/geosmooth/issues

Pkgdown/docs site:https://pgajer.github.io

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

openblascpp

5.11 score 455 downloads 65 exports 20 dependencies

Last updated from:5e8959743d. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK363
linux-devel-x86_64OK442
source / vignettesOK415
linux-release-arm64OK370
linux-release-x86_64OK426
macos-release-arm64OK360
macos-release-x86_64OK1081
macos-oldrel-arm64OK339
macos-oldrel-x86_64OK1112
windows-devel-arm64OK582
windows-devel-x86_64OK526
windows-release-arm64OK588
windows-release-x86_64OK499
windows-oldrel-x86_64OK534
wasm-releaseOK200

Exports:apply.metric.graph.lowpass.pathbootstrap.malpscompare.masked.graph.fieldscompare.synthetic.datasetcv.masked.graph.fieldfit.chart.kernelfit.densityfit.graph.trend.filteringfit.local.likelihoodfit.lpl.tffit.lpsfit.malpsfit.masked.graph.fieldfit.metric.graph.lowpassfit.ps.lpsfit.pttf.trend.filteringfit.slpl.tffit.ssrhe.hessian.l1.regressionfit.ssrhe.hessian.regressionfit.subject.odget.region.boundarygraph.trend.filtering.operatorharmonic.smootherlpl.tf.operatorlps.backend.diagnosticslps.grouped.foldidlps.nested.cvlps.pointwise.bandmalps.gcvmaterialize.syntheticmaterialize.synthetic.instancemetric.graph.heat.eta.gridmetric.graph.heat.extend.lowermetric.graph.lowpass.basismetric.graph.lowpass.operatornormalize.densityperform.harmonic.smoothingpttf.geometrypttf.operatorpttf.operator.filter.rowsrefitselect.masked.graph.fieldslpl.tf.operatorsmoother.matrixssrhe.hessian.operatorssrhe.support.gridsupport.masked.graph.fieldsynthetic.dataset.checksumsynthetic.registry.idssynthetic.registry.seedsynthetic.registry.specsynthetic.response.bernoullisynthetic.response.clustered.gaussiansynthetic.response.gaussiansynthetic.response.heteroskedastic.gaussiansynthetic.response.laplace.outliersynthetic.sampling.stratifiedsynthetic.specsynthetic.truth.gaussian.mixturesynthetic.truth.logitsynthetic.truth.namedsynthetic.truth.occupation.mixturesynthetic.truth.polynomialtransported.graph.hessian.operatorvalidate.synthetic.dataset

Dependencies:BHclicpp11dgraphsdigestFNNglueigraphjsonlitelatticelifecyclemagrittrMASSMatrixnloptrpkgconfigRcppRcppEigenrlangvctrs

Finding your way around geosmooth
Choose a starting point | A first regression fit | Prediction and reusable fits | Refit and extract smoother matrices | Function catalog | Shared model operations | Local regression and prediction synchronization | Model assessment and uncertainty | Lifting trend filters | Graph spectral smoothing and graph trend filtering | From a constructed graph to a fitted response | Hessian-energy regression | Harmonic interpolation | Probability mass and subject occupation | Experimental transport methods | Synthetic datasets: specifications, responses, and reproducibility | Geometry constructors and helpers supplied by dgraphs | Sampling constructors supplied by dgraphs | Finding detailed help | Advanced controls without a new fitter

Last update: 2026-09-15
Started: 2026-09-14

Synthetic datasets for geometric smoothing

Last update: 2026-09-15
Started: 2026-07-29

Readme and manuals

Help Manual

Help pageTopics
geosmooth packagegeosmooth-package geosmooth
Apply a Metric Graph Low-Pass Filter Pathapply.metric.graph.lowpass.path
Summarize a synthetic dataset as one metadata rowas.data.frame.synthetic_dataset
Bootstrap Uncertainty For A Fixed-Selection MALPS Fitbootstrap.malps
Compare Masked Graph Fields with Independent Graph Workerscompare.masked.graph.fields
Compare two synthetic datasets scientificallycompare.synthetic.dataset
Participant-Grouped Nested Cross-Validation for a Masked Graph Fieldcv.masked.graph.field
Fit a Chart-Kernel Smootherfit.chart.kernel
Fit a Density Estimatorfit.density
Fit Graph Trend Filteringfit.graph.trend.filtering
Fit a Local-Likelihood Density or Bernoulli Smootherfit.local.likelihood
Fit A Local Polynomial Lifting Trend Filterfit.lpl.tf
Fit a Local Polynomial Smootherfit.lps
Fit Model-Averaged Local Polynomial Smoothingfit.malps
Fit a Graph Field from Partially Observed Responsesfit.masked.graph.field
Fit Metric-Conductance Graph Low-Pass Regressionfit.metric.graph.lowpass
Fit Prediction-Synchronized Local Polynomial Smoothingfit.ps.lps
Fit A Parallel-Transport Trend Filter From A PTTF Operatorfit.pttf.trend.filtering
Fit A Fixed-Operator Synchronized LPL-TF Modelfit.slpl.tf
Fit SSRHE-Style Hessian L1 Regressionfit.ssrhe.hessian.l1.regression
Fit SSRHE-Style Hessian-Energy Regressionfit.ssrhe.hessian.regression fit.ssrhe.hessian.regression.cv fit.ssrhe.hessian.regression.gcv
Fit Subject-Occupation Densityfit.subject.od
Get Boundary Vertices of a Region in a Graphget.region.boundary
Construct a Graph Trend-Filtering Operatorgraph.trend.filtering.operator
Perform Harmonic Smoothing with Topology Trackingharmonic.smoother
Construct a Local Polynomial Lifting Trend-Filtering Operatorlpl.tf.operator
Report LPS Backend and Chart-Dimension Diagnosticslps.backend.diagnostics
Build a Cluster-Respecting Fold Assignmentlps.grouped.foldid
Nested Cross-Validation for LPS with Explicit, Recorded Foldslps.nested.cv
Pointwise Variance and Confidence Band for a Fixed-Configuration LPS Fitlps.pointwise.band
Compute MALPS Linear-Smoother Diagnosticsmalps.gcv
Materialize a synthetic-data specificationmaterialize.synthetic
Materialize a frozen synthetic instancematerialize.synthetic.instance
Construct a Graph Heat-Time Gridmetric.graph.heat.eta.grid
Propose a Guarded Lower Graph Heat Timemetric.graph.heat.extend.lower
Construct a Reusable Metric Graph Low-Pass Spectral Basismetric.graph.lowpass.basis
Construct a Metric-Conductance Graph Low-Pass Operatormetric.graph.lowpass.operator
Summarize a Geometric Smoother or Probability-Mass Fitmodel-summary print.chart_kernel print.density_fit print.local_likelihood print.lpl_tf print.ps_lps print.slpl_tf print.summary.geosmooth_fit summary.chart_kernel summary.density_fit summary.graph.trend.filtering.fit summary.local_likelihood summary.lpl_tf summary.lps summary.malps summary.metric.graph.lowpass.fit summary.metric.graph.lowpass.refit summary.ps_lps summary.pttf.trend.filtering.fit summary.slpl_tf summary.ssrhe.hessian.fit summary.ssrhe.hessian.l1.fit summary.ssrhe.hessian.refit
Extract Stored Fitted Values and Response Residualsfitted.chart_kernel fitted.graph.trend.filtering.fit fitted.harmonic_smoother fitted.local_likelihood fitted.lpl_tf fitted.lps fitted.malps fitted.metric.graph.lowpass.fit fitted.metric.graph.lowpass.refit fitted.ps_lps fitted.pttf.trend.filtering.fit fitted.slpl_tf fitted.ssrhe.hessian.fit fitted.ssrhe.hessian.l1.fit fitted.ssrhe.hessian.refit model-values residuals.chart_kernel residuals.graph.trend.filtering.fit residuals.local_likelihood residuals.lpl_tf residuals.lps residuals.malps residuals.metric.graph.lowpass.fit residuals.metric.graph.lowpass.refit residuals.ps_lps residuals.pttf.trend.filtering.fit residuals.slpl_tf residuals.ssrhe.hessian.fit residuals.ssrhe.hessian.l1.fit residuals.ssrhe.hessian.refit
Normalize Fitted Values Into a Densitynormalize.density normalize.density.default normalize.density.lps normalize.density.metric.graph.lowpass.fit normalize.density.metric.graph.lowpass.refit normalize.density.numeric normalize.density.ps_lps
Perform Harmonic Smoothing on Graph Function Valuesperform.harmonic.smoothing
Plot Method for Harmonic Smoother Resultsplot.harmonic_smoother
Plot a canonical synthetic datasetplot.synthetic_dataset
Predict From A Local Polynomial Lifting Trend Filterpredict.lpl_tf
Predict from an LPS Fitpredict.lps
Predict From A MALPS Fitpredict.malps
Predict From A Fixed-Operator Synchronized LPL-TF Modelpredict.slpl_tf
Print Geosmooth S3 Objectsprint.graph.trend.filtering.fit print.lpl_tf_operator print.lps print.malps print.malps_bootstrap print.metric.graph.lowpass.fit print.metric.graph.lowpass.refit print.pttf.trend.filtering.fit print.pttf_operator print.slpl_tf_operator print.ssrhe.hessian.cv.fit print.ssrhe.hessian.fit print.ssrhe.hessian.gcv.fit print.ssrhe.hessian.l1.fit print.ssrhe.hessian.operator print.ssrhe.hessian.refit print.transported.graph.hessian.operator
Print Method for Harmonic Smoother Resultsprint.harmonic_smoother
Print Method for Summary of Harmonic Smoother Resultsprint.summary.harmonic_smoother
Print a canonical synthetic datasetprint.synthetic_dataset
Construct PTTF Local Geometrypttf.geometry
Construct PTTF Transported-Difference Operatorspttf.operator
Filter Rows Of A PTTF Operatorpttf.operator.filter.rows
Refit A Model Using Its Stored Geometryrefit refit.default
Refit A Local Polynomial Lifting Trend Filterrefit.lpl.tf refit.lpl_tf
Refit A MALPS Smoother With A New Responserefit.malps
Refit Metric-Conductance Graph Low-Pass Regressionrefit.metric.graph.lowpass refit.metric.graph.lowpass.fit
Refit A Fixed-Operator Synchronized LPL-TF Modelrefit.slpl.tf refit.slpl_tf
Refit SSRHE-Style Hessian-Energy Regressionrefit.ssrhe.hessian.fit refit.ssrhe.hessian.regression
Refit SSRHE-Style Hessian L1 Regressionrefit.ssrhe.hessian.l1.fit refit.ssrhe.hessian.l1.regression
Evaluate Nested Selection Among Candidate Graphsselect.masked.graph.field
Construct A Synchronized LPL-TF Fixed Operatorslpl.tf.operator
Extract A Conditional Smoother Matrixsmoother.matrix smoother.matrix.default
Extract the Linear-Smoother Matrix of a Fixed-Configuration LPS Fitlps.smoother.matrix smoother.matrix.lps
Construct The Conditional MALPS Smoother Matrixmalps.smoother.matrix smoother.matrix.malps
Construct an SSRHE-Style Local Hessian Energy Operatorssrhe.hessian.operator
Build Candidate Support Profiles for SSRHE Adaptive-Radius Tuningssrhe.support.grid
Summary Method for Harmonic Smoother Resultssummary.harmonic_smoother
Summarize Measurement Support for a Graph Fieldsupport.masked.graph.field
Compute the canonical content checksum of a synthetic datasetsynthetic.dataset.checksum
List maintained synthetic recipe IDssynthetic.registry.ids
Resolve the legacy seed for an SSRHE registry recipesynthetic.registry.seed
Resolve a maintained synthetic recipesynthetic.registry.spec
Bernoulli response specificationsynthetic.response.bernoulli
Clustered Gaussian response specificationsynthetic.response.clustered.gaussian
Gaussian response specificationsynthetic.response.gaussian
Heteroskedastic Gaussian response specificationsynthetic.response.heteroskedastic.gaussian
Laplace response with Gaussian contaminationsynthetic.response.laplace.outlier
Legacy G4 stratified sampling specificationsynthetic.sampling.stratified
Assemble a synthetic-data specificationsynthetic.spec
Specify a Gaussian-mixture truthsynthetic.truth.gaussian.mixture
Specify a sinusoidal finite-design logit truthsynthetic.truth.logit
Specify a versioned named truth evaluatorsynthetic.truth.named
Specify a finite-design occupation-mixture truthsynthetic.truth.occupation.mixture
Specify a polynomial truthsynthetic.truth.polynomial
Construct a Transported Graph Hessian Operatortransported.graph.hessian.operator
Validate a canonical synthetic datasetvalidate.synthetic.dataset