Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make datatype h5_model for machine leaning models #11825

Merged
merged 4 commits into from May 4, 2021

Conversation

qiagu
Copy link
Contributor

@qiagu qiagu commented Apr 12, 2021

What did you do?

  • [describe the proposed changes]
  • Add a new datatype h5_model

Why did you make this change?

(Cite Issue number OR provide rationalization of changes if no issue exists)
(If fixing a bug, please add any relevant error or traceback)

How to test the changes?

(select the most appropriate option; if the latter, provide steps for testing below)

  • I've included appropriate automated tests.
  • This is a refactoring of components with existing test coverage.
  • Instructions for manual testing are as follows:
    1. [add testing steps and prerequisites here if you didn't write automated tests covering all your changes]

License

For UI Components

  • I've included a screenshot of the changes

@qiagu
Copy link
Contributor Author

qiagu commented Apr 13, 2021

Peek the model
image

@qiagu qiagu changed the title Make datatype h5_model for machine leaning models [WIP] Make datatype h5_model for machine leaning models Apr 13, 2021
@qiagu
Copy link
Contributor Author

qiagu commented Apr 13, 2021

Dynamic options for the hyperparameters are wanted.
The hyperparameter block could be as large as a few KBs. I wonder whether it's a good idea to store it in metadata directly instead of a file (FileParameter)?

@qiagu qiagu changed the title [WIP] Make datatype h5_model for machine leaning models Make datatype h5_model for machine leaning models Apr 22, 2021
@qiagu qiagu closed this Apr 22, 2021
@qiagu qiagu reopened this Apr 22, 2021
@@ -3519,6 +3519,11 @@ used to generate dynamic options.
<xs:documentation xml:lang="en">Documentation for startswith</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="meta_file_key" type="xs:string">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you separate out the meta_file_key changes, I assume that's handled in #11832 ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's right. Once the meta_file_key implemented in #11832 gets merged into Galaxy, dynamic options can be made using the metadata FileParameter, hyper_params specifically, of H5MLM.

@mvdbeek mvdbeek merged commit 591d9d0 into galaxyproject:dev May 4, 2021
@qiagu
Copy link
Contributor Author

qiagu commented May 4, 2021

@mvdbeek Thanks for merging!

@qiagu qiagu deleted the h5_model branch May 5, 2021 06:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants