This repository has been archived by the owner on Jul 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
Using additional packages #36
Comments
Hey Lucas. Thanks for bringing up the issue. Could you please mention which part/functionality of the |
I am using the import statsmodels.api as sm
...
class IclConsistencyTestAnli(Task):
"""Python implementation of the ICL consistency test task."""
...
@staticmethod
def _calculate_main_effects(X: ndarray, y: ndarray) -> Tuple[ndarray, ndarray]:
"""
:return:
"""
# Add a constant column to X for the intercept
X = sm.add_constant(X)
# Fit GLM
model = sm.GLM(y, X)
results = model.fit()
return results.params[1], results.pvalues[1] |
Hey @kazemnejad , |
Hey Lucas, Sorry for my late reply. Yes, we will add this dependency to the framework to support your task. Thanks.. |
No problem, thanks for letting me know! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hey GenBench team!
I was checking why the test on my PR (ICL-consistency test) failed and saw that it is due to an additional module (
statsmodels
) I am using.Is there a way of specifying requirements such that
statsmodels
will be automatically installed?Thanks a lot for your great work,
Lucas
The text was updated successfully, but these errors were encountered: