On 24.02.20 13:24, Rhodri James wrote:
This seems a lot like trying to shoehorn something in so one can write
idiomatic R in Python. That on the whole sounds like a bad idea; a
friend of mine use to say he could write FORTRAN in any language but
no one else could read it. Wouldn't it be more pythonic (or more
accurately anything-other-than-R-ic) to use an interface that was more
like
model = model_fn(prediction, seq_of_predictors, data_table)
The problem here is that the `seq_of_predictors` doesn't include a way
for specifying their relationship with `prediction`, i.e. one cannot
(easily) distinguish
P ~ X + Y + Z
versus
P ~ X * Y + Z
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at
https://mail.python.org/archives/list/python-ideas@python.org/message/TSW3HJFVPY6UWSILKIHFA64QUU7RE3EX/
Code of Conduct: http://python.org/psf/codeofconduct/