Vincent Arel-Bundock

Results 134 issues of Vincent Arel-Bundock

> newdata = "median" causes problems with both hp and gear if they are not casted with > mtcars = mtcars.cast({"gear" : pl.Utf8, "hp" : pl.Float64}). > the problem with...

@Nadjim10 could you please implement conformal prediction in the Python version of this package? The first step would be to replicate these functions in Python: https://github.com/vincentarelbundock/marginaleffects/blob/main/R/conformal.R Here's some background: https://marginaleffects.com/articles/conformal.html

* [ ] `upcast` must be absolutely terrible, but `pl.concat` is tricky when we do +0001, which changes integers. So we need some upcast, but perhaps something smarter. * [...

https://github.com/matthewwardrop/formulaic Probably need another argument for the formula used to create `y` and `X` in `scikit-learn`