TuringLang / TuringGLM.jl

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

Formula API #7

Closed storopoli closed 2 years ago

storopoli commented 2 years ago

This PR implements the @formula API to TuringGLM, mostly copied from StatsModels.jl and MixedModels.jl.

Note that we are excluding the intercept in the classical StatsModels.jl model matrix construction.

One of #2.

The PR is broken in Julia nighly because of LibTask.jl issues in Julia 1.7

codecov[bot] commented 2 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@9d1b917). Click here to learn what that means. The diff coverage is n/a.

:exclamation: Current head 660ffda differs from pull request most recent head 5bc633b. Consider uploading reports for the commit 5bc633b to get more accurate results Impacted file tree graph

@@          Coverage Diff           @@
##             main      #7   +/-   ##
======================================
  Coverage        ?   0.00%           
======================================
  Files           ?       1           
  Lines           ?      13           
  Branches        ?       0           
======================================
  Hits            ?       0           
  Misses          ?      13           
  Partials        ?       0           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 9d1b917...5bc633b. Read the comment docs.

storopoli commented 2 years ago

Ok this PR is getting really big. But the main @formula API is done. Please, whevener you can @rikhuijzer could you review it?