Skip to content

Conversation

twiecki
Copy link
Member

@twiecki twiecki commented Apr 15, 2017

Fixes #1563

@springcoil
Copy link
Contributor

Some test errors with isinstance. Is this an inheritance issue?

q = np.copy(q0)
logp_curr = logp(q)

# TODO Replace loop with theano.scan
Copy link
Member

Choose a reason for hiding this comment

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

Can we do this when q is a numpy array?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, that shouldn't be a problem.

@junpenglao
Copy link
Member

@twiecki do you want to rebase or work on this after 3.1rc4 #2223?

@twiecki
Copy link
Member Author

twiecki commented May 29, 2017

I started having doubts on this. The elemwise sampler is much faster, but for more data points it should never accept a proposal. So I thin it's better to be accurate than fast. There are ways to speed this up. Ultimately though, people should just use the Mixture distributions.

@twiecki twiecki closed this May 29, 2017
@junpenglao
Copy link
Member

Sure - the MCMC might need some refactoring anyway in the near future. do you want to also delete the branch?

@twiecki twiecki deleted the elemwise_default branch May 29, 2017 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants