[Feature] Add Least Angle Regression #1337
This file contains hidden or 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
| on: [push, pull_request] | |
| name: Run Tests | |
| jobs: | |
| testing: | |
| name: testing-${{ matrix.toolchain }}-${{ matrix.os }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| toolchain: | |
| - 1.87.0 | |
| - stable | |
| os: | |
| - ubuntu-latest | |
| - windows-latest | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@master | |
| - name: Install toolchain | |
| uses: dtolnay/rust-toolchain@master | |
| with: | |
| toolchain: ${{ matrix.toolchain }} | |
| - name: Update ndarray to 0.16.1 (temporary workaround to avoid pulling ndarray 0.17.1) | |
| run: cargo update -p ndarray:0.17.1 --precise 0.16.1 | |
| - name: Run cargo test | |
| run: cargo test --release --workspace | |
| testing-blas: | |
| name: testing-with-BLAS-${{ matrix.toolchain }}-${{ matrix.os }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| toolchain: | |
| - 1.87.0 | |
| - stable | |
| os: | |
| - ubuntu-latest | |
| - windows-latest | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@master | |
| - name: Install toolchain | |
| uses: dtolnay/rust-toolchain@master | |
| with: | |
| toolchain: ${{ matrix.toolchain }} | |
| - name: Update ndarray to 0.16.1 (temporary workaround to avoid pulling ndarray 0.17.1) | |
| run: cargo update -p ndarray:0.17.1 --precise 0.16.1 | |
| - name: Run cargo test with BLAS enabled | |
| run: cargo test --release --workspace --features intel-mkl-static,linfa-ica/blas,linfa-reduction/blas,linfa-linear/blas,linfa-preprocessing/blas,linfa-pls/blas,linfa-elasticnet/blas |