Skip to content

Commit

Permalink
inherit maq docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandrmgservices committed Dec 12, 2023
1 parent ccb84ad commit 8c07668
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions causalml/metrics/multiqini.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
from maq import MAQ, get_ipw_scores

# See https://github.com/grf-labs/maq/blob/master/python-package/maq/maq.py

def get_mq_ipw_scores(Y, W, W_hat=None):
"""Construct evaluation scores via inverse-propensity weighting.
See https://github.com/grf-labs/maq/blob/master/python-package/maq/maq.py
"""

def get_mq_ipw_scores(Y, W, W_hat=None):
return get_ipw_scores(Y, W, W_hat)


class MultiQini(MAQ):
"""Fit a Multi-Armed Qini.
See https://github.com/grf-labs/maq/blob/master/python-package/maq/maq.py
"""
get_mq_ipw_scores.__doc__ = get_ipw_scores.__doc__


class MultiQini(MAQ):
pass


MultiQini.__doc__ = MAQ.__doc__

0 comments on commit 8c07668

Please sign in to comment.