# ml_regression

statistics-regression_machinelearning/ml-regression

Author(s)
Anup Kumar
version Version
1
last_modification Last updated
May 21, 2024
MIT
galaxy-tags Tags
statistics
regression
ml

Features

Tutorial
hands_on Regression in Machine Learning

Workflow Testing
Tests: ✅
Results: Not yet automated
FAIRness purl PURL
https://gxy.io/GTN:W00229
Launch in Tutorial Mode question
```flowchart TD
0["ℹ️ Input Dataset\ntrain_rows"];
style 0 stroke:#2c3143,stroke-width:4px;
1["ℹ️ Input Dataset\ntest_rows_labels"];
style 1 stroke:#2c3143,stroke-width:4px;
2["ℹ️ Input Dataset\ntest_rows"];
style 2 stroke:#2c3143,stroke-width:4px;
3["Pipeline Builder"];
4["Generalized linear models"];
0 -->|output| 4;
0 -->|output| 4;
5["Ensemble methods"];
0 -->|output| 5;
0 -->|output| 5;
6["Remove beginning"];
1 -->|output| 6;
7["Hyperparameter Search"];
3 -->|outfile| 7;
0 -->|output| 7;
0 -->|output| 7;
8["Generalized linear models"];
2 -->|output| 8;
4 -->|outfile_fit| 8;
9["Ensemble methods"];
2 -->|output| 9;
5 -->|outfile_fit| 9;
10["Ensemble methods"];
2 -->|output| 10;
7 -->|outfile_object| 10;
11["Plot actual vs predicted curves and residual plots"];
6 -->|out_file1| 11;
8 -->|outfile_predict| 11;
12["Plot actual vs predicted curves and residual plots"];
1 -->|output| 12;
9 -->|outfile_predict| 12;
13["Plot actual vs predicted curves and residual plots"];
1 -->|output| 13;
10 -->|outfile_predict| 13;```

## Inputs

Input Label
Input dataset train_rows
Input dataset test_rows_labels
Input dataset test_rows

## Outputs

From Output Label

## Tools

Remove beginning1
toolshed.g2.bx.psu.edu/repos/bgruening/plotly_regression_performance_plots/plotly_regression_performance_plots/0.1 View in ToolShed
toolshed.g2.bx.psu.edu/repos/bgruening/sklearn_build_pipeline/sklearn_build_pipeline/1.0.11.0 View in ToolShed
toolshed.g2.bx.psu.edu/repos/bgruening/sklearn_ensemble/sklearn_ensemble/1.0.11.0 View in ToolShed
toolshed.g2.bx.psu.edu/repos/bgruening/sklearn_generalized_linear/sklearn_generalized_linear/1.0.11.0 View in ToolShed
toolshed.g2.bx.psu.edu/repos/bgruening/sklearn_searchcv/sklearn_searchcv/1.0.11.0 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
• 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:

## Version History

```wget https://training.galaxyproject.org/training-material/topics/statistics/tutorials/regression_machinelearning/workflows/ml_regression.ga -O workflow.ga