Repository navigation
Conversation
|
Just ran this branch under a 'safe casting' numpy installation with no breakage! Good job. |
With the cast in check_arrays, this works even with 'safe casting' numpys
MISC: remove unecessary dtype
|
I think this is ready. 93% test coverage. I should check it on python3 though. |
|
Any good reason not to have 100% coverage? |
There was a problem hiding this comment.
This is old Cython syntax (and why ii instead of just i)?
|
@ogrisel : I just double-checked and all non-covered lines are just if verbose branches |
Run a smoke test with verbose=10 and capturing the output in a stringIO |
|
+1 for merge with optionally doing the verbose test that I suggested above ;) |
|
Both @larsmans and @amueller+@GaelVaroquaux comments are addressed. |
There was a problem hiding this comment.
I think it is legitimate to add your name as well @vene
|
\o/ |
|
Congratulation !!! |
|
Cool, thanks @vene :) |
|
Fantastic!! Thanks for the conclusion @vene |
|
Anticipating the future MLP module, I would put the examples in a |
Yes, I agree. I believe that this was an oversight. |
|
well moving examples won't break any ones code, right? |
No. They break links on the Internet, but that's not as bad. |
|
Fair point, let's move them now. |
This is the new life of PR #1200.
I grabbed @GaelVaroquaux's branch, fixed the random state issue, made most of the API private, changed the example description and added the image to the narrative docs.
Up for debate:
gibbs,free_energyandpseudo_likelihoodas public functions.i.e. if
sample_bernoullihad some bug, thentest_gibbswould pass because it verifies the bug against itself. Could reviewers please take a look at the tests too?