Skip to content
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Example of workflow trigger for calling workflow (the client).
name: ci-dev-NEW
name: ci-dev
on:
pull_request:
branches: ["dev"]
push:
branches: ["dev"]
jobs:
ci:
uses: qiime2/distributions/.github/workflows/lib-ci-dev-NEW.yaml@dev
uses: qiime2/distributions/.github/workflows/lib-ci-dev.yaml@dev
with:
distro: amplicon
recipe-path: 'conda-recipe'
14 changes: 0 additions & 14 deletions q2_sample_classifier/classify.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,13 +291,6 @@ def fit_regressor(table: biom.Table,
n_jobs, optimize_feature_selection, parameter_tuning,
missing_samples=missing_samples, classification=False)

# this is sorted by the first column rather than 'importance' because
# the column name isn't consistent across methods - so this is the least
# invasive way to preserve order with the first column (which does
# contain the importance values)
importance = importance.sort_values(by=importance.columns[0],
ascending=False, kind='mergesort')

return estimator, importance


Expand Down Expand Up @@ -369,13 +362,6 @@ def regress_samples_ncv(
stratify, parameter_tuning, classification=False,
scoring=mean_squared_error, missing_samples=missing_samples)

# this is sorted by the first column rather than 'importance' because
# the column name isn't consistent across methods - so this is the least
# invasive way to preserve order with the first column (which does
# contain the importance values)
importances = importances.sort_values(by=importances.columns[0],
ascending=False, kind='mergesort')

return y_pred, importances


Expand Down
Loading
Loading