Skip to content

tfprobability

0.15.2

Interface to 'TensorFlow Probability'

2packages depend
8.2Kdownloads / year
82.8%test coverage
13/13checks pass

Overview

About
Maintained by Tomasz KalinowskiFirst published 2019-10-308 releasesCRAN page ↗GitHub ↗

Interface to 'TensorFlow Probability', a 'Python' library built on 'TensorFlow' that makes it easy to combine probabilistic models and deep learning on modern hardware ('TPU', 'GPU'). 'TensorFlow Probability' includes a wide selection of probability distributions and bijectors, probabilistic layers, variational inference, Markov chain Monte Carlo, and optimizers such as Nelder-Mead, BFGS, and SGLD.

Install

Health

CRAN checks
13OK
Slowest check: 6.9 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.31
82.8%
Coverage · measured lines
100%
Documentation · exports
4
Dependencies · direct
Check history
  • OK2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-06-07
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-05-10
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • WARNING2026-05-09
    12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 342 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
0%
Documented parameters
99%
Return-value docs
99%
References docs
0%

Downloads

8.2K
CRAN downloads in the past year
Rank #8,359 · ~22/day · ~680/mo
Daily download trend is not available in this view yet.
35430 days
1.3K90 days
8.2K1 year
Compare downloads with other packages →
Also on162 r2u36 autocran1.6K conda_forge

Repository

Repository
57Stars
14Forks
13Open issues
2Open PRs
5Releases
654Commits
7Contributors
654 commits · Last activity 2025-08-22 · 0% stars, 30d

Stars over time

2024-08-09 · 542026-07-07 · 57

Repository practices

Upstream repositoryBeta

4 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/rstudio/tfprobability on 2026-07-19.

Continuous integration (1)
GitHub Actions
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)
Depends (0)
none
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
2direct
0indirect

Code & Tests

Code Composition
Rd 33,786 (60%)R 20,855 (37%)Vignettes 756 (1%)HTML 606 (1%)
Code characteristics
Object systems
S34
Cyclomatic complexity
1.0 median / 11 max
Test cases
322 / 0.31 per code line
System requirements
1 external

Test coverage

Line coverage

83%

Expression

80.0%

Tests / Examples

82.8% / – ex

Functions

308 294 exported

Complexity

1.2 avg / 11 max

Call network

308 nodes / 81 edges

Loading call graph…

Lowest coverage

308 functions
FunctionCycloCoverage
glm_fit_one_step exp10%
install_tfprobability exp40%
layer_autoregressive exp10%
layer_autoregressive_transform exp10%
layer_kl_divergence_regularizer exp10%
layer_mixture_logistic exp10%

People & History

People (5)
Maintainer (1)
Contributor, Maintainer · added in 0.15.0
Authors (1)
Contributors (3)
Contributor, Maintainer · added in 0.15.0
Contributor
Contributor
Copyright holders (1)
Copyright holder · added in 0.15.0
Package Timeline

8 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.15.2Latest
    2025-08-21 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.15.1
    2022-09-01 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.15.0
    2022-02-02 · diff ↗
  • 0.12.0.0
    2021-05-20 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.11.0.0
    2020-08-06 · diff ↗
  • 0.10.0.0
    2020-05-19 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 0.9.0.0
    2020-01-27 · diff ↗
  • 0.8.0.0
    2019-10-30
  • R
    R 3.6.0 released · 2019-04-26

Package metadata

First published
2019-10-30
Total releases
8 / 7 yrs
License
Apache License (>= 2.0)
Download size
1.1 MB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →