Package: gridOT 1.0.1
Michel Groppe
gridOT: Approximate Optimal Transport Between Two-Dimensional Grids
Can be used for optimal transport between two-dimensional grids with respect to separable cost functions of l^p form. It utilizes the Frank-Wolfe algorithm to approximate so-called pivot measures: one-dimensional transport plans that fully describe the full transport, see G. Auricchio (2021) <arxiv:2105.07278>. For these, it offers methods for visualization and to extract the corresponding transport plans and costs. Additionally, related functions for one-dimensional optimal transport are available.
Authors:
gridOT_1.0.1.tar.gz
gridOT_1.0.1.tar.gz(r-4.5-noble)gridOT_1.0.1.tar.gz(r-4.4-noble)
gridOT_1.0.1.tgz(r-4.4-emscripten)gridOT_1.0.1.tgz(r-4.3-emscripten)
gridOT.pdf |gridOT.html✨
gridOT/json (API)
# Install 'gridOT' in R: |
install.packages('gridOT', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated 2 years agofrom:a1a6f90d31. Checks:OK: 1 NOTE: 1. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 13 2024 |
R-4.5-linux-x86_64 | NOTE | Oct 13 2024 |
Exports:dual1dnorth_west_cornerotgridpivot_measuretransport_costtransport_costmattransport_df
Dependencies:RcppRcppArmadillo
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Dual Solution of one-dimensional Optimal Transport | dual1d |
North-west-corner Rule | north_west_corner |
Two-dimensional Grid with Mass | otgrid |
Pivot Measure | pivot_measure pivot_measure.data.frame pivot_measure.otgrid |
Plots for two-dimensional Optimal Transport | plot.otgrid plot.otgridtransport |
Optimal Transport Cost | transport_cost transport_cost.data.frame transport_cost.numeric transport_cost.otgrid transport_cost.otgridtransport |
Cost Matrix for two-dimensional Optimal Transport | transport_costmat transport_costmat.otgrid transport_costmat.otgridtransport |
Optimal Transport Plan | transport_df transport_df.numeric transport_df.otgrid transport_df.otgridtransport |