diff --git a/.github/workflows/pytest_10.yml b/.github/workflows/pytest_10.yml index 09923a7..feefc02 100644 --- a/.github/workflows/pytest_10.yml +++ b/.github/workflows/pytest_10.yml @@ -23,6 +23,7 @@ jobs: sudo apt-get update sudo apt-get install libmlpack-dev sudo apt-get install libopenblas-dev + sudo apt-get install python3-dev pip install -r requirements.txt pip install mypy pip install pytest diff --git a/.github/workflows/pytest_contamination.yml b/.github/workflows/pytest_contamination.yml index 7d423c8..583b05f 100644 --- a/.github/workflows/pytest_contamination.yml +++ b/.github/workflows/pytest_contamination.yml @@ -23,6 +23,7 @@ jobs: sudo apt-get update sudo apt-get install libmlpack-dev sudo apt-get install libopenblas-dev + sudo apt-get install python3-dev pip install -r requirements.txt pip install mypy pip install pytest diff --git a/.github/workflows/pytest_imp_cdrec.yml b/.github/workflows/pytest_imp_cdrec.yml index 2022331..cb926c9 100644 --- a/.github/workflows/pytest_imp_cdrec.yml +++ b/.github/workflows/pytest_imp_cdrec.yml @@ -24,6 +24,7 @@ jobs: sudo apt-get update sudo apt-get install libmlpack-dev sudo apt-get install libopenblas-dev + sudo apt-get install python3-dev pip install -r requirements.txt pip install mypy pip install pytest diff --git a/.github/workflows/pytest_imp_iim.yml b/.github/workflows/pytest_imp_iim.yml index c98f37e..fda47b0 100644 --- a/.github/workflows/pytest_imp_iim.yml +++ b/.github/workflows/pytest_imp_iim.yml @@ -24,6 +24,7 @@ jobs: sudo apt-get update sudo apt-get install libmlpack-dev sudo apt-get install libopenblas-dev + sudo apt-get install python3-dev pip install -r requirements.txt pip install mypy pip install pytest diff --git a/.github/workflows/pytest_imp_mrnn.yml b/.github/workflows/pytest_imp_mrnn.yml index 554916f..93c8e27 100644 --- a/.github/workflows/pytest_imp_mrnn.yml +++ b/.github/workflows/pytest_imp_mrnn.yml @@ -24,6 +24,7 @@ jobs: sudo apt-get update sudo apt-get install libmlpack-dev sudo apt-get install libopenblas-dev + sudo apt-get install python3-dev pip install -r requirements.txt pip install mypy pip install pytest diff --git a/.github/workflows/pytest_imp_stmvl.yml b/.github/workflows/pytest_imp_stmvl.yml index d3ae743..0b1c4be 100644 --- a/.github/workflows/pytest_imp_stmvl.yml +++ b/.github/workflows/pytest_imp_stmvl.yml @@ -24,6 +24,7 @@ jobs: sudo apt-get update sudo apt-get install libmlpack-dev sudo apt-get install libopenblas-dev + sudo apt-get install python3-dev pip install -r requirements.txt pip install mypy pip install pytest diff --git a/.github/workflows/pytest_loading.yml b/.github/workflows/pytest_loading.yml index 7e98ac4..00c13df 100644 --- a/.github/workflows/pytest_loading.yml +++ b/.github/workflows/pytest_loading.yml @@ -23,6 +23,7 @@ jobs: sudo apt-get update sudo apt-get install libmlpack-dev sudo apt-get install libopenblas-dev + sudo apt-get install python3-dev pip install -r requirements.txt pip install mypy pip install pytest diff --git a/.github/workflows/pytest_opt_cdrec.yml b/.github/workflows/pytest_opt_cdrec.yml new file mode 100644 index 0000000..0a8340a --- /dev/null +++ b/.github/workflows/pytest_opt_cdrec.yml @@ -0,0 +1,33 @@ + +name: Pytest - ImputeGAP - OPT - CDREC - 8 + +on: + push: + pull_request: + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + with: + lfs: true + + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: '3.8' + + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install libmlpack-dev + sudo apt-get install libopenblas-dev + sudo apt-get install python3-dev + pip install -r requirements.txt + pip install mypy + pip install pytest + + - name: Run pytest + run: python -m pytest ./tests/test_opti_bayesian_cdrec.py \ No newline at end of file diff --git a/.github/workflows/pytest_opt_iim.yml b/.github/workflows/pytest_opt_iim.yml new file mode 100644 index 0000000..d2a5238 --- /dev/null +++ b/.github/workflows/pytest_opt_iim.yml @@ -0,0 +1,33 @@ + +name: Pytest - ImputeGAP - OPT - IIM - 8 + +on: + push: + pull_request: + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + with: + lfs: true + + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: '3.8' + + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install libmlpack-dev + sudo apt-get install libopenblas-dev + sudo apt-get install python3-dev + pip install -r requirements.txt + pip install mypy + pip install pytest + + - name: Run pytest + run: python -m pytest ./tests/test_opti_bayesian_iim.py \ No newline at end of file diff --git a/.github/workflows/pytest_opt_mrnn.yml b/.github/workflows/pytest_opt_mrnn.yml new file mode 100644 index 0000000..cc1e3eb --- /dev/null +++ b/.github/workflows/pytest_opt_mrnn.yml @@ -0,0 +1,33 @@ + +name: Pytest - ImputeGAP - OPT - MRNN - 8 + +on: + push: + pull_request: + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + with: + lfs: true + + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: '3.8' + + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install libmlpack-dev + sudo apt-get install libopenblas-dev + sudo apt-get install python3-dev + pip install -r requirements.txt + pip install mypy + pip install pytest + + - name: Run pytest + run: python -m pytest ./tests/test_opti_bayesian_mrnn.py \ No newline at end of file diff --git a/.github/workflows/pytest_opt_stmvl.yml b/.github/workflows/pytest_opt_stmvl.yml new file mode 100644 index 0000000..16b17e1 --- /dev/null +++ b/.github/workflows/pytest_opt_stmvl.yml @@ -0,0 +1,33 @@ + +name: Pytest - ImputeGAP - OPT - STMVL - 8 + +on: + push: + pull_request: + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + with: + lfs: true + + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: '3.8' + + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install libmlpack-dev + sudo apt-get install libopenblas-dev + sudo apt-get install python3-dev + pip install -r requirements.txt + pip install mypy + pip install pytest + + - name: Run pytest + run: python -m pytest ./tests/test_opti_bayesian_stmvl.py \ No newline at end of file diff --git a/.github/workflows/pytest_shap_explainer.yml b/.github/workflows/pytest_shap_explainer.yml index d27ff93..5b19e13 100644 --- a/.github/workflows/pytest_shap_explainer.yml +++ b/.github/workflows/pytest_shap_explainer.yml @@ -24,6 +24,7 @@ jobs: sudo apt-get update sudo apt-get install libmlpack-dev sudo apt-get install libopenblas-dev + sudo apt-get install python3-dev pip install -r requirements.txt pip install mypy pip install pytest diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 2f0cbbd..b7b3821 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,29 +2,22 @@ - - - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - + + + + + + - - @@ -218,7 +211,7 @@ - + @@ -242,7 +235,7 @@ - + diff --git a/README.md b/README.md index 11c06b7..47fb212 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -![My Logo](assets/imputegab_logo.png) +![My Logo](assets/logo_imputegab.png) # Welcome to ImputeGAP ImputeGAP is a unified framework for imputation algorithms that provides a narrow-waist interface between algorithm evaluation and parameterization for datasets issued from various domains ranging from neuroscience, medicine, climate to energy. diff --git a/assets/imputegab_logo.png b/assets/logo_imputegab.png similarity index 100% rename from assets/imputegab_logo.png rename to assets/logo_imputegab.png diff --git a/imputegap/contamination/README.md b/imputegap/contamination/README.md index 511262f..4cbcb9f 100644 --- a/imputegap/contamination/README.md +++ b/imputegap/contamination/README.md @@ -1,4 +1,4 @@ -![My Logo](../../assets/imputegab_logo.png) +![My Logo](../../assets/logo_imputegab.png) # Scenarios diff --git a/tests/__pycache__/test_opti_bayesian_iim.cpython-312.pyc b/tests/__pycache__/test_opti_bayesian_iim.cpython-312.pyc new file mode 100644 index 0000000..efdcba2 Binary files /dev/null and b/tests/__pycache__/test_opti_bayesian_iim.cpython-312.pyc differ diff --git a/tests/test_opti_bayesian_cdrec.py b/tests/test_opti_bayesian_cdrec.py index 4a0a19f..60dad9b 100644 --- a/tests/test_opti_bayesian_cdrec.py +++ b/tests/test_opti_bayesian_cdrec.py @@ -57,5 +57,5 @@ def test_optimization_bayesian_cdrec(self): Optimization.save_optimization(optimal_params=optimal_params, algorithm=algorithm+"_test") - self.assertTrue(metrics_optimal["RMSE"] > metrics_default["RMSE"], True) + self.assertTrue(metrics_optimal["RMSE"] > metrics_default["RMSE"], True, f"Expected {metrics_optimal['RMSE']} > {metrics_default['RMSE']}") self.assertTrue(yi > 0, True) \ No newline at end of file