# HG changeset patch # User q2d2 # Date 1661804757 0 # Node ID e3547924b96de88927a6219cf0d3d1f6b4ed52f6 planemo upload for repository https://github.com/qiime2/galaxy-tools/tree/main/tools/suite_qiime2__sample_classifier commit 9023cfd83495a517fbcbb6f91d5b01a6f1afcda1 diff -r 000000000000 -r e3547924b96d qiime2__sample_classifier__classify_samples_from_dist.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/qiime2__sample_classifier__classify_samples_from_dist.xml Mon Aug 29 20:25:57 2022 +0000 @@ -0,0 +1,128 @@ + + + + + Run k-nearest-neighbors on a labeled distance matrix. + + quay.io/qiime2/core:2022.8 + + q2galaxy version sample_classifier + q2galaxy run sample_classifier classify_samples_from_dist '$inputs' + + + + + + + + + hasattr(value.metadata, "semantic_type") and value.metadata.semantic_type in ['DistanceMatrix'] + + + + + + + + + + value != "1" + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + +QIIME 2: sample-classifier classify-samples-from-dist +===================================================== +Run k-nearest-neighbors on a labeled distance matrix. + + +Outputs: +-------- +:predictions.qza: leave one out predictions for each sample +:accuracy_results.qzv: Accuracy results visualization. + +| + +Description: +------------ +Run k-nearest-neighbors on a labeled distance matrix. Return cross-validated (leave one out) predictions and accuracy. k = 1 by default + + +| + + + + 10.21105/joss.00934 + @article{cite2, + author = {Pedregosa, Fabian and Varoquaux, Gaël and Gramfort, Alexandre and Michel, Vincent and Thirion, Bertrand and Grisel, Olivier and Blondel, Mathieu and Prettenhofer, Peter and Weiss, Ron and Dubourg, Vincent and Vanderplas, Jake and Passos, Alexandre and Cournapeau, David and Brucher, Matthieu and Perrot, Matthieu and Duchesnay, Édouard}, + journal = {Journal of machine learning research}, + number = {Oct}, + pages = {2825--2830}, + title = {Scikit-learn: Machine learning in Python}, + volume = {12}, + year = {2011} +} + + 10.1038/s41587-019-0209-9 + +
diff -r 000000000000 -r e3547924b96d test-data/.gitkeep