diff --git a/data/any_env2.py b/data/any_env2.py index fea01eee..53505039 100644 --- a/data/any_env2.py +++ b/data/any_env2.py @@ -119,9 +119,9 @@ class FreshEnvData(CustomData): # NOTE: Keep @wrap_create on a single line # NOTE: If want to share cache across recipes, can set cache_env=True and set id= # Below caches the env into "id" folder - # @wrap_create(pyversion="3.11", install_h2oaicore=False, install_datatable=True, modules_needed_by_name=["pandas==1.5.3"], cache_env=True, file=__file__, id="myrecipe12345") + # @wrap_create(pyversion="3.11", install_h2oaicore=False, install_datatable=True, modules_needed_by_name=["numpy==1.24.4", "pandas==1.5.3"], cache_env=True, file=__file__, id="myrecipe12345") # Below does not cache the env - @wrap_create(pyversion="3.11", install_h2oaicore=False, install_datatable=True, modules_needed_by_name=["pandas==1.5.3"], file=__file__) + @wrap_create(pyversion="3.11", install_h2oaicore=False, install_datatable=True, modules_needed_by_name=["numpy==1.24.4", "pandas==1.5.3"], file=__file__) def create_data(X=None): import os import datatable as dt @@ -133,7 +133,7 @@ def create_data(X=None): my_path = os.path.dirname(__file__) import pandas as pd - assert pd.__version__ == "1.1.5", "actual: %s" % pd.__version__ + assert pd.__version__ == "1.5.3", "actual: %s" % pd.__version__ url = "http://data.un.org/_Docs/SYB/CSV/SYB63_226_202009_Net%20Disbursements%20from%20Official%20ODA%20to%20Recipients.csv" import urllib.request diff --git a/data/any_env3.py b/data/any_env3.py index 608703b7..93366a38 100644 --- a/data/any_env3.py +++ b/data/any_env3.py @@ -10,9 +10,9 @@ class FreshEnvData(CustomData): # NOTE: Keep @wrap_create on a single line # NOTE: If want to share cache across recipes, can set cache_env=True and set id= # Below caches the env into "id" folder - # @wrap_create(pyversion="3.11", install_h2oaicore=False, install_datatable=True, modules_needed_by_name=["pandas==1.5.3"], cache_env=True, file=__file__, id="myrecipe12345") + # @wrap_create(pyversion="3.11", install_h2oaicore=False, install_datatable=True, modules_needed_by_name=["numpy==1.24.4", "pandas==1.5.3"], cache_env=True, file=__file__, id="myrecipe12345") # Below does not cache the env - @wrap_create(pyversion="3.11", install_h2oaicore=False, install_datatable=True, modules_needed_by_name=["pandas==1.5.3"], file=__file__) + @wrap_create(pyversion="3.11", install_h2oaicore=False, install_datatable=True, modules_needed_by_name=["numpy==1.24.4", "pandas==1.5.3"], file=__file__) def create_data(X=None): import os import datatable as dt @@ -24,7 +24,7 @@ def create_data(X=None): my_path = os.path.dirname(__file__) import pandas as pd - assert pd.__version__ == "1.1.5", "actual: %s" % pd.__version__ + assert pd.__version__ == "1.5.3", "actual: %s" % pd.__version__ url = "http://data.un.org/_Docs/SYB/CSV/SYB63_226_202009_Net%20Disbursements%20from%20Official%20ODA%20to%20Recipients.csv" import urllib.request diff --git a/data/any_env4.py b/data/any_env4.py index ae612d1b..6257b161 100644 --- a/data/any_env4.py +++ b/data/any_env4.py @@ -6,10 +6,10 @@ class FreshEnvData(CustomData): # Specify the python package dependencies. Will be installed in order of list # Below caches the env into "id" folder - # isolate_env = dict(pyversion="3.11", install_h2oaicore=False, install_datatable=True, modules_needed_by_name=["pandas==1.5.3"], cache_env=True, id="myrecipe12345") + # isolate_env = dict(pyversion="3.11", install_h2oaicore=False, install_datatable=True, modules_needed_by_name=["numpy==1.24.4", "pandas==1.5.3"], cache_env=True, id="myrecipe12345") # Below does not cache the env isolate_env = dict(pyversion="3.11", install_h2oaicore=False, install_datatable=True, - modules_needed_by_name=["pandas==1.5.3"]) + modules_needed_by_name=["numpy==1.24.4", "pandas==1.5.3"]) @staticmethod def create_data(X=None): @@ -23,7 +23,7 @@ def create_data(X=None): my_path = os.path.dirname(__file__) import pandas as pd - assert pd.__version__ == "1.1.5", "actual: %s" % pd.__version__ + assert pd.__version__ == "1.5.3", "actual: %s" % pd.__version__ url = "http://data.un.org/_Docs/SYB/CSV/SYB63_226_202009_Net%20Disbursements%20from%20Official%20ODA%20to%20Recipients.csv" import urllib.request diff --git a/data/feature_selection_backward.py b/data/feature_selection_backward.py index 296956e8..edaa9916 100644 --- a/data/feature_selection_backward.py +++ b/data/feature_selection_backward.py @@ -30,7 +30,7 @@ class BackwardFeatureSelection(CustomData): - _modules_needed_by_name = ["mlxtend"] + _modules_needed_by_name = ["mlxtend==0.23.4"] @staticmethod def create_data(X: dt.Frame = None) -> pd.DataFrame: diff --git a/data/feature_selection_bidirectional.py b/data/feature_selection_bidirectional.py index 541e07dc..d9525cfa 100644 --- a/data/feature_selection_bidirectional.py +++ b/data/feature_selection_bidirectional.py @@ -30,7 +30,7 @@ class BidirectionalFeatureSelection(CustomData): - _modules_needed_by_name = ["mlxtend"] + _modules_needed_by_name = ["mlxtend==0.23.4"] @staticmethod def create_data(X: dt.Frame = None) -> pd.DataFrame: diff --git a/data/feature_selection_exhaustive.py b/data/feature_selection_exhaustive.py index 753d19bd..ad7d0a53 100644 --- a/data/feature_selection_exhaustive.py +++ b/data/feature_selection_exhaustive.py @@ -32,7 +32,7 @@ class ExhaustiveFeatureSelection(CustomData): - _modules_needed_by_name = ["mlxtend"] + _modules_needed_by_name = ["mlxtend==0.23.4"] @staticmethod def create_data(X: dt.Frame = None) -> pd.DataFrame: diff --git a/data/feature_selection_forward.py b/data/feature_selection_forward.py index b609ec89..2c171961 100644 --- a/data/feature_selection_forward.py +++ b/data/feature_selection_forward.py @@ -30,7 +30,7 @@ class ForwardFeatureSelection(CustomData): - _modules_needed_by_name = ["mlxtend"] + _modules_needed_by_name = ["mlxtend==0.23.4"] @staticmethod def create_data(X: dt.Frame = None) -> pd.DataFrame: