Skip to content

Commit

Permalink
Merge pull request #4428 from kxk302/updated-DL-workflows
Browse files Browse the repository at this point in the history
Updated 2 workflows and tutorials to use the latest version of Galaxy-ML
  • Loading branch information
hexylena authored Oct 17, 2023
2 parents 46b04fb + f33b7db commit 373c662
Show file tree
Hide file tree
Showing 8 changed files with 775 additions and 992 deletions.
11 changes: 5 additions & 6 deletions topics/statistics/tutorials/FNN/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ dataset has 723 training examples, and our test dataset has 242 test examples. I
> <hands-on-title>Model config</hands-on-title>
>
> - {% tool [Create a deep learning model architecture](toolshed.g2.bx.psu.edu/repos/bgruening/keras_model_config/keras_model_config/0.5.0) %}
> - {% tool [Create a deep learning model architecture](toolshed.g2.bx.psu.edu/repos/bgruening/keras_model_config/keras_model_config/1.0.10.0) %}
> - *"Select keras model type"*: `sequential`
> - *"input_shape"*: `(5,)`
> - In *"LAYER"*:
Expand All @@ -366,7 +366,7 @@ layers use ReLU activation function. The model config can be downloaded as a JSO
> <hands-on-title>Model builder (Optimizer, loss function, and fit parameters)</hands-on-title>
>
> - {% tool [Create deep learning model](toolshed.g2.bx.psu.edu/repos/bgruening/keras_model_builder/keras_model_builder/0.5.0) %}
> - {% tool [Create deep learning model](toolshed.g2.bx.psu.edu/repos/bgruening/keras_model_builder/keras_model_builder/1.0.10.0) %}
> - *"Choose a building mode"*: `Build a training model`
> - *"Select the dataset containing model configuration"*: Select the *Keras Model Config* from the previous step.
> - *"Do classification or regression?"*: `KerasGRegressor`
Expand All @@ -391,7 +391,7 @@ batch_size decides the size of this subset (which we set to 50). The model build
> <hands-on-title>Training the model</hands-on-title>
>
> - {% tool [Deep learning training and evaluation](toolshed.g2.bx.psu.edu/repos/bgruening/keras_train_and_eval/keras_train_and_eval/1.0.8.3) %}
> - {% tool [Deep learning training and evaluation](toolshed.g2.bx.psu.edu/repos/bgruening/keras_train_and_eval/keras_train_and_eval/1.0.10.0) %}
> - *"Select a scheme"*: `Train and Validate`
> - *"Choose the dataset containing pipeline/estimator object"*: Select the *Keras Model Builder* from the previous step.
> - *"Select input type:"*: `tabular data`
Expand All @@ -406,14 +406,13 @@ batch_size decides the size of this subset (which we set to 50). The model build
>
{: .hands_on}
The training step generates 3 datasets. 1) accuracy of the trained model, 2) the trained model, downloadable as a zip file, and 3) the trained
model weights, downloadable as an hdf5 file. These files are needed for prediction in the next step.
The training step generates 2 datasets. 1) accuracy of the trained model, 2) the trained model, in h5mlm format. These files are needed for prediction in the next step.
## Model Prediction
> <hands-on-title>Testing the model</hands-on-title>
>
> - {% tool [Model Prediction](toolshed.g2.bx.psu.edu/repos/bgruening/model_prediction/model_prediction/1.0.8.3) %}
> - {% tool [Model Prediction](toolshed.g2.bx.psu.edu/repos/bgruening/model_prediction/model_prediction/1.0.10.0) %}
> - *"Choose the dataset containing pipeline/estimator object"* : Select the trained model from the previous step.
> - *"Choose the dataset containing weights for the estimator above"* : Select the trained model weights from the previous step.
> - *"Select invocation method"*: `predict`
Expand Down
Loading

0 comments on commit 373c662

Please sign in to comment.