DataCanvasIO / YLearn

YLearn, a pun of "learn why", is a python package for causal inference
https://ylearn.readthedocs.io
Apache License 2.0
391 stars 75 forks source link

Dependency on turtle #48

Closed nodiz closed 8 months ago

nodiz commented 1 year ago

Why does model.py use turtle.clone instead of deepcopy to clone the estimator?

I'm asking because removing the dependency on turtle would be nice, as turtle requires tkinter and tkinter is difficult to have in some development environment (databricks to make an example)

BochenLv commented 1 year ago

Hi,

Thanks for this great suggestion! We replace turtle.clone with deepcopy in model.py. The dependency on turtle is now completely removed.