Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scikit learn instructions #6

Merged
merged 2 commits into from
Feb 17, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,20 @@
│   └── validation-tests
└── train.sh
```

### Installing a new version of scikit-learn in a production release of QIIME 2

```bash
ssh [email protected]
module load anaconda
wget https://data.qiime2.org/distro/core/qiime2-$RELEASE-py36-linux-conda.yml
conda env create -n qiime2-$RELEASE-sklearn --file qiime2-$RELEASE-py36-linux-conda.yml
conda activate qiime2-$RELEASE-sklearn
conda remove q2-feature-classifier
git clone https://github.com/qiime2/q2-feature-classifier
cd q2-feature-classifier
make install
conda install -c conda-forge -c bioconda -c defaults scikit-learn=$VERSION
conda install pytest
make test
```