py-why / py-why/EconML

Migrate DeepIV to new TensorFlow API or PyTorch

Open
#889 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted
Dominant language
Jupyter Notebook
Stars
4.8k
Forks
827
PR merge metrics
No merged PRs in 30d

Description

Our implementation of DeepIV relies on very outdated versions of the keras and tensorflow APIs that are not supported by versions 3.9 or later of python.

Given that Python 3.8 will not be supported beyond October 14, 2024, this means that we will deprecate and remove this estimator unless an implementation supporting either a newer version of TensorFlow/keras or a version supporting pytorch is created.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with econml/iv/nnet/_deepiv.py and review its outdated Keras and TensorFlow API usage against the supported Python versions. Decide whether the migration should target a newer TensorFlow/Keras API or PyTorch, then verify that DeepIV remains available and functional on supported Python versions; otherwise it will be deprecated and removed.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch, tensorflow
Domain
machine-learning
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.