Machine Learning

statistics-machinelearning/machine-learning

Author(s)

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

Features

Tutorial
hands_on Basics of machine learning

Workflow Testing
Tests: ✅
Results:
FAIRness purl PURL
https://gxy.io/GTN:W00228
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_test"];
  style 1 stroke:#2c3143,stroke-width:4px;
  2["Support vector machines SVMs"];
  0 -->|output| 2;
  0 -->|output| 2;
  3["Support vector machines SVMs"];
  1 -->|output| 3;
  2 -->|outfile_fit| 3;
  03e30beb-fc01-4184-8649-057c13bb626a["Output\noutfile_predict"];
  3 --> 03e30beb-fc01-4184-8649-057c13bb626a;
  style 03e30beb-fc01-4184-8649-057c13bb626a stroke:#2c3143,stroke-width:4px;

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
5 6f18e04f0 2020-05-27 00:51:40 Add workflow_outputs to machine_learning.ga for testing, add a test
4 667ff3de9 2020-01-22 10:59:29 annotation
3 eb4d724e0 2020-01-15 10:41:35 Workflow renaming
2 9f881ab87 2020-01-09 16:52:34 checking ML tutorials, updating workflows
1 b6985b949 2019-02-21 10:32:40 workflow for machine_learning

For Admins

Installing the workflow tools

wget https://training.galaxyproject.org/training-material/topics/statistics/tutorials/machinelearning/workflows/machine_learning.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