paper-with-me

Papers

genriesz: A Python Package for Automatic Debiased Machine Learning with Generalized Riesz Regression

2026-02-19 · Masahiro Kato arxiv

Efficient estimation of causal and structural parameters can be automated using the Riesz representation theorem and debiased machine learning (DML). We present genriesz, an open-source Python package that implements automatic DML and generalized Riesz regression, a unified framework for estimating Riesz representers by minimizing empirical Bregman divergences. This framework includes covariate balancing, nearest-neighbor matching, calibrated estimation, and density ratio estimation as special cases. A key design principle of the package is automatic regressor balancing (ARB): given a Bregman generator $g$ and a representer model class, genriesz} automatically constructs a compatible link function so that the generalized Riesz regression estimator satisfies balancing (moment-matching) optimality conditions in a user-chosen basis. The package provides a modulr interface for specifying (i) the target linear functional via a black-box evaluation oracle, (ii) the representer model via basis functions (polynomial, RKHS approximations, random forest leaf encodings, neural embeddings, and a nearest-neighbor catchment basis), and (iii) the Bregman generator, with optional user-supplied derivatives. It returns regression adjustment (RA), Riesz weighting (RW), augmented Riesz weighting (ARW), and TMLE-style estimators with cross-fitting, confidence intervals, and $p$-values. We highlight representative workflows for estimation problems such as the average treatment effect (ATE), ATE on treated (ATT), and average marginal effect estimation. The Python package is available at https://github.com/MasaKat0/genriesz and on PyPI.

📄 PDF Abstract BibTeX arXiv:2602.17543

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

A Unified Framework for Debiased Machine Learning: Riesz Representer Fitting under Bregman Divergence

2026-01-12 · Masahiro Kato arxiv

Estimating the Riesz representer is central to debiased machine learning for causal and structural parameter estimation. We propose generalized Riesz regression, a unified framework for estimating the Riesz representer b…

Tangent: Automatic Differentiation Using Source Code Transformation in Python

2017-11-07 · Bart van Merriënboer, Alexander B. Wiltschko, Dan Moldovan

Automatic differentiation (AD) is an essential primitive for machine learning programming systems. Tangent is a new library that performs AD using source code transformation (SCT) in Python. It takes numeric functions wr…

BIG-bench Machine Learning

libact: Pool-based Active Learning in Python

2017-10-01 · Yao-Yuan Yang, Shao-Chuan Lee, Yu-An Chung, Tung-En Wu 외

libact is a Python package designed to make active learning easier for general users. The package not only implements several popular active learning strategies, but also features the active-learning-by-learning meta-alg…

Active Learning

CausalML: Python Package for Causal Machine Learning

2020-02-25 · Huigang Chen, Totte Harinen, Jeong-Yoon Lee, Mike Yung 외

CausalML is a Python implementation of algorithms related to causal inference and machine learning. Algorithms combining causal inference and machine learning have been a trending topic in recent years. This package trie…

BIG-bench Machine LearningCausal Inference

ddml: Double/debiased machine learning in Stata

2023-01-23 · Achim Ahrens, Christian B. Hansen, Mark E. Schaffer, Thomas Wiemann

We introduce the package ddml for Double/Debiased Machine Learning (DDML) in Stata. Estimators of causal parameters for five different econometric models are supported, allowing for flexible estimation of causal effects …