JuliaRandom / JuliaRandom/RandomExtensions.jl

sprand as samples from sparse distribution

Aperta
#3 3 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
Julia
Stelle
19
Fork
2
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
julia
Ambito
data
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.