Classification LSVC

statistics-classification_regression/classification-lsvc

Author(s)

version Version
6
last_modification Last updated
May 28, 2020
license License
None Specified, defaults to CC-BY-4.0
galaxy-tags Tags
ml
statistics

Features

Tutorial
hands_on Machine learning: classification and regression
workflow Other workflows associated with this material
Workflow Testing
Tests: ✅
Results: Not yet automated
FAIRness purl PURL
https://gxy.io/GTN:W00221
RO-Crate logo with flask Download Workflow RO-Crate Workflowhub cloud with gears logo View on WorkflowHub
Launch in Tutorial Mode question
galaxy-download Download
flowchart TD
  0["ℹ️ Input Dataset\nbreast-w_train"];
  style 0 stroke:#2c3143,stroke-width:4px;
  1["ℹ️ Input Dataset\nbreast-w_targets"];
  style 1 stroke:#2c3143,stroke-width:4px;
  2["ℹ️ Input Dataset\nbreast-w_test"];
  style 2 stroke:#2c3143,stroke-width:4px;
  3["Support vector machines SVMs"];
  0 -->|output| 3;
  0 -->|output| 3;
  4["Support vector machines SVMs"];
  2 -->|output| 4;
  3 -->|outfile_fit| 4;
  5["Plot confusion matrix, precision, recall and ROC and AUC curves"];
  3 -->|outfile_fit| 5;
  4 -->|outfile_predict| 5;
  1 -->|output| 5;
  0fac82f3-c1b2-482f-a31f-30b623a0f223["Output\noutput_roc"];
  5 --> 0fac82f3-c1b2-482f-a31f-30b623a0f223;
  style 0fac82f3-c1b2-482f-a31f-30b623a0f223 stroke:#2c3143,stroke-width:4px;
  431f3596-7b80-44f0-83ee-dda8c58e1e8c["Output\noutput_confusion"];
  5 --> 431f3596-7b80-44f0-83ee-dda8c58e1e8c;
  style 431f3596-7b80-44f0-83ee-dda8c58e1e8c stroke:#2c3143,stroke-width:4px;
  ab62de11-fa69-4d59-9ebe-d5d0562f3c18["Output\noutput_prf"];
  5 --> ab62de11-fa69-4d59-9ebe-d5d0562f3c18;
  style ab62de11-fa69-4d59-9ebe-d5d0562f3c18 stroke:#2c3143,stroke-width:4px;

Inputs

Input Label
Input dataset breast-w_train
Input dataset breast-w_targets
Input dataset breast-w_test

Outputs

From Output Label
Input dataset breast-w_train
Input dataset breast-w_targets
Input dataset breast-w_test
toolshed.g2.bx.psu.edu/repos/bgruening/sklearn_svm_classifier/sklearn_svm_classifier/1.0.8.1 Support vector machines (SVMs)
toolshed.g2.bx.psu.edu/repos/bgruening/plotly_ml_performance_plots/plotly_ml_performance_plots/0.1 Plot confusion matrix, precision, recall and ROC and AUC curves

Tools

Tool Links
toolshed.g2.bx.psu.edu/repos/bgruening/plotly_ml_performance_plots/plotly_ml_performance_plots/0.1 View in ToolShed
toolshed.g2.bx.psu.edu/repos/bgruening/sklearn_svm_classifier/sklearn_svm_classifier/1.0.8.1 View in ToolShed

To use these workflows in Galaxy you can either click the links to download the workflows, or you can right-click and copy the link to the workflow which can be used in the Galaxy form to import workflows.

Importing into Galaxy

Below are the instructions for importing these workflows directly into your Galaxy server of choice to start using them!
Hands-on: Importing a workflow
  • Click on Workflow on the top menu bar of Galaxy. You will see a list of all your workflows.
  • Click on galaxy-upload Import at the top-right of the screen
  • Provide your workflow
    • Option 1: Paste the URL of the workflow into the box labelled “Archived Workflow URL”
    • Option 2: Upload the workflow file in the box labelled “Archived Workflow File”
  • Click the Import workflow button

Below is a short video demonstrating how to import a workflow from GitHub using this procedure:

Video: Importing a workflow from URL

Version History

Version Commit Time Comments
6 906320105 2020-05-27 02:24:10 Add labels to workflow_outputs for classification_LSVC.ga, add test from usegalaxy-eu/workflow-testing
5 667ff3de9 2020-01-22 10:59:29 annotation
4 eb4d724e0 2020-01-15 10:41:35 Workflow renaming
3 9f881ab87 2020-01-09 16:52:34 checking ML tutorials, updating workflows
2 faf6d298a 2019-12-12 13:02:33 unflatten workflows
1 0ccef31bb 2019-06-17 21:55:56 Update workflows

For Admins

Installing the workflow tools

wget https://training.galaxyproject.org/training-material/topics/statistics/tutorials/classification_regression/workflows/classification_LSVC.ga -O workflow.ga
workflow-to-tools -w workflow.ga -o tools.yaml
shed-tools install -g GALAXY -a API_KEY -t tools.yaml
workflow-install -g GALAXY -a API_KEY -w workflow.ga --publish-workflows