Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix mixture sampling and deconv for static arrays #1779

Merged
merged 2 commits into from
Oct 11, 2023

Conversation

Affie
Copy link
Member

@Affie Affie commented Oct 11, 2023

No description provided.

@Affie Affie added this to the v0.34.2 milestone Oct 11, 2023
@Affie Affie self-assigned this Oct 11, 2023
@@ -133,10 +133,19 @@ function sampleFactor(cf::CalcFactor{<:Mixture}, N::Int = 1)
#out memory should be right size first
length(cf.factor.labels) != N ? resize!(cf.factor.labels, N) : nothing
cf.factor.labels .= rand(cf.factor.diversity, N)
M = cf.manifold

# mixture needs to be refactored so let's make it worse :-)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we're going to ditch .mechanics with Mixture refactor:

Copy link
Member

@dehann dehann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see specific suggestions

@Affie Affie merged commit c58ae70 into 23Q3/dev/parametric Oct 11, 2023
0 of 4 checks passed
@Affie Affie modified the milestones: v0.34.2, v0.35.0 Oct 12, 2023
@Affie Affie deleted the 23Q4/fix/mix_deconv_sa branch May 6, 2024 06:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants