hyperas icon indicating copy to clipboard operation
hyperas copied to clipboard

Can data and model function take argument?

Open haoyangz opened this issue 8 years ago • 2 comments

It would be nice if they can so that I could pass argument (such as file path) from outside of the function, rather than manually changing the file every time I run it on some new data. Thx!

haoyangz avatar May 04 '16 15:05 haoyangz

Also tried to avoid the requirement of changing the function every time by using partial from functools, but this of course does not go well with the current template engine.

I am not really sure if it is required to apply templates to the data generating function. This should be handled outside of hyperas in my opinion (data should be immutable).

ExpectationMax avatar Sep 20 '16 09:09 ExpectationMax

+1

flexthink avatar Jan 16 '18 04:01 flexthink