{
  "_id": "6a1f1f19b401979e734200a3",
  "Package": "rareflow",
  "Title": "Variational Flow-Based Inference for Rare Events and Large\nDeviations",
  "Version": "0.1.0",
  "Authors@R": "person(\"Pietro\", \"Piu\", , \"pietro.piu.si@gmail.com\", role = c(\"aut\", \"cre\"))",
  "Description": "Variational flow-based methods for modeling rare events\nusing Kullback–Leibler (KL) divergence, normalizing flows,\nGirsanov change of measure, and Freidlin–Wentzell action\nfunctionals. The package provides tools for rare-event\ninference, minimum-action paths, and quasi-potential\ncomputation in stochastic dynamical systems. Methods are based\non Rezende and Mohamed (2015) <doi:10.48550/arXiv.1505.05770>,\nGirsanov (1960) <doi:10.1137/1105027>, and Freidlin and\nWentzell (2012, ISBN:978-0387955477).",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "URL": "https://pietropiu-labstats.github.io/rareflow/,\nhttps://github.com/PietroPiu-labstats/rareflow",
  "Repository": "https://pietropiu-labstats.r-universe.dev",
  "Date/Publication": "2026-02-15 15:27:19 UTC",
  "RemoteUrl": "https://github.com/pietropiu-labstats/rareflow",
  "RemoteRef": "HEAD",
  "RemoteSha": "a155cf8be8ea3d0684a322fe70d96be7d6830857",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-16 08:10:13 UTC",
    "User": "root"
  },
  "Author": "Pietro Piu [aut, cre]",
  "Maintainer": "Pietro Piu <pietro.piu.si@gmail.com>",
  "MD5sum": "a846da7588891ec733634a7928a87624",
  "_user": "pietropiu-labstats",
  "_type": "src",
  "_file": "rareflow_0.1.0.tar.gz",
  "_fileid": "acf1edd74b1ef996939fa9e8fcc942f803a9c8992222d2b5d3245d1448da140b",
  "_filesize": 987799,
  "_sha256": "acf1edd74b1ef996939fa9e8fcc942f803a9c8992222d2b5d3245d1448da140b",
  "_created": "2026-05-16T08:10:13.000Z",
  "_published": "2026-06-02T18:21:13.119Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79141977809,
      "time": 162,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7031861511"
    },
    {
      "job": 79141977907,
      "time": 118,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031857241"
    },
    {
      "job": 79141977715,
      "time": 96,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7031875535"
    },
    {
      "job": 79141977071,
      "time": 85,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031878136"
    },
    {
      "job": 79141976507,
      "time": 186,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031844769"
    },
    {
      "job": 79141976503,
      "time": 99,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7366293166"
    },
    {
      "job": 79141977808,
      "time": 87,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7031854201"
    },
    {
      "job": 79141977990,
      "time": 65,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7031851932"
    },
    {
      "job": 79141977345,
      "time": 73,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031852865"
    }
  ],
  "_buildurl": "https://github.com/r-universe/pietropiu-labstats/actions/runs/25956919298",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/pietropiu-labstats/rareflow",
  "_commit": {
    "id": "a155cf8be8ea3d0684a322fe70d96be7d6830857",
    "author": "Pietro Piu <pietro.piu.si@gmail.com>",
    "committer": "Pietro Piu <pietro.piu.si@gmail.com>",
    "message": "Add neuroscience vignette to pkgdown site\n",
    "time": 1771169239
  },
  "_maintainer": {
    "name": "Pietro Piu",
    "email": "pietro.piu.si@gmail.com",
    "login": "pietropiu-labstats",
    "uuid": 252590029
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "gganimate",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "pietropiu-labstats",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-06",
      "n": 1
    },
    {
      "week": "2026-07",
      "n": 9
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "pietropiu-labstats",
      "count": 10,
      "uuid": 252590029
    }
  ],
  "_userbio": {
    "uuid": 252590029,
    "type": "user",
    "name": "PietroPiu-labstats"
  },
  "_downloads": {
    "count": 159,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rareflow"
  },
  "_devurl": "https://github.com/pietropiu-labstats/rareflow",
  "_pkgdown": "https://pietropiu-labstats.github.io/rareflow/",
  "_searchresults": 0,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/rareflow.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/pietropiu-labstats/rareflow",
  "_realowner": "pietropiu-labstats",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-02-16"
    }
  ],
  "_exports": [
    "ELBOflow",
    "fitflow_FW",
    "fitflow_girsanov",
    "fitflowvariational",
    "Freidlin_Wentzell_action",
    "FW_quasipotential",
    "girsanov_logratio",
    "KLdiv",
    "mafflowmodel",
    "makebiolik",
    "makeflow",
    "makeneurolik",
    "planarflowmodel",
    "radialflowmodel",
    "sanovprob",
    "splinepwlinflowmodel"
  ],
  "_help": [
    {
      "page": "ELBOflow",
      "title": "Evidence Lower Bound (ELBO) for Flow-Based Variational Inference",
      "topics": [
        "ELBOflow"
      ]
    },
    {
      "page": "fitflow_FW",
      "title": "Fit Flow Using Freidlin-Wentzell Quasi-Potential",
      "topics": [
        "fitflow_FW"
      ]
    },
    {
      "page": "fitflow_girsanov",
      "title": "Fit Flow with Girsanov-Tilted Likelihood",
      "topics": [
        "fitflow_girsanov"
      ]
    },
    {
      "page": "fitflowvariational",
      "title": "Fit a Flow-Based Variational Posterior for Sanov Inference",
      "topics": [
        "fitflowvariational"
      ]
    },
    {
      "page": "Freidlin_Wentzell_action",
      "title": "Freidlin-Wentzell Action Functional",
      "topics": [
        "Freidlin_Wentzell_action"
      ]
    },
    {
      "page": "FW_quasipotential",
      "title": "Freidlin-Wentzell Quasi-Potential via Path Minimization",
      "topics": [
        "FW_quasipotential"
      ]
    },
    {
      "page": "girsanov_logratio",
      "title": "Girsanov Log-Ratio for Drift-Tilted Diffusions",
      "topics": [
        "girsanov_logratio"
      ]
    },
    {
      "page": "KLdiv",
      "title": "Kullback–Leibler Divergence",
      "topics": [
        "KLdiv"
      ]
    },
    {
      "page": "mafflowmodel",
      "title": "Masked Autoregressive Flow (MAF)",
      "topics": [
        "mafflowmodel"
      ]
    },
    {
      "page": "makebiolik",
      "title": "Biological Two-Separator Likelihood",
      "topics": [
        "makebiolik"
      ]
    },
    {
      "page": "makeflow",
      "title": "Flow Factory",
      "topics": [
        "makeflow"
      ]
    },
    {
      "page": "makeneurolik",
      "title": "Neural Two-Separator Likelihood",
      "topics": [
        "makeneurolik"
      ]
    },
    {
      "page": "planarflowmodel",
      "title": "Planar Normalizing Flow (1D)",
      "topics": [
        "planarflowmodel"
      ]
    },
    {
      "page": "radialflowmodel",
      "title": "Radial Normalizing Flow (1D)",
      "topics": [
        "radialflowmodel"
      ]
    },
    {
      "page": "sanovprob",
      "title": "Sanov Probability Bound",
      "topics": [
        "sanovprob"
      ]
    },
    {
      "page": "splinepwlinflowmodel",
      "title": "Piecewise-Linear Spline Flow (Monotone)",
      "topics": [
        "splinepwlinflowmodel"
      ]
    }
  ],
  "_readme": "https://github.com/pietropiu-labstats/rareflow/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "rareflow.Rmd",
      "filename": "rareflow.html",
      "title": "rareflow: Normalizing Flows for Rare-Event Inference",
      "author": "Pietro",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "1.A first example: variational inference for a discrete rare event",
        "2. Girsanov tilting for SDEs",
        "3. Freidlin–Wentzell quasi-potential",
        "Double-well potential",
        "3.1 Two-dimensional example: radial double-well",
        "3.2 Minimum Action Path in 2D (String Method)",
        "3.3 Animation of a 2D diffusion trajectory",
        "4. Full workflow: bistable diffusion and rare-event estimation",
        "Conclusions",
        "References"
      ],
      "created": "2026-02-08 16:58:27",
      "modified": "2026-02-14 15:20:59",
      "commits": 2
    }
  ],
  "_score": 4,
  "_indexed": true,
  "_nocasepkg": "rareflow",
  "_universes": [
    "pietropiu-labstats"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-16T08:13:00.000Z",
      "distro": "noble",
      "commit": "a155cf8be8ea3d0684a322fe70d96be7d6830857",
      "fileid": "1926b96b0a1d00a22b27b12c38d5b853249556146f3d4d8cbe7b86f0ea3602a1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pietropiu-labstats/actions/runs/25956919298"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-16T08:12:20.000Z",
      "distro": "noble",
      "commit": "a155cf8be8ea3d0684a322fe70d96be7d6830857",
      "fileid": "e021a5e2a2f83a19feccc31b2abc975f5193822e2a9f4b9497f8526e82a18e10",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pietropiu-labstats/actions/runs/25956919298"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-16T08:15:30.000Z",
      "commit": "a155cf8be8ea3d0684a322fe70d96be7d6830857",
      "fileid": "dcf4c6e0b4e7f65347b972abdb927820b1fa287f3cf645bd6ee1bb9546094046",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pietropiu-labstats/actions/runs/25956919298"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-16T08:15:55.000Z",
      "commit": "a155cf8be8ea3d0684a322fe70d96be7d6830857",
      "fileid": "ec28946c785641dd51452ceeec53233004fb20ab18381a654d49b7a635a4eaf1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pietropiu-labstats/actions/runs/25956919298"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-16T08:11:44.000Z",
      "commit": "a155cf8be8ea3d0684a322fe70d96be7d6830857",
      "fileid": "2ecea128c36260eab4d1b09ae821fe26d251b8a15ece466abef2ae1b27d7488d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pietropiu-labstats/actions/runs/25956919298"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-16T08:11:23.000Z",
      "commit": "a155cf8be8ea3d0684a322fe70d96be7d6830857",
      "fileid": "7cb5277f2bf1728887c15187b3d3a007ffb048a5417f8a0721f8f99f805ed086",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pietropiu-labstats/actions/runs/25956919298"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-16T08:11:31.000Z",
      "commit": "a155cf8be8ea3d0684a322fe70d96be7d6830857",
      "fileid": "4aad6a0354e923210e72c643c86612461853e9026fe52f8af4a129efbc7be4ff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pietropiu-labstats/actions/runs/25956919298"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-06-02T18:20:51.000Z",
      "commit": "a155cf8be8ea3d0684a322fe70d96be7d6830857",
      "fileid": "2bf6c37be914c2ba1238d4917c936e82368e654ceede840bdd710f29a3b654ef",
      "status": "success",
      "buildurl": "https://github.com/r-universe/pietropiu-labstats/actions/runs/25956919298"
    }
  ]
}