MCPcopy Create free account

hub / github.com/Netflix-Skunkworks/oci-agent / functions

Functions115 in github.com/Netflix-Skunkworks/oci-agent

Functionextract_avg_propensity_scores
Cross-fitted (out-of-fold) propensity scores from an EconML DR-style estimator. Each row's prediction comes from the fold model whose trainin
oci_agent/backends/econml_helpers.py:174
Functionextract_feature_importances_from_econml_models
Average feature importances across EconML cross-fitted nuisance models. Parameters ---------- models_nested : nested list Ex
oci_agent/backends/econml_helpers.py:36
Methodfit
(self, X, y, sample_weight=None)
oci_agent/backends/estimators.py:125
Functionis_probably_continuous
Heuristically determine whether a pandas Series is probably continuous. This avoids scanning the full column by using at most `sample_size`
oci_agent/backends/utils.py:239
Methodis_satisfactory
Derived bool: True iff no enabled estimand is `not_satisfactory`.
oci_agent/critic.py:82
Functionmake_nuisance_design_matrix
Construct the covariate matrix used by EconML nuisance models. If both X and W are supplied, EconML nuisance models generally use the co
oci_agent/backends/econml_helpers.py:7
Functionmake_numeric_ml_dataframe
Convert a mixed-type pandas DataFrame into a fully numeric DataFrame. Parameters ---------- df : pd.DataFrame Input datafram
oci_agent/backends/utils.py:8
Methodpredict
(self, X)
oci_agent/backends/estimators.py:162
Functionprint_contrast
Partition by a boolean cut and print two-row tables per estimand.
evals/smoketest/judge.py:191
Functionrun
Inject `spec` parameters into the notebook's top configuration cell, append a results serialization cell that writes results.json, execute the
oci_agent/nb_runner.py:53
Functionstandardized_mean_differences
Compute standardized mean differences for binary treatment. SMD = (mean_treated - mean_control) / pooled_sd
oci_agent/backends/utils.py:136
Functionsummarize
(cate_hat, alpha=0.05)
oci_agent/backends/utils.py:127
Functiontrim_by_propensity
(ps, T, lower=0.01, upper=0.99)
oci_agent/backends/utils.py:354
Functionweighted_standardized_mean_differences
Compute weighted standardized mean differences for binary treatment.
oci_agent/backends/utils.py:189
Methodworst_satisfaction
Worst tier across enabled estimands — handy for one-line summaries.
oci_agent/critic.py:87
← previous101–115 of 115, ranked by callers