Package: polykde 1.0.0

Eduardo García-Portugués

polykde: Polyspherical Kernel Density Estimation

Kernel density estimation on the polysphere, hypersphere, and circle. Includes functions for density estimation, regression estimation, ridge estimation, bandwidth selection, kernels, samplers, and homogeneity tests. Companion package to García-Portugués and Meilán-Vila (2024) <doi:10.48550/arXiv.2411.04166> and García-Portugués and Meilán-Vila (2023) <doi:10.1007/978-3-031-32729-2_4>.

Authors:Eduardo García-Portugués [aut, cre], Andrea Meilán-Vila [ctb]

polykde_1.0.0.tar.gz
polykde_1.0.0.tar.gz(r-4.5-noble)polykde_1.0.0.tar.gz(r-4.4-noble)
polykde_1.0.0.tgz(r-4.4-emscripten)polykde_1.0.0.tgz(r-4.3-emscripten)
polykde.pdf |polykde.html
polykde/json (API)
NEWS

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

Bug tracker:https://github.com/egarpor/polykde/issues

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

openblascpp

1.00 score 5 scripts 48 exports 25 dependencies

Last updated 3 days agofrom:2de95c7730. Checks:2 OK. Indexed: no.

TargetResultLatest binary
Doc / VignettesOKFeb 17 2025
R-4.5-linux-x86_64OKFeb 17 2025

Exports:angles_to_polysphangles_to_sphangles_to_torusb_dblock_euler_ridgebw_cv_kre_polysphbw_cv_polysphbw_lcv_min_epabw_mrot_polysphbw_rot_polysphc_kernclean_euler_ridgecomp_ind_djcurv_vmf_polysphd_unif_polysphd_vmf_polysphdist_polysphdist_polysph_crossdist_polysph_matrixeff_kerneuler_ridgegrad_hess_kde_polysphgrad_Lhess_Lhom_test_polysphindex_ridgeinterp_polysphkde_polysphkre_polysphLlog_cv_kde_polysphparallel_euler_ridgepolylog_minus_exp_mupolysph_to_anglesproj_grad_kde_polysphproj_polysphr_g_kernr_kde_polysphr_kern_polysphr_path_s1rr_path_s2rr_unif_polysphr_vmf_polysphsoftplussph_to_anglestorus_to_anglesv_dview_srep

Dependencies:abindclueclustercodetoolsdigestdoFuturedoRNGforeachfuturefuture.applyglobalsgsliteratorslistenvmovMFparallellyprogressrRcppRcppArmadilloRcppProgressrngtoolsrotasymskmeansslamsphunif

Readme and manuals

Help Manual

Help pageTopics
'polykde': Polyspherical Kernel Density Estimationpolykde-package polykde
Conversion between the angular and Cartesian coordinates of the polysphereangles_to_polysph polysph_to_angles
Conversion between the angular and Cartesian coordinates of the hypersphereangles_to_sph sph_to_angles
Conversion between the angular and Cartesian coordinates of the torusangles_to_torus torus_to_angles
Cross-validation bandwidth selection for polyspherical-on-scalar regressionbw_cv_kre_polysph
Cross-validation bandwidth selection for polyspherical kernel density estimatorbw_cv_polysph
Minimum bandwidth allowed in likelihood cross-validation for Epanechnikov kernelsbw_lcv_min_epa
Marginal rule-of-thumb bandwidth selection for polyspherical kernel density estimatorbw_mrot_polysph
Rule-of-thumb bandwidth selection for polyspherical kernel density estimatorbw_rot_polysph
Clean ridge points coming from spurious fitsclean_euler_ridge
Index of hyperspheres on a polyspherecomp_ind_dj
Curvature of a polyspherical von Mises-Fisher densitycurv_vmf_polysph
Density of the uniform distribution on the polysphered_unif_polysph
Density of the product of von Mises-Fisher distributions on the polysphered_vmf_polysph
Polyspherical distancedist_polysph dist_polysph_cross dist_polysph_matrix
Polyspherical kernel moments and efficienciesb_d eff_kern v_d
Euler algorithms for polyspherical density ridge estimationblock_euler_ridge euler_ridge parallel_euler_ridge
Gradient and Hessian of the polyspherical kernel density estimatorgrad_hess_kde_polysph
Homogeneity test for several polyspherical sampleshom_test_polysph
Index a ridge curve, creating the Smoothed and Indexed Estimated Ridge (SIER)index_ridge
Interpolation on the polysphereinterp_polysph
Polyspherical kernel density estimatorkde_polysph
Kernels on the hypersphere and their derivativesc_kern grad_L hess_L kernel L
Local polynomial estimator for polyspherical-on-scalar regressionkre_polysph
Cross-validation for the polyspherical kernel density estimatorlog_cv_kde_polysph
Polylogarithm function with negative argumentpolylog_minus_exp_mu
Projected gradient of the polyspherical kernel density estimatorproj_grad_kde_polysph
Projection onto the polysphereproj_polysph
Sample from the angular kernel densityr_g_kern
Sample from polyspherical kernel density estimatorr_kde_polysph
Sample kernel-distributed polyspherical datar_kern_polysph
Samplers of one-dimensional modes of variation for polyspherical datar_path_s1r r_path_s2r
Sample uniform polyspherical datar_unif_polysph
Sample von Mises-Fisher distributed polyspherical datar_vmf_polysph
Stable computation of the softplus functionsoftplus
s-rep viewerview_srep