diamond
diamond copied to clipboard
Python solver for mixed-effects models
Per https://docs.python-guide.org/writing/logging/, best practice is to add a null handler.
I've been using `diamond` with `reticulate` especially because it's easy to create the priors in R and then also fit the model in R. This would be a prime package...
The model object includes lots of bloat, e.g the full training data. It would be nice to serialize a minimal version containing only that which is necessary to make predictions....
I think we use the full variety of Python 2+3 compatible string formatting methods. It might be cleaner to pick one and stick with it.
Currently, fitting the model modifies the training data frame in place when copy=False. I think we can improve the manners here. 1. Remove the columns created: `row_index` and `intercept` 2....