JuliaRandom / JuliaRandom/RandomExtensions.jl

sprand as samples from sparse distribution

Offen
#3 3 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Julia
Sterne
19
Forks
2
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I was thinking, in the spirit of this package, maybe `rand(Normal(),SparseMatrixCSC,p,m,n) ` could be better expressed as `rand(Bernoulli(p,Normal()),SparseMatrixCSC,m,n)` where `Bernoulli(p, Normal())` would be the "Gauss-Bernoulli" or "Spike-and-Slab" mixture distribution

P(x) = (1-p) delta(x)+ p Normal(x)

It seems to make things a bit more generic.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

No files or tests are named. Start by locating the current rand(Normal(), SparseMatrixCSC, p, m, n) entry point and reviewing how Bernoulli(p, Normal()) would represent the proposed sparse distribution; done means the API and resulting behavior are agreed and implemented.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
julia
Bereich
data
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.