Repository navigation
ENH: MNLogit strings/factor - #2048
Conversation
There was a problem hiding this comment.
in general: for extra tests where we already have checked the main results, use start_params to speed up the tests.
(we need to add this also to some other tests over time to keep the total test time reasonable. So far it's mainly used in the slow tests of Kerby's GEE or Mixed)
There was a problem hiding this comment.
For the 'nice' tests it doesn't save much time. .04 seconds here, though I guess it all adds up.
1ab717f to
a465249
Compare
|
about the unit tests: We should do this in general and start to pay more attention to speed, one start_params up or down of the fast models doesn't matter, but we have lots of unit tests, and we don't have yet a large number of unit tests for interface issues. |
|
Agreed. It's a good idea. We should add a note about it to the testing documentation and about the setupClass classmethod. |
There was a problem hiding this comment.
design issue in general (OK as short term solution)
this isn't really extensible or reusable for other models.
I think it should go into the general data handling in base, and the model should define an option that categorical endog are acceptable and should be converted.
see #2049
I don't know how this is handled in genmod GLM and GEE
a465249 to
74a8881
Compare
|
Can someone reproduce these test failures? I can't. Only difference must be underlying LAPACK AFAICT. I can change the tests but would be nice to see what's going on. |
|
For some reason it doesn't like to start where it ends up, so I'm just going to remove the |
597276d to
f786f97
Compare
This should be a separate issue, if we don't figure this out here. |
Make sure MNLogit still works with strings, factors, object arrays. This got borked in the object array check that was added. Needs to go in for 0.6. So will also need a PR versus the 0.6.x maintenance branch.