with numpyro.plate(
"data_plate", size=y.shape[0]
):
with handlers.scale(scale=sample_weights):
numpyro.sample("y", dist.Normal(mu, var), obs=y)
I have this setup where i have sample weights defined to scale the log likelihood. right now the weights are simply a numpy array which have mean of 1. However, these weights do not seem to be doing anything… when i change the weights, the model is unchanged. am i doing something wrong? thanks so much