TuringLang / TuringGLM.jl

Bayesian Generalized Linear models using `@formula` syntax.
https://turinglang.org/TuringGLM.jl/dev
MIT License
70 stars 7 forks source link

Data Constructors for Fixed Effects #11

Closed storopoli closed 2 years ago

storopoli commented 2 years ago

This PR adds the data_response and data_fixed_effects functions that creates the response y and matrix X from a @formula and a Tables.jl-compatible interface.

The tests are mostly done with NamedTuples and DataFrames.

Related to #2.

storopoli commented 2 years ago

Changed everything TuringGLM.YADA to T.YADA thanks!