Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Nimrais committed Apr 15, 2024
2 parents 2f946ce + 655058e commit cff79e9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

[![Build Status](https://github.com/biaslab/ClosedFormExpectations.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/biaslab/ClosedFormExpectations.jl/actions/workflows/CI.yml?query=branch%3Amain)

Here's a sample README for your package:

`ClosedFormExpectations.jl` is a Julia package that provides closed-form expressions for computing the expectation of a function (e.g pdfs) with respect to another distribution, i.e., $E_q[f(x)].$

## Installation
Expand All @@ -18,12 +16,10 @@ The package exports the following:

ClosedFormExpectation: A struct representing the closed-form expectation.

meanlog: A function to compute the expectation E_q[log p(x)], where q is a distribution and p is a function.

## Usage

```julia
using ClosedFormExpectations
using Distributions
mean(ClosedFormExpectation(), Exponetial(10), log)
```
```

0 comments on commit cff79e9

Please sign in to comment.