add sparse grid interpolation #231
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push] | |
jobs: | |
linux-python: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.9] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
cd wheel | |
if [ `python --version 2>&1 | cut -c8` == "2" ]; then | |
pip install bbai-*-manylinux1_x86_64.whl | |
else | |
pip install bbai-*-manylinux1_x86_64.whl | |
fi | |
pip install pytest | |
pip install scikit-learn | |
pip install scipy | |
- name: Test Ridge Regression | |
run: | | |
python test/ridge_regression_test.py | |
- name: Test Logistic Regression | |
run: | | |
python test/binary_logistic_regression_test.py | |
- name: Test Logistic Regression MAP | |
run: | | |
python test/logistic_regression_map_test.py | |
- name: Test Multinomial Logistic Regression | |
run: | | |
python test/multinomial_logistic_regression_test.py | |
- name: Test Gaussian Process Regression MAP | |
run: | | |
python test/gaussian_process_regression_map_test.py | |
- name: Test Bayesian Gaussian Process Regression | |
run: | | |
python test/bayesian_gaussian_process_test.py | |
- name: Test Sparse Grid Interpolation | |
run: | | |
python test/sparse_grid_test.py |