exp-weighted mean

Open
#93 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
julia
Domain
tooling

Research direction

No file, test, or entry point is identified in the issue. Start by reviewing the package's existing logsumexp-related APIs and examples, then determine the intended exp-weighted mean interface and mathematical scope. Done means the feature's scope and expected behavior are agreed and covered by tests.

Written by the indexing model from the issue text.

Description

Recently I have been calculating

\frac{\sum_i \exp(w_i) \exp(z_i) }{\sum_i \exp(w_i)}

forms a lot. They usually come from parametric derivatives of logsumexp, eg

\log \sum_i \exp(a_i + z_i y)

by $y$. I wonder if it is general enough to have a place in this package.

Dominant language
Julia
Stars
86
Forks
25
Avg merge
4d 7h
Merged PRs (30d)
3

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from JuliaStats/LogExpFunctions.jl

All issues in JuliaStats/LogExpFunctions.jl

Similar issues

More Julia issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.